DatabaseExecutor class

Common API for Database and Transaction to execute SQL commands





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


batch() Batch
Creates a batch, used for performing multiple operation in a single atomic operation. [...]
delete(String table, {String where, List whereArgs}) Future<int>
Convenience method for deleting rows in the database. [...]
execute(String sql, [List arguments]) Future<void>
Execute an SQL query with no return value
insert(String table, Map<String, dynamic> values, {String nullColumnHack, ConflictAlgorithm conflictAlgorithm}) Future<int>
INSERT helper
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
query(String table, {bool distinct, List<String> columns, String where, List whereArgs, String groupBy, String having, String orderBy, int limit, int offset}) Future<List<Map<String, dynamic>>>
Helper to query a table [...]
rawDelete(String sql, [List arguments]) Future<int>
Executes a raw SQL DELETE query [...]
rawInsert(String sql, [List arguments]) Future<int>
Execute a raw SQL INSERT query [...]
rawQuery(String sql, [List arguments]) Future<List<Map<String, dynamic>>>
Execute a raw SQL SELECT query [...]
rawUpdate(String sql, [List arguments]) Future<int>
Execute a raw SQL UPDATE query [...]
toString() String
A string representation of this object. [...]
update(String table, Map<String, dynamic> values, {String where, List whereArgs, ConflictAlgorithm conflictAlgorithm}) Future<int>
Convenience method for updating rows in the database. [...]


operator ==(Object other) bool
The equality operator. [...]