DbTable<KeyType> class

Constructors

DbTable(QueryExecutor database, Table<KeyType> table)
const

Properties

database → QueryExecutor
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
table → Table<KeyType>
final

Methods

batch(void executor(BatchTable batch)) → Future<void>
delete(Query query) → Future<int>
Returns number of rows affected
deleteId(KeyType id) → Future<int>
groupBy(List<String> groupProperties) → DbTable
idQuery() → PartialQuery
innerJoin(DbTable joinee, Query on) → DbTable
insert(RawData value, {ConflictAlgorithm conflictAlgorithm = ConflictAlgorithm.abort}) → Future<KeyType>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
query(Query query) → Future<List<RawData>>
single(KeyType id) → Query
toString() → String
A string representation of this object.
inherited
update(Map<String, Object?> values, Query query) → Future<int>
updateId(Map<String, Object?> values, KeyType id) → Future<int>
watch(Query query) → Stream<List<RawData>>
withConverter<T>(Converter<T> converter) → DbTableWithConverter<KeyType, T>

Operators

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