Fix Eq query

Signed-off-by: Etzelia <etzelia@hotmail.com>
django
Etzelia 2020-10-16 23:20:31 -05:00
parent f652bbd2bd
commit b18309002a
No known key found for this signature in database
GPG Key ID: 708511AE7ABC5314
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
}