sql

All things SQL and JDBC...
adam 2020-07-06T00:04:46.159400Z

I personally created this little helper to keep things a bit more concise:

(defn cast
  [type vals]
  (mapv #(honey/call :cast (name %) type) vals))
:where [:in :role (db/cast :user_role [:teacher :parent])]

2