From 910c4b66ee1f0345e75045d8450275c378ed325f Mon Sep 17 00:00:00 2001 From: Patrick O'brien Date: Mon, 19 Sep 2016 19:30:50 +1000 Subject: [PATCH] Fix fish DeleteAll bug --- queries/query_builders.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/queries/query_builders.go b/queries/query_builders.go index 8997eaa..8ce6b62 100644 --- a/queries/query_builders.go +++ b/queries/query_builders.go @@ -119,7 +119,7 @@ func buildDeleteQuery(q *Query) (*bytes.Buffer, []interface{}) { where, whereArgs := whereClause(q, 1) if len(whereArgs) != 0 { - args = append(args, whereArgs) + args = append(args, whereArgs...) } buf.WriteString(where)