SQLiteWrapperCore class

Unused stub implementation just to keep the compiler happy

Inheritance
Implementers

Constructors

SQLiteWrapperCore()

Properties

debugMode bool
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

closeDB({String? dbName}) → void
Close the Database
inherited
delete(Map<String, dynamic> map, String table, {required List<String> keys, String? dbName}) Future<int>
DELETE the item building the SQL query using the table and the id passed
inherited
execute(String sql, {List<String>? tables, List<Object?> params = const [], String? dbName}) Future?
Executes an SQL Query with no return value params - an optional list of parameters to pass to the query tables - an optional list of tables affected by the query
inherited
fixBoolParams(List<Object?> params) → dynamic
Convert boolean in integer (true = 1 - false = 0)
inherited
getDatabase({String? dbName}) → dynamic
Database accessible from outside (map the internal db instance)
inherited
getVersion({String? dbName}) Future<int>
inherited
insert(Map<String, dynamic> map, String table, {String? dbName}) Future<int>
Insert a new record in the passed table based on the map object and return the new id
inherited
isWeb() bool
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openDB(String path, {int version = 0, OnCreate? onCreate, OnUpgrade? onUpgrade, String? dbName}) Future<DatabaseInfo>
Open the Database and returns true if the Database has been created
override
query(String sql, {List<Object?> params = const [], FromMap? fromMap, bool singleResult = false, String? dbName}) Future
Executes an SQL Query that return a single value params - an optional list of parameters to pass to the query fromMap - a function that convert the result map to the returned object singleResult - return an object instead of a list of objects
inherited
save(Map<String, dynamic> map, String table, {List<String>? keys, String? dbName}) Future<int>
inherited
setVersion(int version, {String? dbName}) Future<void>
inherited
toString() String
A string representation of this object.
inherited
update(Map<String, dynamic> map, String table, {required List<String> keys, String? dbName}) Future<int>
inherited
updateStreams(List<String>? tables) Future<void>
Update all the streams connected to one of the table in the list
inherited
watch(String sql, {List<Object?> params = const [], FromMap? fromMap, bool singleResult = false, required List<String> tables, String? dbName}) Stream
Executes an SQL Query that return a single value params - an optional list of parameters to pass to the query fromMap - a function that convert the result map to the returned object singleResult - return an object instead of a list of objects
inherited

Operators

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