Documentation
¶
Index ¶
- Variables
- func FilterType[T tree.NodeFormatter](req tree.NodeFormatter) ([]T, error)
- func GetColumnNames(req tree.NodeFormatter) ([]string, error)
- func IsAllowed(tables []config.TargetTable, acls []config.ACL, query string) error
- func Walk(collect func(formatter tree.NodeFormatter), statements ...tree.NodeFormatter) error
- type IVector
- type VecSelect
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func FilterType ¶
func FilterType[T tree.NodeFormatter](req tree.NodeFormatter) ([]T, error)
FilterType will filter objects with specified type.
func GetColumnNames ¶
func GetColumnNames(req tree.NodeFormatter) ([]string, error)
GetColumnNames will return all mentioned columns from query. Note: It will have unexpected behavior for queries that have a subquery.
func Walk ¶
func Walk(collect func(formatter tree.NodeFormatter), statements ...tree.NodeFormatter) error
Types ¶
Click to show internal directories.
Click to hide internal directories.