-
Notifications
You must be signed in to change notification settings - Fork 0
How to plug into yesql? #1
Copy link
Copy link
Open
Description
In this yesql issue, you mention that squirrel easily plugs into yesql, but I can't figure out an easy way to do it. All I'm coming up with is something like this:
(defquery "get-all-things-query.sql" {:connection my-connection})
(defn get-all-things []
(map to-clj (get-all-things-query)))...which would have to be done for every query. Seems like too much repetition. Any pointers?
Thanks.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels