Dart SDK
dart:indexed_db
IdbFactory
class
IdbFactory
Static Properties
Properties
Methods
Static properties
supported
Properties
supportsDatabaseNames
Methods
open
deleteDatabase
getDatabaseNames
cmp
(Not documented.)
Annotations
DomName('IDBFactory')
SupportedBrowser(SupportedBrowser.CHROME)
SupportedBrowser(SupportedBrowser.FIREFOX, '15')
SupportedBrowser(SupportedBrowser.IE, '10')
Experimental()
Unstable()
Static Properties
bool
supported
read-only
Checks to see if Indexed DB is supported on the current platform.
Properties
bool
supportsDatabaseNames
read-only
Checks to see if getDatabaseNames is supported by the current platform.
Methods
open
(
String
name
, {
int
version
,
void
onUpgradeNeeded
(
VersionChangeEvent
)
,
void
onBlocked
(
Event
)
}) →
Future
<
Database
>
deleteDatabase
(
String
name
, {
void
onBlocked
(
Event
)
}) →
Future
<
IdbFactory
>
getDatabaseNames
(
) →
Future
<
List
<
String
>>
cmp
(
Object
first
,
Object
second
) →
int