Adapter<ConnType> class

Adapter interface that must be implemented to support new databases




connection → ConnType
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


alter(Alter statement) → Future<void>
close() → Future<void>
Closes the connection
connect() → Future<void>
Makes a new connection to database
createDatabase(CreateDb statement) → Future<void>
Create the database
createTable(Create statement) → Future<void>
Creates the table
dropDb(DropDb st) → Future<void>
Drops tables from database
dropTable(Drop st) → Future<void>
Drops tables from database
find(Find statement) → Future<List<Map>>
Returns a list of rows found by executing statement
findOne(Find statement) → Future<Map>
Returns a row found by executing statement
insert<T>(Insert statement) → Future<T>
Executes the insert statement and returns the primary key of inserted row
insertMany<T>(InsertMany statement) → Future<void>
Executes the insert statement for many element
parseValue<T>(dynamic v) → T
Parses values coming from database into Dart values
remove(Remove statement) → Future<int>
Deletes the requested row
update(Update statement) → Future<int>
Updates the row and returns the number of rows updated
updateMany(UpdateMany statement) → Future<void>
Updates many rows
upsert<T>(Upsert statement) → Future<T>
Executes the insert or update statement and returns the primary key of inserted row
upsertMany<T>(UpsertMany statement) → Future<void>
Executes bulk insert or update statement
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.