Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Expression ¶
func Expression(expression pgsql.SyntaxNode, builder *OutputBuilder) (string, error)
func SyntaxNode ¶
func SyntaxNode(node pgsql.SyntaxNode) (string, error)
Types ¶
type OutputBuilder ¶
type OutputBuilder struct {
MaterializeParameters bool
StripLiterals bool
// contains filtered or unexported fields
}
func NewOutputBuilder ¶
func NewOutputBuilder() *OutputBuilder
func (*OutputBuilder) Build ¶
func (s *OutputBuilder) Build() string
func (*OutputBuilder) HasOutput ¶
func (s *OutputBuilder) HasOutput() bool
func (*OutputBuilder) WithMaterializedParameters ¶
func (s *OutputBuilder) WithMaterializedParameters(parameters map[string]any) *OutputBuilder
func (*OutputBuilder) Write ¶
func (s *OutputBuilder) Write(values ...any)
Click to show internal directories.
Click to hide internal directories.