Preparing search index...
The search index is not available
@qualified-cactus/promised-db
@qualified-cactus/promised-db
IndexDef
Class IndexDef<T>
Type Parameters
T
extends
IDBValidKey
Index
Constructors
constructor
Properties
key
Path
name
options?
Methods
bound
lower
Bound
only
upper
Bound
Constructors
constructor
new
Index
Def
<
T
>
(
name
,
keyPath
,
options
?
)
:
IndexDef
<
T
>
Type Parameters
T
extends
IDBValidKey
Parameters
name
:
string
keyPath
:
string
|
string
[]
Optional
options
:
IDBIndexParameters
Returns
IndexDef
<
T
>
Properties
key
Path
key
Path
:
string
|
string
[]
name
name
:
string
Optional
options
options
?:
IDBIndexParameters
Methods
bound
bound
(
lower
,
upper
,
lowerOpen
?
,
upperOpen
?
)
:
IDBKeyRange
Parameters
lower
:
T
upper
:
T
Optional
lowerOpen
:
boolean
Optional
upperOpen
:
boolean
Returns
IDBKeyRange
lower
Bound
lower
Bound
(
lower
,
open
?
)
:
IDBKeyRange
Parameters
lower
:
T
Optional
open
:
boolean
Returns
IDBKeyRange
only
only
(
value
)
:
IDBKeyRange
Parameters
value
:
T
Returns
IDBKeyRange
upper
Bound
upper
Bound
(
upper
,
open
?
)
:
IDBKeyRange
Parameters
upper
:
T
Optional
open
:
boolean
Returns
IDBKeyRange
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
key
Path
name
options
bound
lower
Bound
only
upper
Bound
@qualified-cactus/promised-db
CursorIterator
Database
DatabaseDef
Index
IndexDef
ObjectStore
Transaction
UpgradeAttemptBlockedError
CursorIterationOption
CursorValue1
CursorValue2
ObjectStoreDef
DbUpgrader
IndexKeyRange
deleteDatabase