Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
aggregateQuery(String table, {required List<String> groupBy, required Map<String, String> aggregations, String? where, List<Object?>? whereArgs, String? having, String? orderBy, int? limit, int? offset})
→ Future<List<Map<String, Object?>>>
-
-
avg(String table, String column, {String? where, List<Object?>? whereArgs})
→ Future<double?>
-
-
closeSqliteDatabase()
→ Future<JobDone>
-
-
count(String table, {String? where, List<Object?>? whereArgs})
→ Future<int>
-
-
countRows(String table)
→ Future<int>
-
-
delete(String table, {String? where, List<Object?>? whereArgs})
→ Future<bool>
-
-
deleteSqliteDatabase()
→ Future<JobDone>
-
-
excuteRawQuery(String sql, [List<Object?>? arguments])
→ Future<JobDone>
-
Executes a raw SQL query with optional arguments and returns
a Future that completes with a JobDone object.
-
executeBatch(void operations(SqfliteBatch batch), {bool? exclusive, bool? noResult, bool? continueOnError})
→ Future<List<Object?>>
-
-
insert(String table, Map<String, Object?> values, {String? nullColumnHack, ConflictAlgorithm conflictAlgorithm})
→ Future<bool>
-
-
max(String table, String column, {String? where, List<Object?>? whereArgs})
→ Future<Object?>
-
-
min(String table, String column, {String? where, List<Object?>? whereArgs})
→ Future<Object?>
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
openSqliteDatabase({int databaseVersion = 1, OnCreate? onCreate, OnUpgrade? onUpgrade, OnDowngrade? onDowngrade, bool readOnly = false})
→ Future<JobDone>
-
-
rawDelete(String sql, [List<Object?>? arguments])
→ Future<int>
-
-
rawInsert(String sql, [List<Object?>? arguments])
→ Future<int>
-
-
rawQuery(String sql, [List<Object?>? arguments])
→ Future<List<Map<String, Object?>>>
-
-
rawUpdate(String sql, [List<Object?>? arguments])
→ Future<int>
-
-
read(String table, {bool? distinct, List<String>? columns, String? where, List<Object?>? whereArgs, String? groupBy, String? having, String? orderBy, int? limit, int? offset})
→ Future<List<Map<String, Object?>>>
-
-
readFirst(String table, {bool? distinct, List<String>? columns, String? where, List<Object?>? whereArgs, String? groupBy, String? having, String? orderBy, int? limit, int? offset})
→ Future<Map<String, Object?>>
-
-
sum(String table, String column, {String? where, List<Object?>? whereArgs})
→ Future<double?>
-
-
toString()
→ String
-
A string representation of this object.
inherited
-
transaction<T>(Future<T> action(Transaction txn))
→ Future<T>
-
-
update(String table, Map<String, Object?> values, {String? where, List<Object?>? whereArgs, ConflictAlgorithm? conflictAlgorithm})
→ Future<bool>
-