querybody

package
v0.125.3 Latest Latest
Warning

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

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

Documentation

Overview

Package querybody adapts a saved query's explicit body representation to the structured document accepted by DataTug's policy-bound executor.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Extension

func Extension(queryType datatug.QueryType, structured bool) string

Extension follows Core's filename contract; content is never inspected.

func Structured

func Structured(query *datatug.QueryDef) (string, error)

Structured keeps structured bodies byte-for-byte. Text bodies are parsed by DALgo, never detected from their content. Authoring definitions and parameter declarations require an authorized ResolveTugQL context; this adapter refuses them instead of discarding them or manufacturing schema authority.

Types

This section is empty.

Jump to

Keyboard shortcuts

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