import MutableQueryResultSet from 'electron-coresqlite/lib/mutable-query-result-set.js'
MutableQueryResultSet
Extends:
Method Summary
Public Methods | ||
public |
addIdsInRange(rangeIds: *, range: *) |
|
public |
addModelsInRange(rangeModels: *, range: *) |
|
public |
clipToRange(range: *) |
|
public |
immutableClone(): * |
|
public |
removeModelAtOffset(item: *, offset: *) |
|
public |
setQuery(query: *) |
|
public |
updateModel(item: *) |
Inherited Summary
From class QueryResultSet | ||
public static |
setByApplyingModels(set: *, models: *): * |
|
public |
clone(): * |
|
public |
count(): QueryRange |
|
public |
|
|
public |
idAtOffset(offset: Number): Array |
|
public |
|
|
public |
|
|
public |
modelAtOffset(offset: Number): Model |
|
public |
modelWithId(id: String): Model |
|
public |
|
|
public |
offsetOfId(id: String): Number |
|
public |
query(): Query |
|
public |
range(): QueryRange |
|
protected |
modelCacheCount(): * |
Public Methods
public addIdsInRange(rangeIds: *, range: *) source
Params:
Name | Type | Attribute | Description |
rangeIds | * | ||
range | * |
public addModelsInRange(rangeModels: *, range: *) source
Params:
Name | Type | Attribute | Description |
rangeModels | * | ||
range | * |
public clipToRange(range: *) source
Params:
Name | Type | Attribute | Description |
range | * |
public removeModelAtOffset(item: *, offset: *) source
Params:
Name | Type | Attribute | Description |
item | * | ||
offset | * |
public setQuery(query: *) source
Params:
Name | Type | Attribute | Description |
query | * |
public updateModel(item: *) source
Params:
Name | Type | Attribute | Description |
item | * |