copyRows method

Future<int> copyRows(
  1. String table,
  2. List<String> columns,
  3. Iterable<List<Object?>> rows, {
  4. String? schema,
  5. int? timeoutInSeconds,
})

PostgreSQLConnection.copyRows com uma conexão do pool.

Implementation

Future<int> copyRows(
        String table, List<String> columns, Iterable<List<Object?>> rows,
        {String? schema, int? timeoutInSeconds}) =>
    _core.use((c) => c.copyRows(table, columns, rows,
        schema: schema, timeoutInSeconds: timeoutInSeconds));