Documentation ¶
Index ¶
- type Condition
- func BAnd[T Integer](column_name string, mask T) Condition
- func Eq(column_name string, parameter any) (condition Condition)
- func Gt[T Numeric](column_name string, rh T) Condition
- func Gte[T Numeric](column_name string, rh T) Condition
- func Lt[T Numeric](column_name string, rh T) Condition
- func Lte[T Numeric](column_name string, rh T) Condition
- func Not(condition Condition) Condition
- func Or(conditions ...Condition) Condition
- func Regex(column_name string, expr string) Condition
- type ConditionType
- type Expression
- type Integer
- type Numeric
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Condition ¶
type Condition struct { ColumnName string Column int Type ConditionType Parameter any }
type ConditionType ¶
type ConditionType uint8
const ( Condition_Equals ConditionType = iota Condition_GreaterThan Condition_LessThan Condition_LessThanOrEqual Condition_GreaterThanOrEqual Condition_RegularExpression Condition_Not Condition_Or Condition_BitwiseAND )
type Expression ¶
Click to show internal directories.
Click to hide internal directories.