Documentation
¶
Overview ¶
Package statements builds uses a grammar to build SQL statements scoped to entities within the database.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Query ¶
type Query struct {
// SQL is the query statement.
SQL string
// If the query requires arguments then Arguments are the column name arguments in
// the order expected by the SQL statement.
Arguments []string
// If the query returns columns then Scan are the column names in the order
// to be scanned.
Scan []string
// Expect is a hint that indicates if the query returns no rows, one row, or many rows.
Expect Expect
}
Query describes a SQL query.
Click to show internal directories.
Click to hide internal directories.