Rename
This commit is contained in:
parent
41537cd00c
commit
5ffa51d1f4
|
@ -475,7 +475,7 @@ export class QueryBuilder<T> {
|
||||||
|
|
||||||
async run() {
|
async run() {
|
||||||
if (this.#skip) {
|
if (this.#skip) {
|
||||||
await this.#skipPages(this.#skip)
|
await this.#skipItems(this.#skip)
|
||||||
}
|
}
|
||||||
return await this.#execute()
|
return await this.#execute()
|
||||||
}
|
}
|
||||||
|
@ -485,7 +485,7 @@ export class QueryBuilder<T> {
|
||||||
* For the given builder, walk through pages using bookmarks until the desired
|
* For the given builder, walk through pages using bookmarks until the desired
|
||||||
* page has been met.
|
* page has been met.
|
||||||
*/
|
*/
|
||||||
async #skipPages(skip: number) {
|
async #skipItems(skip: number) {
|
||||||
// Lucene does not support pagination.
|
// Lucene does not support pagination.
|
||||||
// Handle pagination by finding the right bookmark
|
// Handle pagination by finding the right bookmark
|
||||||
const prevIncludeDocs = this.#includeDocs
|
const prevIncludeDocs = this.#includeDocs
|
||||||
|
|
Loading…
Reference in New Issue