Sql class

Main DSL class to create SQL statements

Constructors

Sql()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

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