GAAS GFrame项目web后台
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
322 B

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