EventBusDatabaseHelper<T extends DatabaseExecutor> class
Methods
-
delete(int id)
→ Future<int>
-
delete removes the row specified by the id. The number of affected rows is
returned. This should be 1 as long as the row exists.
inherited
-
firstIntValue(List<Map<String, Object?>> list)
→ int?
-
inherited
-
insert(Map<String, dynamic> row)
→ Future<int>
-
inserts
a row in the database where each key in the Map is a column name
and the value is the column value. The return value is the id of the
inserted row.
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
parseInt(Object? object)
→ int?
-
Try to convert anything (int, String) to an int.
inherited
-
queryAllRows()
→ Future<List<Map<String, dynamic>>>
-
queryAllRows fetches of the rows are returned as a list of maps, where each map is
a key-value list of columns.
inherited
-
queryRowCount()
→ Future<int?>
-
queryRowCount fetches of the methods (insert, query, update, delete) can also be done using
raw SQL commands. This method uses a raw query to give the row count.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited