package
1.5.0
Repository: https://github.com/fs02/grimoire.git
Documentation: pkg.go.dev

# Functions

And compares other conditions using and.
Asc orders field with ascending order.
Desc orders field with descending order.
Eq compares that left value is equal to right value.
Fragment add custom condition.
Gt compares that left value is greater than to right value.
Gte compares that left value is greater than or equal to right value.
In check whethers value of the column is included in values.
Like compares value of column to match string pattern.
Lt compares that left value is less than to right value.
Lte compares that left value is less than or equal to right value.
Ne compares that left value is not equal to right value.
NewOperand create new operand.
Nil check whether column is nil.
Nin check whethers value of the column is not included in values.
Not wraps conditions using not.
NotLike compares value of column to not match string pattern.
NotNil check whether column is not nil.
Or compares other conditions using and.

# Constants

ConditionAnd is condition type for and operator.
ConditionEq is condition type for equal comparison.
ConditionFragment is condition type for custom condition.
ConditionGt is condition type for greater than comparison.
ConditionGte is condition type for greter than or equal comparison.
ConditionIn is condition type for inclusion comparison.
ConditionLike is condition type for like comparison.
ConditionLt is condition type for less than comparison.
ConditionLte is condition type for less than or equal comparison.
ConditionNe is condition type for not equal comparison.
ConditionNil is condition type for nil check.
ConditionNin is condition type for not inclusion comparison.
ConditionNot is condition type for not operator.
ConditionNotLike is condition type for not like comparison.
ConditionNotNil is condition type for not nil check.
ConditionOr is condition type for or operator.

# Structs

Condition defines details of a coundition type.
Join defines join information in query.
Operand defines information about condition's operand.
Order defines order information of query.

# Type aliases

ConditionType defines enumeration of all supported condition types.
I identifies database variable such as column name or table name.