Help us shape the future of Go! Take the 2026 Go Developer Survey

queryselectors

package
v0.1.58 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 26, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package queryselectors forwards native selector capabilities to a component. It does not parse SQL, bind component input, or implement reader execution.

Index

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

func Forward(ctx context.Context, binder handler.Binder) (locator.Provider, error)

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

func Provider(selectors state.Selectors) locator.Provider

Provider captures a selector collection for explicit invocation forwarding. Each invocation receives its own native clone; Datly owns selector validation.

func ProviderMapped

func ProviderMapped(selectors state.Selectors, views map[string]string) locator.Provider

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL