Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
Builder is a helper for building SQL queries with named parameters (jackc/pgx/v5 style for the moment)
func NewBuilder ¶
func NewBuilder() *Builder
func (*Builder) Build ¶
Build returns the query string with the parameters replaced by the values from the provided map.
func (*Builder) WriteString ¶
WriteString appends the provided string to the query and extracts any parameters from it.
Click to show internal directories.
Click to hide internal directories.