DatabaseTransactionBase<TABLES extends TablesBase> class Null safety

Constructors

DatabaseTransactionBase(PostgreSQLExecutionContext _conn, TABLES tables)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
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 non-existent 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