You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

12 lines
340 B

package grmi
type ConditionItem struct {
Field
PredicateType func(Predicate) (string, error)
OrderBy bool
valueParser func(string) (interface{}, error)
}
func NewConditionItem(field Field, predicateType func(Predicate) (string, error), orderBy bool) ConditionItem {
return ConditionItem{field, predicateType, orderBy, nil}
}