Documentation
¶
Overview ¶
Package queryselectors forwards native selector capabilities to a component. It does not parse SQL, bind component input, or implement reader execution.
Index ¶
- func ForUpdateOptions(ctx context.Context, enabled bool) *dexec.ReaderOptions
- func Forward(ctx context.Context, binder handler.Binder) (locator.Provider, error)
- func Provider(selectors state.Selectors) locator.Provider
- func ProviderMapped(selectors state.Selectors, views map[string]string) locator.Provider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ForUpdateOptions ¶
func ForUpdateOptions(ctx context.Context, enabled bool) *dexec.ReaderOptions
ForUpdateOptions retains caller cache/query scope settings and selects only this invocation's root reader. Discovery reads explicitly remain unlocked.
func Forward ¶
Forward copies a caller's selector capability into a child invocation provider. An absent capability stays absent and cannot replace the target's own bindings.
func Provider ¶
Provider captures a selector collection for explicit invocation forwarding. Each invocation receives its own native clone; Datly owns selector validation.
func ProviderMapped ¶
ProviderMapped forwards explicit view-name migrations alongside native values. Unknown names are retained so the target reader can reject them; no scope is guessed from an SQL alias or a field name.
Types ¶
This section is empty.