DatabaseDriver class abstract interface

Mixed in types

Constructors

DatabaseDriver.init(DatabaseConnection dbConn)
factory

Properties

blueprint TableBlueprint
no setter
hashCode int
The hash code for this object.
no setterinherited
isOpen bool
Check if the database is open for operation
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serializer → PrimitiveSerializer
no setterinherited
type DatabaseDriverType
no setterinherited
typeconverters List<EntityTypeConverter>
no setterinherited

Methods

connect({int? maxConnections, bool? singleConnection}) Future<DatabaseDriver>
delete(DeleteQuery query) Future<void>
Perform delete on the database
inherited
disconnect() Future<void>
execute(String script) Future
Execute scripts on the database.
inherited
hasTable(String tableName) Future<bool>
check if the table exists in the database
insert(InsertQuery query) Future
Perform insert on the database
inherited
insertMany(InsertManyQuery query) Future
Perform insert on the database
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
query(Query query) Future<List<Map<String, dynamic>>>
Perform query on the database
inherited
rawQuery(String script) Future<List<Map<String, dynamic>>>
Perform raw query on the database.
inherited
toString() String
A string representation of this object.
inherited
transaction(void transaction(DriverTransactor transactor)) Future<void>
update(UpdateQuery query) Future<void>
Perform update on the database
inherited

Operators

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