Documentation ¶
Index ¶
- Constants
- func Marshal(wr io.Writer, args *params.Args, v interface{}) error
- func QueryContext(ctx context.Context, qc QueryContexter, q interface{}) (*sql.Rows, error)
- type Add
- type And
- type As
- type Between
- type BetweenSymmetric
- type Divide
- type Equals
- type From
- type FromExpr
- type Fromer
- type GreaterThan
- type GreaterThanOrEqual
- type Group
- type Id
- type Is
- type IsDistinctFrom
- type IsNot
- type IsNotDistinctFrom
- type IsNotNull
- type IsNull
- type LessThan
- type LessThanOrEqual
- type Marshaler
- type Multiply
- type Not
- type NotEquals
- type Or
- type QueryContexter
- type QueryRowContexter
- type Row
- type Rows
- type Scannable
- type Scanner
- type Select
- type SelectExpr
- type Selector
- type Stmts
- type Subtract
- type Where
Constants ¶
View Source
const Null util.V = "NULL"
Variables ¶
This section is empty.
Functions ¶
func QueryContext ¶
Types ¶
type BetweenSymmetric ¶
type BetweenSymmetric struct { Operand interface{} Low interface{} High interface{} }
func (BetweenSymmetric) MarshalSql ¶
type GreaterThan ¶
type GreaterThan struct { Left interface{} Right interface{} }
func (GreaterThan) MarshalSql ¶
type GreaterThanOrEqual ¶
type GreaterThanOrEqual struct { Left interface{} Right interface{} }
func (GreaterThanOrEqual) MarshalSql ¶
type IsDistinctFrom ¶
type IsDistinctFrom struct { Left interface{} Right interface{} }
func (IsDistinctFrom) MarshalSql ¶
type IsNotDistinctFrom ¶
type IsNotDistinctFrom struct { Left interface{} Right interface{} }
func (IsNotDistinctFrom) MarshalSql ¶
type LessThanOrEqual ¶
type LessThanOrEqual struct { Left interface{} Right interface{} }
func (LessThanOrEqual) MarshalSql ¶
type QueryContexter ¶
type QueryRowContexter ¶
type Row ¶
func QueryRowContext ¶
func QueryRowContext(ctx context.Context, qc QueryRowContexter, q interface{}) Row
type Select ¶
type Select []SelectExpr
type SelectExpr ¶
type SelectExpr = interface{}
type Selector ¶
type Selector interface {
Select() []SelectExpr
}
Directories ¶
Path | Synopsis |
---|---|
internal
|
|
testutil/mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
pkg
|
|
dialect/pg
Package pg pulls some postgres specific functionality.
|
Package pg pulls some postgres specific functionality. |
Click to show internal directories.
Click to hide internal directories.