InsertQuery class

Base class for an insert query.

Takes the generated code table from a StanzaEntity.

Constructors

InsertQuery(Table table)

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
substitutionValues → Map<String, dynamic>
read-only, inherited
table Table
read-only, inherited

Methods

fork() InsertQuery
Reproduce a partial query to use in a loop or other dynamic pattern.
insert(Field field, dynamic value) → void
Insert a value into a field.
insertEntity<T>(T entity) → void
Insert a complete StanzaEntity into the database.
statement({bool pretty: false }) → String
addSubstitution(ValueSub sub) → void
inherited
importSubstitutionValues(Map<String, dynamic> subs) → void
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() → String
Print a query to the console.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator. [...]
inherited