package
1.3.3
Repository: https://github.com/vertica/vertica-sql-go.git
Documentation: pkg.go.dev

# Functions

Lex through a given query, optionally substituting some values in the string.
LexOptions converts an aritrary number of options into one function for easier handling.
WithNamedCallback sets the optional named parameter callback.
WithPositionalSubstitution sets the optional positional substitution callback.

# Structs

Lexer loosely breaks a SQL query down into chunks that the Vertica package cares about, offering opportunities for substitution.

# Type aliases

LexOption is a function that sets a preference on the lexer.
OnNamedParam is called when a value such as @queryParam is encountered.
SubstitutePosParam is called by the lexer when a '?' rune is encountered outside a string.