@@ -342,9 +342,9 @@ export class BatchCursor<ItemType = any> {
342342 * aql`FOR x IN 1..5 RETURN x`,
343343 * { batchSize: 1 }
344344 * );
345- * console.log(cursor.hasMore); // true
345+ * console.log(cursor.batches. hasMore); // true
346346 * await cursor.batches.loadAll();
347- * console.log(cursor.hasMore); // false
347+ * console.log(cursor.batches. hasMore); // false
348348 * console.log(cursor.hasNext); // true
349349 * for await (const item of cursor) {
350350 * console.log(item);
@@ -417,7 +417,7 @@ export class BatchCursor<ItemType = any> {
417417 * Advances the cursor by applying the `callback` function to each item in
418418 * the cursor's remaining result list until the cursor is depleted or
419419 * `callback` returns the exact value `false`. Returns a promise that
420- * evalues to `true` unless the function returned `false`.
420+ * evaluates to `true` unless the function returned `false`.
421421 *
422422 * **Note**: If the result set spans multiple batches, any remaining batches
423423 * will only be fetched on demand. Depending on the cursor's TTL and the
@@ -732,14 +732,14 @@ export class BatchCursor<ItemType = any> {
732732 * @example
733733 * ```js
734734 * const cursor1 = await db.query(aql`FOR x IN 1..5 RETURN x`);
735- * console.log(cursor1.hasMore); // false
735+ * console.log(cursor1.batches. hasMore); // false
736736 * await cursor1.kill(); // no effect
737737 *
738738 * const cursor2 = await db.query(
739739 * aql`FOR x IN 1..5 RETURN x`,
740740 * { batchSize: 2 }
741741 * );
742- * console.log(cursor2.hasMore); // true
742+ * console.log(cursor2.batches. hasMore); // true
743743 * await cursor2.kill(); // cursor is depleted
744744 * ```
745745 */
@@ -1220,14 +1220,14 @@ export class Cursor<ItemType = any> {
12201220 * @example
12211221 * ```js
12221222 * const cursor1 = await db.query(aql`FOR x IN 1..5 RETURN x`);
1223- * console.log(cursor1.hasMore); // false
1223+ * console.log(cursor1.batches. hasMore); // false
12241224 * await cursor1.kill(); // no effect
12251225 *
12261226 * const cursor2 = await db.query(
12271227 * aql`FOR x IN 1..5 RETURN x`,
12281228 * { batchSize: 2 }
12291229 * );
1230- * console.log(cursor2.hasMore); // true
1230+ * console.log(cursor2.batches. hasMore); // true
12311231 * await cursor2.kill(); // cursor is depleted
12321232 * ```
12331233 */
0 commit comments