Type alias TableFindOptions

TableFindOptions: GenericFindOptions
Overview

The options for a find command on a Table.

Example

const results = await table.find({
category: 'electronics',
}, {
sort: { price: 1 },
limit: 10,
timeout: 10000,
});

Builder Methods

You can also use fluent builder methods on the cursor:

Example

const cursor = table.find({ category: 'electronics' })
.sort({ price: 1 })
.limit(10)
.skip(5);

const results = await cursor.toArray();

See

  • Table.find
  • TableFindCursor