method

BoundTypedAllLocalesGlobal.Find

Find reads the global with all translations and optional population/projection.

Arguments

ArgumentTypeDescription
ctxcontext.ContextThe ctx value.
optionsTypedReadOptionsThe options value.

Returns

The declared result.

(Document, error)

Full signature

func (global BoundTypedAllLocalesGlobal[Document]) Find( ctx context.Context, options TypedReadOptions, ) (Document, error)

Source core/typed_read.go:151

Related types

  • BoundTypedAllLocalesGlobal

    A typed global read with population, projection and all translations.

  • TypedReadOptions

    TypedReadOptions controls population/projection without changing the generated definition's single-locale or all-locales output shape.