Compare commits

...

1 Commits

Author SHA1 Message Date
Etzelia b18309002a
Fix Eq query
Signed-off-by: Etzelia <etzelia@hotmail.com>
2020-10-16 23:20:31 -05:00
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ func (db *Builder) QueryString() string {
}
func (db *Builder) Eq(field Field, value interface{}) *Builder {
db.Params = append(db.Params, fmt.Sprintf("%__eq=%v", field, value))
db.Params = append(db.Params, fmt.Sprintf("%s__eq=%v", field, value))
return db
}