Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Assignment ¶
Assignment represents a column assignment for UPDATE
type Column ¶
Column represents a database column with optional table qualifier
func (Column) ColumnName ¶
ColumnName returns the full column name (with table prefix if specified)
type Columnar ¶
type Columnar interface {
ColumnName() string
}
Columnar defines an interface for providing a column name.
type ExistsExpr ¶ added in v0.2.0
type ExistsExpr struct {
Expr Expression
}
ExistsExpr represents EXISTS (expression)
type Expression ¶
Expression is the base interface for all SQL expressions
type InExpr ¶ added in v0.2.0
type InExpr struct {
Column Column
Expr Expression
}
InExpr represents column IN (expression) - typically used for subqueries
type IsNotNull ¶
type IsNotNull struct {
Column Column
}
IsNotNull represents an IS NOT NULL expression
type NotExistsExpr ¶ added in v0.2.0
type NotExistsExpr struct {
Expr Expression
}
NotExistsExpr represents NOT EXISTS (expression)
type NotInExpr ¶ added in v0.2.0
type NotInExpr struct {
Column Column
Expr Expression
}
NotInExpr represents column NOT IN (expression) - typically used for subqueries
type OrderByColumn ¶
OrderByColumn represents an ORDER BY column