Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parser ¶
type Parser interface {
// Parse parses all named parameters in a SQL statement, and returns
// a statement with the params converted to bindvars appropriate for
// the engine, e.g. :foo, :bar => $1, $2 (postgres).
//
// Additionally, the positional args are returned in order.
Parse(query string, data any) (q string, args []any, err error)
}
Click to show internal directories.
Click to hide internal directories.