Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Filled ¶
Filled prints the query with summarized parametrized arg values when stringed.
func (*Filled) QueryString ¶
type Named ¶
Named is a named SQL query string that formats nicely when stringed. The name should be used for tracking in metrics, and printed in error logs.
func New ¶
New returns a new named query, and handles replacing `?` parameters with whatever parameter characters the driver requires.
func (*Named) Appendf ¶
Append returns a copy of the named query, with additional text appended to the query string.
Click to show internal directories.
Click to hide internal directories.