{"modulePath":"github.com/viant/datly","version":"v1.1.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package reader\n\nPackage reader adapts a registered read execution to the unified handler engine without owning SQL plans, connections, caches, or mutable read state.\n\n## Functions\n\n```go\nfunc NewDryRunHandler(reader dexec.Reader, input *registry.RouteInputContract) (rhandler.Handler, error)\n```\n\n```go\nfunc NewQueryHandler(reader dexec.Reader, input *registry.RouteInputContract) (rhandler.Handler, error)\n```\n\n```go\nfunc NewWarmupHandler(reader dexec.Reader, input *registry.RouteInputContract, request dexec.ReaderWarmupRequest) (rhandler.Handler, error)\n```\n\n## Types\n\n```go\ntype Handler struct {\n\t// contains filtered or unexported fields\n}\n```\nHandler is the built-in reader flavor over the shared handler engine.\n\n```go\nfunc NewHandler(reader dexec.Reader, input *registry.RouteInputContract) *Handler\n```\n\n```go\nfunc (h *Handler) Execute(ctx context.Context, invocation rhandler.Invocation) (any, error)\n```\n\n```go\nfunc (h *Handler) WithReadOptions(options dexec.ReaderOptions) *Handler\n```\nWithReadOptions configures this invocation's result read without changing canonical input initialization or the binding of dependency data points.\n\n","path":"github.com/viant/datly/runtime/handler/reader","name":"reader","synopsis":"Package reader adapts a registered read execution to the unified handler engine without owning SQL plans, connections, caches, or mutable read state.","isRedistributable":true}
