DatabaseManager class
Properties
-
database
→ Database
-
no setter
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
clearTable({required String tableName})
→ Future<int>
-
-
closeDatabase()
→ Future<bool>
-
-
create({required String tableName, required String tableColumns})
→ Future<void>
-
-
delete({required String tableName, required String whereKey, required String whereValue})
→ Future<void>
-
-
dropTable({required String tableName})
→ Future<void>
-
-
getQueryFromMap(Map<String, dynamic> tableMap)
→ String
-
-
getTableData({required String tableName})
→ Future<List<Map<String, Object?>>>
-
-
init()
→ Future<void>
-
-
insertOne({required String tableName, required Map<String, dynamic> tableMap})
→ Future<bool>
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
-
updateMany({required String tableName, required Map<String, dynamic> tableMap})
→ Future<bool>
-
-
updateOne({required String tableName, required Map<String, dynamic> tableMap, required String whereString})
→ Future<bool>
-