interface
FindOptions
Projection, population, depth, and locale options for one document or global.
Properties
| Property | Type | Description |
|---|---|---|
draft | Drafts extends true ? boolean : false | Select the authorized working draft rather than the public published snapshot. |
depth | number | The depth value. |
select | Select | The select value. |
populate | Populate | The populate value. |
locale | [Locale] extends [never] ? never : "all" | | Content locale. Use "all" to receive locale-keyed localized fields. |
fallbackLocale | [Locale] extends [never] ? never : false | | Explicit fallback chain, or false to require an exact locale value. |
signal | AbortSignal | The signal value. |
headers | HeadersInit | | The headers value. |
keepalive | boolean | The keepalive value. |
Full signature
interface FindOptions<
Select,
Populate,
Locale extends string = string,
Drafts extends boolean = boolean,
> { ... }