@bodil/bdb
System
Light
Dark
Search…
Preparing search index...
CompoundIndex
Interface CompoundIndex<A, I, J>
Internal
interface
CompoundIndex
<
A
extends
object
,
I
extends
PrimitiveIndexablesOf
<
A
>
,
J
extends
Exclude
<
PrimitiveIndexablesOf
<
A
>
,
I
>
,
>
{
keyType
:
[
A
[
I
]
,
A
[
J
]
]
;
leftIndex
:
I
;
name
:
`
${
I
}
&
${
J
}
`
;
record
:
{
[
K
in
`
${
string
}
&
${
string
}
`
]
:
CompoundIndex
<
A
,
I
,
J
>
}
;
rightIndex
:
J
;
extractKey
(
value
:
A
)
:
[
A
[
I
]
,
A
[
J
]
]
;
extractKeys
(
value
:
A
)
:
[
A
[
I
]
,
A
[
J
]
]
[]
;
}
Type Parameters
A
extends
object
I
extends
PrimitiveIndexablesOf
<
A
>
J
extends
Exclude
<
PrimitiveIndexablesOf
<
A
>
,
I
>
Implements
Index
<
A
>
UnitIndex
<
A
>
Properties
Readonly
key
Type
keyType
:
[
A
[
I
]
,
A
[
J
]
]
Readonly
left
Index
leftIndex
:
I
Readonly
name
name
:
`
${
I
}
&
${
J
}
`
Readonly
record
record
:
{
[
K
in
`
${
string
}
&
${
string
}
`
]
:
CompoundIndex
<
A
,
I
,
J
>
}
Readonly
right
Index
rightIndex
:
J
Methods
extract
Key
extractKey
(
value
:
A
)
:
[
A
[
I
]
,
A
[
J
]
]
Parameters
value
:
A
Returns
[
A
[
I
]
,
A
[
J
]
]
extract
Keys
extractKeys
(
value
:
A
)
:
[
A
[
I
]
,
A
[
J
]
]
[]
Parameters
value
:
A
Returns
[
A
[
I
]
,
A
[
J
]
]
[]
Properties
key
Type
left
Index
name
record
right
Index
Methods
extract
Key
extract
Keys
@bodil/bdb - v0.2.1
Loading...