Add note for where implementation may need to go

parent 7a8c70e5
...@@ -139,6 +139,7 @@ func (h *querySet) next() (query.Result, bool) { ...@@ -139,6 +139,7 @@ func (h *querySet) next() (query.Result, bool) {
} }
head := h.heads[0] head := h.heads[0]
next := head.next next := head.next
for head.advance() { for head.advance() {
if head.next.Error == nil { if head.next.Error == nil {
for _, f := range h.query.Filters { for _, f := range h.query.Filters {
...@@ -146,6 +147,7 @@ func (h *querySet) next() (query.Result, bool) { ...@@ -146,6 +147,7 @@ func (h *querySet) next() (query.Result, bool) {
continue continue
} }
} }
// can limit and offset be implemented here?
} }
heap.Fix(h, 0) heap.Fix(h, 0)
return next, true return next, true
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment