Preparing search index...
The search index is not available
SylvieJS
SylvieJS
database/indexes/sorted-index
SortedIndex
Class SortedIndex
Hierarchy
SortedIndex
Index
Constructors
constructor
Properties
#bs
#keys
#values
field
Methods
clear
get
get
All
get
Gt
get
Lt
get
Pos
remove
set
set
Sort
sort
Constructors
constructor
new
Sorted
Index
(
sortedField
:
string
)
:
SortedIndex
Parameters
sortedField:
string
Returns
SortedIndex
Properties
Private
#bs
#bs
:
(
(
array
:
any
, item
:
any
)
=>
{
found
:
boolean
;
index
:
any
;
}
)
= ...
Type declaration
(
array
:
any
, item
:
any
)
:
{
found
:
boolean
;
index
:
any
;
}
Parameters
array:
any
item:
any
Returns
{
found
:
boolean
;
index
:
any
;
}
found
:
boolean
index
:
any
Private
#keys
#keys
:
(
string
|
number
)
[]
Private
#values
#values
:
(
string
|
number
)
[]
[]
field
field
:
string
Methods
clear
clear
(
)
:
void
Returns
void
get
get
(
key
:
string
|
number
)
:
(
string
|
number
)
[]
Parameters
key:
string
|
number
Returns
(
string
|
number
)
[]
get
All
get
All
(
start
:
number
, end
:
number
)
:
any
[]
Parameters
start:
number
end:
number
Returns
any
[]
get
Gt
get
Gt
(
key
:
string
|
number
)
:
any
[]
Parameters
key:
string
|
number
Returns
any
[]
get
Lt
get
Lt
(
key
:
string
|
number
)
:
any
[]
Parameters
key:
string
|
number
Returns
any
[]
get
Pos
get
Pos
(
key
:
string
|
number
)
:
{
found
:
boolean
;
index
:
any
;
}
Parameters
key:
string
|
number
Returns
{
found
:
boolean
;
index
:
any
;
}
found
:
boolean
index
:
any
remove
remove
(
key
:
string
|
number
, value
:
any
)
:
void
Parameters
key:
string
|
number
value:
any
Returns
void
set
set
(
key
:
string
|
number
, value
:
any
)
:
void
Parameters
key:
string
|
number
value:
any
Returns
void
set
Sort
set
Sort
(
fun
:
(
(
a
:
number
, b
:
number
)
=>
number
)
)
:
void
Parameters
fun:
(
(
a
:
number
, b
:
number
)
=>
number
)
(
a
:
number
, b
:
number
)
:
number
Parameters
a:
number
b:
number
Returns
number
Returns
void
sort
sort
(
a
:
string
|
number
, b
:
string
|
number
)
:
0
|
1
|
-1
Parameters
a:
string
|
number
b:
string
|
number
Returns
0
|
1
|
-1
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
SylvieJS
Tutorials
Query
Examples
Indexing and
Query performance
Collection
Transforms
Persistence
Adapters
Changes API
Loki
Angular
database/collection
database/collection/chain-
transform
database/collection/collection
database/collection/collection-
binary-
index
database/collection/collection-
document
database/collection/collection-
document-
base
database/collection/collection-
document-
meta
database/collection/collection-
options
database/dynamic-
view
database/dynamic-
view/dynamic-
view
database/dynamic-
view/dynamic-
view-
options
database/indexes/exact-
index
database/indexes/sorted-
index
database/indexes/unique-
index
database/key-
value-
store
database/result-
set
database/result-
set/mongo-
like-
ops
database/result-
set/result-
set
database/sylvie
database/sylvie-
event-
emitter
database/sylvie/change-
ops
database/sylvie/change-
ops-
load-
json-
options
database/sylvie/change-
ops-
load-
json-
options-
meta
database/sylvie/change-
ops-
load-
json-
users-
options
database/sylvie/config-
options
database/sylvie/constructor-
options
database/sylvie/serialization-
options
database/sylvie/sylvie
index
storage-
adapter/crypted-
indexeddb-
adapter
storage-
adapter/fs-
adapter
storage-
adapter/fs-
structured-
adapter
storage-
adapter/incremental-
indexeddb-
adapter
storage-
adapter/indexeddb-
adapter
storage-
adapter/local-
storage-
adapter
storage-
adapter/memory-
adapter
storage-
adapter/opfs-
adapter
storage-
adapter/partitioning-
adapter
storage-
adapter/src/indexeddb-
adapter/idb-
catalog
storage-
adapter/src/models/async-
persistence-
adapter
storage-
adapter/src/models/persistence-
adapter
storage-
adapter/src/models/persistence-
adapter-
callback
storage-
adapter/src/models/result-
type
storage-
adapter/src/utils/string-
encryption-
utils
sylviejs
utils
utils/binary-
search
utils/clone
utils/clone-
object-
array
utils/contains-
check-
fn
utils/deep-
property
utils/dot-
sub-
scan
utils/has-
own-
property
utils/icebox
utils/local-
storage-
available
utils/math
utils/ops
utils/parse-
base-
10
utils/precompile-
query
utils/sort
utils/utils
Sorted
Index
constructor
#bs
#keys
#values
field
clear
get
get
All
get
Gt
get
Lt
get
Pos
remove
set
set
Sort
sort
Generated using
TypeDoc