DatabaseTransactionBase<TABLES extends TablesBase> class

Constructors

DatabaseTransactionBase(PostgreSQLExecutionContext _conn, TABLES tables)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tables → TABLES
final

Methods

execute(String fmtString, {Map<String, Object?>? values, int? timeoutInSeconds, int? expectedResultCount, bool useExtendedQuery = false}) Future<int>
executeInsert(String table, Map<String, Object?> values, {OnConflictAction? onConflict}) Future<int>
executeUpdate(String table, {required Map<String, Object?> set, required Map<String, Object> where, bool setContainsOptional = false}) Future<int>
flattenOptionals(Map<String, Object?> values) Map<String, Object?>
Removes entries in values which have a null value, and replaces all Optional values with their actual value.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
query(String fmtString, {Map<String, Object?>? values, bool allowReuse = true, int? timeoutInSeconds}) Future<PostgreSQLResult>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

columnNamePattern RegExp
final