Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EscapeStringValue ¶ added in v0.47.0
EscapeStringValue escapes a string value for use in an expression passed to EvaluateBool.
func EvaluateBool ¶ added in v0.33.0
EvaluateBool uses DuckDB to evaluate the given expression as a boolean value.
Types ¶
type AST ¶ added in v0.29.1
type AST struct {
// contains filtered or unexported fields
}
func (*AST) ExtractColumnRefs ¶ added in v0.29.1
ExtractColumnRefs extracts column references from the outermost SELECT of a DuckDB SQL statement
func (*AST) GetTableRefs ¶ added in v0.31.0
func (*AST) RewriteLimit ¶ added in v0.29.1
RewriteLimit rewrites a DuckDB SQL statement to limit the result size
type ColumnRef ¶
type ColumnRef struct { Name string RelationName string Expr string IsAggr bool IsStar bool IsExclude bool }
ColumnRef has information about a column in the select list of a DuckDB SQL statement
type PositionError ¶ added in v0.43.0
type PositionError struct { Position int // contains filtered or unexported fields }
func (PositionError) Err ¶ added in v0.43.0
func (e PositionError) Err() error
Click to show internal directories.
Click to hide internal directories.