top
(README.md)
# qfix
    import "github.com/coralproject/xenia/pkg/query/qfix"






## func Add
``` go
func Add(db *db.DB, set *query.Set) error
```
Add inserts a set for testing.


## func Get
``` go
func Get(fileName string) (*query.Set, error)
```
Get retrieves a set document from the filesystem for testing.


## func Remove
``` go
func Remove(db *db.DB, pattern string) error
```
Remove is used to clear out all the test sets from the collection.
All test documents must start with QSTEST in their name.









- - -
Generated by [godoc2md](http://godoc.org/github.com/davecheney/godoc2md)

Imports 5 package(s) ΒΆ

  1. github.com/coralproject/xenia/pkg/query
  2. github.com/ardanlabs/kit/db
  3. github.com/ardanlabs/kit/tests
  4. gopkg.in/mgo.v2
  5. gopkg.in/mgo.v2/bson