Entity<TModel extends Model> class

Implemented types

Constructors

Entity(String table)

Properties

columns List<Column>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
relations List<Relation>
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
table String
getter/setter pair

Methods

column({required String name, required DataTypeInterface type, bool? unique}) → dynamic
init() Future<void>
override
insert(Map<String, dynamic> values) Future<Result>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
relation({required String name, required Entity<Model> entity}) → dynamic
select() SelectQuery<Model>
override
toString() String
A string representation of this object.
inherited
update() → UpdateQuery
override

Operators

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