PgCopyExecutionContext extension
COPY em qualquer PostgreSQLExecutionContext de uma PostgreSQLConnection, inclusive o contexto recebido em PostgreSQLConnection.transaction. Os métodos estão documentados em PostgreSQLConnection.copyFrom, PostgreSQLConnection.copyTo e PostgreSQLConnection.copyRows.
Methods
-
copyFrom(
String sql, Stream< List< data, {dynamic substitutionValues, PlaceholderIdentifier placeholderIdentifier = PlaceholderIdentifier.atSign, int? timeoutInSeconds}) → Future<int> >int> -
Available on PostgreSQLExecutionContext, provided by the PgCopyExecutionContext extension
-
copyRows(
String table, List< String> columns, Iterable<List< rows, {String? schema, int? timeoutInSeconds}) → Future<Object?> >int> -
Available on PostgreSQLExecutionContext, provided by the PgCopyExecutionContext extension
-
copyTo(
String sql, void onData(Uint8List data), {dynamic substitutionValues, PlaceholderIdentifier placeholderIdentifier = PlaceholderIdentifier.atSign, int? timeoutInSeconds}) → Future< int> -
Available on PostgreSQLExecutionContext, provided by the PgCopyExecutionContext extension