Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AST ¶ added in v0.29.1
type AST struct {
// contains filtered or unexported fields
}
func (*AST) ExtractAnnotations ¶ added in v0.29.1
func (a *AST) ExtractAnnotations() map[string]*Annotation
ExtractAnnotations extracts annotations from comments prefixed with '@', and optionally a value after a ':'. Examples: "-- @materialize" and "-- @materialize: true".
func (*AST) ExtractColumnRefs ¶ added in v0.29.1
ExtractColumnRefs extracts column references from the outermost SELECT of a DuckDB SQL statement
func (*AST) RewriteLimit ¶ added in v0.29.1
RewriteLimit rewrites a DuckDB SQL statement to limit the result size
type Annotation ¶
Annotation is key-value annotation extracted from a DuckDB SQL comment
Click to show internal directories.
Click to hide internal directories.