()
| 20 | type Query []Condition |
| 21 | |
| 22 | func (q Query) String() string { |
| 23 | ss := make([]string, len(q)) |
| 24 | for i, cond := range q { |
| 25 | ss[i] = cond.String() |
| 26 | } |
| 27 | return strings.Join(ss, " AND ") |
| 28 | } |
| 29 | |
| 30 | // A Condition is a single conditional expression, consisting of a tag, a |
| 31 | // comparison operator, and an optional argument. The type of the argument |