DBHandlerMySql class

Implemented types

Constructors

DBHandlerMySql()

Properties

databasePath ↔ String
getter/setter pairoverride
hashCode → int
The hash code for this object.
no setterinherited
logQuery ↔ bool
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

createTable(String tableName, Map<String, dynamic> fields) → Future
deleteConditionedRecords({String table = "", String condition = ""}) → Future<Map<String, dynamic>>
override
executeActionQuery({required String query, required int action, List? values}) → Future<Map<String, dynamic>>
override
executeQuery(String query) → dynamic
override
fetchQueryRecords({String query = "", String fetchMode = "LIST", Map<String, List<String>> formatColumns = const {}}) → Future<Map<String, dynamic>>
override
getAllData(String tableName) → Future
getConnectionObject() → Future<MySqlConnection?>
override
insertData(String tableName, Map<String, dynamic> fields) → Future
insertRecords({required String table, required Map<String, dynamic> values, Map<String, dynamic> userDefinedFunctions = const {}}) → Future<Map<String, dynamic>>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
selectData(String tableName, String key, String value) → Future
setDatabase(String host, String db) → void
override
toString() → String
A string representation of this object.
inherited
updateConditionedRecords({required String table, required Map<String, dynamic> values, Map<String, dynamic> userDefinedFunctions = const {}, String condition = ""}) → Future<Map<String, dynamic>>
override

Operators

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

Static Properties

actionDelete ↔ int
getter/setter pair
actionInsert ↔ int
getter/setter pair
actionUpdate ↔ int
getter/setter pair
mySqlConnection ↔ MySqlConnection?
getter/setter pair

Static Methods

autoConfigHandler() → dynamic