Constructors
constructor
- new IndexInsertBatch(site: string, inserted: LseqIndexNotify<T>["inserted"]): IndexInsertBatch
-
Parameters
-
site: string
-
inserted: LseqIndexNotify<T>["inserted"]
Properties
batch
batch: { oldIndex: number; start: number; values: T[] } | null = null
Readonly inserted
inserted: LseqIndexNotify<T>["inserted"]
Readonly site
site: string
Methods
addAll
- addAll(indexInserts: T[] | undefined, start: number, oldIndex: number): number
-
Parameters
-
indexInserts: T[] | undefined
-
start: number
-
oldIndex: number
Returns number
count inserted