Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Statement ¶
Statement returns an SQL query statement that selects columns based on the names of the fields in dest, which must be a pointer to a struct. If a field has the "stquery" tag, its value holds the name that will be used.
The given template string must contain an occurrence of "$fields", which will be replaced with a comma-separated list of the names.
Types ¶
type Getter ¶
type Getter struct {
// contains filtered or unexported fields
}
Getter represents a value that can fetch itself by calling Scan on an underlying Scanner.
Click to show internal directories.
Click to hide internal directories.