()
| 33 | } |
| 34 | |
| 35 | func (q *queryNode) addOptions() { |
| 36 | if limit != 0 { |
| 37 | q.values.Set("limit", strconv.Itoa(limit)) |
| 38 | } |
| 39 | if offset != 0 { |
| 40 | q.values.Set("offset", strconv.Itoa(offset)) |
| 41 | } |
| 42 | if (direction != "") && validateCV("direction", direction) { |
| 43 | q.values.Set("direction", direction) |
| 44 | } |
| 45 | if order != "" { |
| 46 | q.values.Set("order", order) |
| 47 | } |
| 48 | if distinct != "" { |
| 49 | q.distinct = true |
| 50 | q.values.Set("distinct", distinct) |
| 51 | } |
| 52 | } |
no test coverage detected