Table<KeyType> class

Constructors

Table({required List<Column> columns, required String name, List<Join> childJoins = const [], List<String> groupProperties = const [], String additionalSql = "", bool withoutRowId = false})
Table.columns(String name, List<Column> columns, [List<Join> childJoins = const []])
factory

Properties

additionalSql → String
final
childJoins → List<Join>
final
columns → List<Column>
final
groupProperties → List<String>
final
hashCode → int
The hash code for this object.
no setterinherited
hasReferences → bool
no setter
name → String
final
primaryKey → PrimaryKey
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tableName → String
no setter
withoutRowId → bool
final

Methods

buildInnerJoins(Table parentTable) → String
buildInsertStatement({Iterable<String>? columnNames, ConflictAlgorithm onConflict = ConflictAlgorithm.abort}) → String
This builds an insert statement It takes in the values as a list to assert the order. If not provided order cannot be guaranteed
groupBy(List<String> groupProperties) → Table
innerJoin<T extends Table>(T joinee, Query on) → Table
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
queryString(Query query) → String
tableIdQuery() → String
toDbTable(SqlliteDatabase database) → DbTable<KeyType>
toSql() → String
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

builder(String name) → TableBuilder