DatabaseBridgeSqfliteServiceImpl class

Implemented types

Constructors

DatabaseBridgeSqfliteServiceImpl({required String databaseFileName, ConflictAlgorithm defaultConflictAlgorithm = ConflictAlgorithm.ignore})

Properties

database ↔ Database?
getter/setter pair
databaseFileName String
final
defaultConflictAlgorithm → ConflictAlgorithm
final
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?>>>
override
avg(String table, String column, {String? where, List<Object?>? whereArgs}) Future<double?>
override
closeSqliteDatabase() Future<JobDone>
override
count(String table, {String? where, List<Object?>? whereArgs}) Future<int>
override
countRows(String table) Future<int>
override
delete(String table, {String? where, List<Object?>? whereArgs}) Future<bool>
override
deleteSqliteDatabase() Future<JobDone>
override
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.
override
executeBatch(void operations(SqfliteBatch batch), {bool? exclusive, bool? noResult, bool? continueOnError}) Future<List<Object?>>
override
insert(String table, Map<String, Object?> values, {String? nullColumnHack, ConflictAlgorithm? conflictAlgorithm}) Future<bool>
override
max(String table, String column, {String? where, List<Object?>? whereArgs}) Future<Object?>
override
min(String table, String column, {String? where, List<Object?>? whereArgs}) Future<Object?>
override
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>
override
rawDelete(String sql, [List<Object?>? arguments]) Future<int>
override
rawInsert(String sql, [List<Object?>? arguments]) Future<int>
override
rawQuery(String sql, [List<Object?>? arguments]) Future<List<Map<String, Object?>>>
override
rawUpdate(String sql, [List<Object?>? arguments]) Future<int>
override
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?>>>
override
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?>>
override
sum(String table, String column, {String? where, List<Object?>? whereArgs}) Future<double?>
override
toString() String
A string representation of this object.
inherited
transaction<T>(Future<T> action(Transaction txn)) Future<T>
override
update(String table, Map<String, Object?> values, {String? where, List<Object?>? whereArgs, ConflictAlgorithm? conflictAlgorithm}) Future<bool>
override

Operators

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