JdbFactoryIdb class
In memory jdb.
- Implemented types
Constructors
- JdbFactoryIdb(IdbFactory idbFactory)
- Idb factory
Properties
-
databases
→ Map<
String, List< JdbDatabaseIdb> > -
Keep track of open databases.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- idbFactory → IdbFactory
-
The idb factory used
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
checkAllClosed(
) → void - Stop if all databases are closed
-
delete(
String path) → Future< void> -
Delete a database
override
-
exists(
String path) → Future< bool> -
Check if a database exists
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notifyRevision(
NotificationRevision notificationRevision) → void - Notify other app (web only))
-
open(
String path, DatabaseOpenOptions? options) → Future< JdbDatabase> -
Open the database.
override
-
start(
) → void - Start (listeners), one db is opened.
-
stop(
) → void - Stop (listeners), alls dbs closed.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited