method
BoundTypedGlobal.Find
Read one locale through the operation engine with optional population and projection.
Arguments
| Argument | Type | Description |
|---|---|---|
ctx | context.Context | The ctx 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 (global BoundTypedGlobal[Document, Update, Draft]) Find(
ctx context.Context,
options TypedReadOptions,
) (Document, error)Related types
BoundTypedGlobalTyped singleton methods for reads, working drafts, publication, restoration, and discard.
TypedReadOptionsTypedReadOptions controls population/projection without changing the generated definition's single-locale or all-locales output shape.