Skip to content

Commit

Permalink
Merge pull request #50 from bplatz/master
Browse files Browse the repository at this point in the history
Add :if-exists support to :delete statement
  • Loading branch information
mpenet authored Apr 14, 2017
2 parents ebfd148 + f666368 commit 3da37f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/clj/qbits/hayt/cql.clj
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@
:from table)]
(-> sb
(str! "DELETE ")
(emit-row! q [:columns :from :using :where :if]))))
(emit-row! q [:columns :from :using :where :if :if-exists]))))

:drop-index
(fn [sb q index]
Expand Down

0 comments on commit 3da37f3

Please sign in to comment.