func (o QueryCollection) WithIndexSet(idxs *IndexSet) QueryCollection {
	o.IndexSet = idxs
	return o
}
WithIndexSet returns a new QueryCollection value with the IndexSet set to idxs.
package resbadger
import (
	"bytes"
	"net/url"
	res "github.com/jirenius/go-res"
)
type QueryCollection struct {
	BadgerDB BadgerDB
	IndexSet *IndexSet
	QueryCallback QueryCallback
}
type QueryCallback func(idxs *IndexSet, rname string, params map[string]string, query url.Values) (*IndexQuery, string, error)
type queryCollection struct {
	BadgerDB
	idxs          *IndexSet
	queryCallback QueryCallback
	pattern       string
	s             *res.Service
}