cuigh / auxo

A full-stack framework for building applications in Go
MIT License
11 stars 8 forks source link

EQ should be t #3

Closed carolove closed 6 years ago

carolove commented 6 years ago

https://github.com/cuigh/auxo/blob/b91461fc84a096dda87d7fd4403bcde63836176a/db/gsd/criteria.go#L284

func (c SimpleCriteriaSet) add(col interface{}, t int, val interface{}) SimpleCriteriaSet { c.Items = append(c.Items, &OneColumnCriteria{ Column: c.toColumn(col), Type: t, Value: val, }) return c }