Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
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.
Types ¶
type ICollect ¶ added in v0.5.0
type ICollect func(tree.NodeFormatter)
func CollectAll ¶ added in v0.5.0
type TypeCollector ¶ added in v0.5.0
type TypeCollector[T tree.NodeFormatter] struct { // contains filtered or unexported fields }
func CollectType ¶ added in v0.5.0
func CollectType[T tree.NodeFormatter]() *TypeCollector[T]
func (*TypeCollector[T]) Collect ¶ added in v0.5.0
func (c *TypeCollector[T]) Collect(node tree.NodeFormatter)
func (*TypeCollector[T]) Res ¶ added in v0.5.0
func (c *TypeCollector[T]) Res() []T
Click to show internal directories.
Click to hide internal directories.