Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTableFunc ¶
Types ¶
type ColumnFilter ¶
type ColumnFilter struct { Op sqlite.ConstraintOp OmitCheck bool }
type Constraint ¶
type Constraint struct { ColIndex int Op sqlite.ConstraintOp Value *sqlite.Value }
type GetIteratorFunc ¶
type GetIteratorFunc func(constraints []*Constraint, order []*sqlite.OrderBy) (Iterator, error)
type OptFunc ¶
type OptFunc func(*options)
func EarlyOrderByConstraintExit ¶
EarlyOrderByConstraintExit tells the table-func to end iteration early, if results are ordered by a field that is also in a WHERE clause with one of a >,>=,<,<= that would warrant an early exit. This assumes that the column in question has the GT, GE, LT, LE constraints registered.
Click to show internal directories.
Click to hide internal directories.