Skip to content

Commit

Permalink
fix: append where to index create
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Jelwan committed Dec 21, 2021
1 parent dbb7d90 commit 1de6cea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions query_index_create.go
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ func (q *CreateIndexQuery) AppendQuery(fmter schema.Formatter, b []byte) (_ []by
}

if len(q.where) > 0 {
b = append(b, " WHERE "...)
b, err = appendWhere(fmter, b, q.where)
if err != nil {
return nil, err
Expand Down

0 comments on commit 1de6cea

Please sign in to comment.