DBDriver class abstract
- Implementers
Constructors
- DBDriver()
Properties
- deleteMutex → DBMutex
-
Database delete mutex that allows deletes to be run in
sequence so number of affected rows don't get mixed up
since we use a single connection to the database.
latefinal
- hashCode → int
-
The hash code for this object.
no setterinherited
- insertMutex → DBMutex
-
Database insert mutex that allows inserts to be run in
sequence so lastInsertIds don't get mixed up since we
use a single connection to the database.
latefinal
- logging → bool
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- updateMutex → DBMutex
-
Database update mutex that allows updates to be run in
sequence so number of affected rows don't get mixed up
since we use a single connection to the database.
latefinal
Methods
-
delete(
String query, [List bindings = const []]) → Future< int> - Execute a delete query
-
drop(
String table) → String -
dropIfExists(
String table) → String -
executeAlterBlueprint(
Blueprint blueprint) → void -
executeBlueprint(
Blueprint blueprint) → String -
initBlueprint(
String name, bool modify) → Blueprint -
insert(
String query, [List bindings = const []]) → bool - Execute an insert query
-
insertGetId(
String query, [List bindings = const []]) → Future< int> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
queryBuilder(
[String? table]) → QueryBuilder -
renameTable(
String from, String to) → String -
select(
String query, [List bindings = const []]) → RecordSet? - Execute a select query
-
statement(
String query, [List bindings = const []]) → bool - Execute a query
-
toString(
) → String -
A string representation of this object.
inherited
-
unprepared(
String query) → bool - Execute an unprepared query
-
update(
String query, [List bindings = const []]) → Future< int> - Execute an update query
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited