method
BoundTypedAllLocalesCollection.Find
Find reads with the locale shape chosen by the generated definition.
Arguments
| Argument | Type | Description |
|---|---|---|
ctx | context.Context | The ctx value. |
id | string | The id value. |
options | TypedReadOptions | The options value. |
Returns
The declared result.
(Document, error)Full signature
func (collection BoundTypedAllLocalesCollection[Document]) Find(
ctx context.Context,
id string,
options TypedReadOptions,
) (Document, error)Related types
BoundTypedAllLocalesCollectionTyped Find and List reads with population, projection and all translations.
TypedReadOptionsTypedReadOptions controls population/projection without changing the generated definition's single-locale or all-locales output shape.