PostgreSQLExecutionContext class abstract
- Implementers
- Available extensions
Constructors
Properties
Methods
-
cancelTransaction(
{String? reason}) → void - Cancels a transaction on this context.
-
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
-
execute(
String fmtString, {dynamic substitutionValues, int? timeoutInSeconds, PlaceholderIdentifier placeholderIdentifier = PlaceholderIdentifier.atSign}) → Future< int> - Executes a query on this context.
-
mappedResultsQuery(
String fmtString, {dynamic substitutionValues, bool? allowReuse, int? timeoutInSeconds, PlaceholderIdentifier placeholderIdentifier = PlaceholderIdentifier.atSign}) → Future< List< Map< >String, Map< >String, dynamic> > - Executes a query on this connection and returns each row as a Map.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
query(
String fmtString, {dynamic substitutionValues, bool? allowReuse, int? timeoutInSeconds, bool? useSimpleQueryProtocol, PlaceholderIdentifier placeholderIdentifier = PlaceholderIdentifier.atSign}) → Future< PostgreSQLResult> - Executes a query on this context.
-
queryAsMap(
String fmtString, {dynamic substitutionValues, bool? allowReuse, int? timeoutInSeconds, PlaceholderIdentifier placeholderIdentifier = PlaceholderIdentifier.atSign}) → Future< List< Map< >String, dynamic> > - Executes a query on this connection and returns each row as a Map.
-
queryStream(
String fmtString, {dynamic substitutionValues, PlaceholderIdentifier placeholderIdentifier = PlaceholderIdentifier.atSign, int fetchSize = 1000, int? timeoutInSeconds}) → Stream< PostgreSQLResultRow> -
Available on PostgreSQLExecutionContext, provided by the PgQueryStreamExecutionContext extension
-
savepoint<
T> (Future< T> block(PostgreSQLExecutionContext ctx)) → Future<T> -
Available on PostgreSQLExecutionContext, provided by the PgSavepointExecutionContext extension
Executablockdentro de umSAVEPOINTda transação atual. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited