Polkadot Apps
Preparing search index...
@polkadot-apps/storage
Dexie
Interface Dexie
interface
Dexie
{
_allTables
:
{
[
name
:
string
]:
Table
<
any
,
IndexableType
,
any
>
}
;
_createTransaction
:
(
this
:
Dexie
,
mode
:
IDBTransactionMode
,
storeNames
:
ArrayLike
<
string
>
,
dbschema
:
DbSchema
,
parentTransaction
?:
Transaction
|
null
,
)
=>
Transaction
;
_dbSchema
:
DbSchema
;
_novip
:
Dexie
;
_options
:
DexieOptions
;
Collection
:
{
prototype
:
Collection
}
;
core
:
DBCore
;
name
:
string
;
on
:
DbEvents
;
once
:
DbEventFns
;
Table
:
{
prototype
:
Table
}
;
tables
:
Table
<
any
,
any
,
any
>
[]
;
Transaction
:
{
prototype
:
Transaction
}
;
verno
:
number
;
Version
:
Function
&
{
prototype
:
ExtendableVersion
}
;
vip
:
Dexie
;
WhereClause
:
{
prototype
:
WhereClause
}
;
backendDB
()
:
IDBDatabase
;
close
(
closeOptions
?:
{
disableAutoOpen
:
boolean
}
)
:
void
;
delete
(
closeOptions
?:
{
disableAutoOpen
:
boolean
}
)
:
PromiseExtended
<
void
>
;
dynamicallyOpened
()
:
boolean
;
hasBeenClosed
()
:
boolean
;
hasFailed
()
:
boolean
;
isOpen
()
:
boolean
;
open
()
:
PromiseExtended
<
Dexie
>
;
table
<
T
=
any
,
TKey
=
IndexableType
,
TInsertType
=
T
>
(
tableName
:
string
,
)
:
Table
<
T
,
TKey
,
TInsertType
>
;
transaction
<
U
>
(
mode
:
TransactionMode
,
tables
:
readonly
(
string
|
Table
<
any
,
any
,
any
>
)
[]
,
scope
:
(
trans
:
Transaction
)
=>
U
|
PromiseLike
<
U
>
,
)
:
PromiseExtended
<
U
>
;
transaction
<
U
>
(
mode
:
TransactionMode
,
table
:
string
|
Table
<
any
,
any
,
any
>
,
scope
:
(
trans
:
Transaction
)
=>
U
|
PromiseLike
<
U
>
,
)
:
PromiseExtended
<
U
>
;
transaction
<
U
>
(
mode
:
TransactionMode
,
table
:
string
|
Table
<
any
,
any
,
any
>
,
table2
:
string
|
Table
<
any
,
any
,
any
>
,
scope
:
(
trans
:
Transaction
)
=>
U
|
PromiseLike
<
U
>
,
)
:
PromiseExtended
<
U
>
;
transaction
<
U
>
(
mode
:
TransactionMode
,
table
:
string
|
Table
<
any
,
any
,
any
>
,
table2
:
string
|
Table
<
any
,
any
,
any
>
,
table3
:
string
|
Table
<
any
,
any
,
any
>
,
scope
:
(
trans
:
Transaction
)
=>
U
|
PromiseLike
<
U
>
,
)
:
PromiseExtended
<
U
>
;
transaction
<
U
>
(
mode
:
TransactionMode
,
table
:
string
|
Table
<
any
,
any
,
any
>
,
table2
:
string
|
Table
<
any
,
any
,
any
>
,
table3
:
string
|
Table
<
any
,
any
,
any
>
,
table4
:
string
|
Table
<
any
,
any
,
any
>
,
scope
:
(
trans
:
Transaction
)
=>
U
|
PromiseLike
<
U
>
,
)
:
PromiseExtended
<
U
>
;
transaction
<
U
>
(
mode
:
TransactionMode
,
table
:
string
|
Table
<
any
,
any
,
any
>
,
table2
:
string
|
Table
<
any
,
any
,
any
>
,
table3
:
string
|
Table
<
any
,
any
,
any
>
,
table5
:
string
|
Table
<
any
,
any
,
any
>
,
scope
:
(
trans
:
Transaction
)
=>
U
|
PromiseLike
<
U
>
,
)
:
PromiseExtended
<
U
>
;
unuse
(
__namedParameters
:
Middleware
<
{
stack
:
"dbcore"
}
>
)
:
this
;
unuse
(
__namedParameters
:
{
name
:
string
;
stack
:
"dbcore"
}
)
:
this
;
use
(
middleware
:
Middleware
<
DBCore
>
)
:
this
;
version
(
versionNumber
:
number
)
:
Version
;
}
Index
Properties
_
all
Tables
_
create
Transaction
_
db
Schema
_
novip
_
options
Collection
core
name
on
once
Table
tables
Transaction
verno
Version
vip
Where
Clause
Methods
backend
DB
close
delete
dynamically
Opened
has
Been
Closed
has
Failed
is
Open
open
table
transaction
unuse
use
version
Properties
Readonly
_
all
Tables
_allTables
:
{
[
name
:
string
]:
Table
<
any
,
IndexableType
,
any
>
}
_
create
Transaction
_createTransaction
:
(
this
:
Dexie
,
mode
:
IDBTransactionMode
,
storeNames
:
ArrayLike
<
string
>
,
dbschema
:
DbSchema
,
parentTransaction
?:
Transaction
|
null
,
)
=>
Transaction
_
db
Schema
_dbSchema
:
DbSchema
Readonly
_
novip
_novip
:
Dexie
Readonly
_
options
_options
:
DexieOptions
Collection
Collection
:
{
prototype
:
Collection
}
Readonly
core
core
:
DBCore
Readonly
name
name
:
string
on
on
:
DbEvents
once
once
:
DbEventFns
Table
Table
:
{
prototype
:
Table
}
Readonly
tables
tables
:
Table
<
any
,
any
,
any
>
[]
Transaction
Transaction
:
{
prototype
:
Transaction
}
Readonly
verno
verno
:
number
Version
Version
:
Function
&
{
prototype
:
ExtendableVersion
}
Readonly
vip
vip
:
Dexie
Where
Clause
WhereClause
:
{
prototype
:
WhereClause
}
Methods
backend
DB
backendDB
()
:
IDBDatabase
Returns
IDBDatabase
close
close
(
closeOptions
?:
{
disableAutoOpen
:
boolean
}
)
:
void
Parameters
Optional
closeOptions
:
{
disableAutoOpen
:
boolean
}
Returns
void
delete
delete
(
closeOptions
?:
{
disableAutoOpen
:
boolean
}
)
:
PromiseExtended
<
void
>
Parameters
Optional
closeOptions
:
{
disableAutoOpen
:
boolean
}
Returns
PromiseExtended
<
void
>
dynamically
Opened
dynamicallyOpened
()
:
boolean
Returns
boolean
has
Been
Closed
hasBeenClosed
()
:
boolean
Returns
boolean
has
Failed
hasFailed
()
:
boolean
Returns
boolean
is
Open
isOpen
()
:
boolean
Returns
boolean
open
open
()
:
PromiseExtended
<
Dexie
>
Returns
PromiseExtended
<
Dexie
>
table
table
<
T
=
any
,
TKey
=
IndexableType
,
TInsertType
=
T
>
(
tableName
:
string
,
)
:
Table
<
T
,
TKey
,
TInsertType
>
Type Parameters
T
=
any
TKey
=
IndexableType
TInsertType
=
T
Parameters
tableName
:
string
Returns
Table
<
T
,
TKey
,
TInsertType
>
transaction
transaction
<
U
>
(
mode
:
TransactionMode
,
tables
:
readonly
(
string
|
Table
<
any
,
any
,
any
>
)
[]
,
scope
:
(
trans
:
Transaction
)
=>
U
|
PromiseLike
<
U
>
,
)
:
PromiseExtended
<
U
>
Type Parameters
U
Parameters
mode
:
TransactionMode
tables
:
readonly
(
string
|
Table
<
any
,
any
,
any
>
)
[]
scope
:
(
trans
:
Transaction
)
=>
U
|
PromiseLike
<
U
>
Returns
PromiseExtended
<
U
>
transaction
<
U
>
(
mode
:
TransactionMode
,
table
:
string
|
Table
<
any
,
any
,
any
>
,
scope
:
(
trans
:
Transaction
)
=>
U
|
PromiseLike
<
U
>
,
)
:
PromiseExtended
<
U
>
Type Parameters
U
Parameters
mode
:
TransactionMode
table
:
string
|
Table
<
any
,
any
,
any
>
scope
:
(
trans
:
Transaction
)
=>
U
|
PromiseLike
<
U
>
Returns
PromiseExtended
<
U
>
transaction
<
U
>
(
mode
:
TransactionMode
,
table
:
string
|
Table
<
any
,
any
,
any
>
,
table2
:
string
|
Table
<
any
,
any
,
any
>
,
scope
:
(
trans
:
Transaction
)
=>
U
|
PromiseLike
<
U
>
,
)
:
PromiseExtended
<
U
>
Type Parameters
U
Parameters
mode
:
TransactionMode
table
:
string
|
Table
<
any
,
any
,
any
>
table2
:
string
|
Table
<
any
,
any
,
any
>
scope
:
(
trans
:
Transaction
)
=>
U
|
PromiseLike
<
U
>
Returns
PromiseExtended
<
U
>
transaction
<
U
>
(
mode
:
TransactionMode
,
table
:
string
|
Table
<
any
,
any
,
any
>
,
table2
:
string
|
Table
<
any
,
any
,
any
>
,
table3
:
string
|
Table
<
any
,
any
,
any
>
,
scope
:
(
trans
:
Transaction
)
=>
U
|
PromiseLike
<
U
>
,
)
:
PromiseExtended
<
U
>
Type Parameters
U
Parameters
mode
:
TransactionMode
table
:
string
|
Table
<
any
,
any
,
any
>
table2
:
string
|
Table
<
any
,
any
,
any
>
table3
:
string
|
Table
<
any
,
any
,
any
>
scope
:
(
trans
:
Transaction
)
=>
U
|
PromiseLike
<
U
>
Returns
PromiseExtended
<
U
>
transaction
<
U
>
(
mode
:
TransactionMode
,
table
:
string
|
Table
<
any
,
any
,
any
>
,
table2
:
string
|
Table
<
any
,
any
,
any
>
,
table3
:
string
|
Table
<
any
,
any
,
any
>
,
table4
:
string
|
Table
<
any
,
any
,
any
>
,
scope
:
(
trans
:
Transaction
)
=>
U
|
PromiseLike
<
U
>
,
)
:
PromiseExtended
<
U
>
Type Parameters
U
Parameters
mode
:
TransactionMode
table
:
string
|
Table
<
any
,
any
,
any
>
table2
:
string
|
Table
<
any
,
any
,
any
>
table3
:
string
|
Table
<
any
,
any
,
any
>
table4
:
string
|
Table
<
any
,
any
,
any
>
scope
:
(
trans
:
Transaction
)
=>
U
|
PromiseLike
<
U
>
Returns
PromiseExtended
<
U
>
transaction
<
U
>
(
mode
:
TransactionMode
,
table
:
string
|
Table
<
any
,
any
,
any
>
,
table2
:
string
|
Table
<
any
,
any
,
any
>
,
table3
:
string
|
Table
<
any
,
any
,
any
>
,
table5
:
string
|
Table
<
any
,
any
,
any
>
,
scope
:
(
trans
:
Transaction
)
=>
U
|
PromiseLike
<
U
>
,
)
:
PromiseExtended
<
U
>
Type Parameters
U
Parameters
mode
:
TransactionMode
table
:
string
|
Table
<
any
,
any
,
any
>
table2
:
string
|
Table
<
any
,
any
,
any
>
table3
:
string
|
Table
<
any
,
any
,
any
>
table5
:
string
|
Table
<
any
,
any
,
any
>
scope
:
(
trans
:
Transaction
)
=>
U
|
PromiseLike
<
U
>
Returns
PromiseExtended
<
U
>
unuse
unuse
(
__namedParameters
:
Middleware
<
{
stack
:
"dbcore"
}
>
)
:
this
Parameters
__namedParameters
:
Middleware
<
{
stack
:
"dbcore"
}
>
Returns
this
unuse
(
__namedParameters
:
{
name
:
string
;
stack
:
"dbcore"
}
)
:
this
Parameters
__namedParameters
:
{
name
:
string
;
stack
:
"dbcore"
}
Returns
this
use
use
(
middleware
:
Middleware
<
DBCore
>
)
:
this
Parameters
middleware
:
Middleware
<
DBCore
>
Returns
this
version
version
(
versionNumber
:
number
)
:
Version
Parameters
versionNumber
:
number
Returns
Version
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
_
all
Tables
_
create
Transaction
_
db
Schema
_
novip
_
options
Collection
core
name
on
once
Table
tables
Transaction
verno
Version
vip
Where
Clause
Methods
backend
DB
close
delete
dynamically
Opened
has
Been
Closed
has
Failed
is
Open
open
table
transaction
unuse
use
version
Polkadot Apps
Loading...