method
BoundTypedCollection.Find
Read one locale through the operation engine with optional population and projection.
Arguments
| Argument | Type | Description |
|---|---|---|
ctx | context.Context | The ctx value. |
id | string | The id value. |
options | TypedReadOptions | Population, projection, actor identity, draft and locale read controls. |
Returns
The declared result.
(Document, error)How it works
Use TypedReadOptions for exact actor identity, draft intent, locale selection, population and projection.
Full signature
func (collection BoundTypedCollection[Document, Create, Update, Draft]) Find(
ctx context.Context,
id string,
options TypedReadOptions,
) (Document, error)Related types
BoundTypedCollectionTyped collection methods for strict writes, incomplete working drafts, publication, reads, and deletion.
TypedReadOptionsTypedReadOptions controls population/projection without changing the generated definition's single-locale or all-locales output shape.