Skip to content

Commit

Permalink
Pass through sql-vecs in q
Browse files Browse the repository at this point in the history
  • Loading branch information
swlkr committed Mar 15, 2019
1 parent b850bb9 commit 15575c5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/coast/db.clj
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,9 @@
(associations-fn)
{})
col-map (col-map adapter)
sql-vec (sql/sql-vec adapter col-map associations v params)
sql-vec (if (sql-vec? v)
v
(sql/sql-vec adapter col-map associations v params))
_ (when (or (= "true" (db.connection/spec :debug))
(true? (db.connection/spec :debug)))
(println sql-vec))
Expand Down

0 comments on commit 15575c5

Please sign in to comment.