Sql class

Main DSL class to create SQL statements




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


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
toString() → String
Returns a string representation of this object.


operator ==(dynamic other) → bool
The equality operator.

Static Methods

create(String table, { bool ifNotExists: false }) Create
Returns a new Create statement
createDb(String database) CreateDb
Returns a new CreateDb statement
drop(String table, { bool onlyIfExists: false }) Drop
Returns a new Drop statement
dropDb(String database) DropDb
find(String table, { String alias }) Find
Creates a new Find statement
insert(String table) Insert
Creates a new Insert statement
insertMany(String table) InsertMany
Creates a new InsertMany statement
remove(String table) Remove
Creates a new Delete statement
update(String table, { Expression where }) Update
Creates a new Update statement
updateMany(String table) UpdateMany
Creates a new UpdateMany statement
upsert(String table) Upsert
Creates a new Upsert statement
upsertMany(String table) UpsertMany
Creates a new UpsertMany statement