SqliteDatabas class

Implemented types

Constructors

SqliteDatabas(String _databaseName, {String? path, bool isDeleteDB = true, OnDatabaseConfigureFn? onConfigure, OnDatabaseCreateFn? onCreate, OnDatabaseVersionChangeFn? onDowngrade, OnDatabaseVersionChangeFn? onUpgrade, OnDatabaseOpenFn? onOpen, List<Map<TableName, SqliteUpdateConditions>> updateMap = const []})

Properties

databaseName String
no setteroverride
databasePath String?
no setteroverride
db ↔ Database?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isDeleteDB bool
getter/setter pair
onConfigure ↔ OnDatabaseConfigureFn?
getter/setter pair
onCreate ↔ OnDatabaseCreateFn?
getter/setter pair
onDowngrade ↔ OnDatabaseVersionChangeFn?
getter/setter pair
onOpen ↔ OnDatabaseOpenFn?
getter/setter pair
onUpgrade ↔ OnDatabaseVersionChangeFn?
getter/setter pair
path String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
updateMap List<Map<TableName, SqliteUpdateConditions>>
getter/setter pair

Methods

deleteDB() bool
每次清空db数据和文件
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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