Table class
Constructors
-
Table(String name, AbsDatabase database, List<
DbColumn> fields)
Properties
- db ↔ AbsDatabase
-
latefinalinherited
-
fields
↔ List<
DbColumn> -
getter/setter pair
-
fieldsInfo
↔ List<
FieldInfo> -
getter/setter pairinherited-setteroverride-getter
-
FKs
↔ List<
_ForeignKey> -
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- Id → IntColumn
-
no setter
- name ↔ String
-
latefinalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addFKto(
Table table, String name, {bool allowNull = false, bool unique = false, IntegrityRule onUpdate = IntegrityRule.cascade, IntegrityRule onDelete = IntegrityRule.cascade}) → IntColumn - adds a new fk to the table and adds the field to fields list, specifying it's name in the db
-
createCommand(
) → String -
the text of the sql command that will create the object in the database
override
-
CrossJoin(
Queryable t, Expr on) → JoinTable -
inherited
-
InnerJoin(
Queryable t, Expr on) → JoinTable -
inherited
-
LeftJoin(
Queryable t, Expr on) → JoinTable -
inherited
-
nextId(
DbContext dbc) → int -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
OuterJoin(
Queryable t, Expr on) → JoinTable -
inherited
-
RightJoin(
Queryable t, Expr on) → JoinTable -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited