SqliteWrapperInterface class abstract
- Implementers
Constructors
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
-
closeDB(
{String? dbName}) → void - Close the Database
-
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
-
getDatabase(
{String? dbName}) → dynamic - Database accessible from outside (map the internal db instance)
-
getVersion(
{String? dbName}) → Future< int> -
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, bool useGRPC = false}) → Future< DatabaseInfo> - Open the Database and returns true if the Database has been created
-
setVersion(
int version, {String? dbName}) → Future< void> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited