SQLiteDriver class

Inheritance

Constructors

SQLiteDriver(DatabaseConnection connection)

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.
latefinalinherited
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.
latefinalinherited
logging bool
no setteroverride
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.
latefinalinherited

Methods

delete(String query, [List bindings = const []]) Future<int>
Run a delete query Throws ArgumentError if length of bindings is not equal number of placeholders in query.
override
drop(String table) String
override
dropIfExists(String table) String
override
executeAlterBlueprint(Blueprint blueprint) → void
inherited
executeBlueprint(Blueprint blueprint) String
override
initBlueprint(String name, bool modify) Blueprint
override
insert(String query, [List bindings = const []]) bool
Run an insert query. Throws ArgumentError if length of bindings is not equal number of placeholders in query.
override
insertGetId(String query, [List bindings = const []]) Future<int>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
queryBuilder([String? table]) QueryBuilder
override
renameTable(String from, String to) String
override
select(String query, [List bindings = const []]) RecordSet
Run a select statement
override
statement(String query, [List bindings = const []]) bool
Run an SQL statement.
override
toString() String
A string representation of this object.
inherited
unprepared(String query) bool
Run an unprepared query.
override
update(String query, [List bindings = const []]) Future<int>
Run an update query.
override

Operators

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