Can i put more than one sql statement in a file? Josh
On Mon, Nov 18, 2013 at 2:01 PM, Kris Jenkins <krisajenk...@gmail.com>wrote: > > > On Monday, 18 November 2013 03:21:12 UTC, Jeremy Heiler wrote: > >> On Mon, Nov 11, 2013 at 6:10 AM, Kris Jenkins <krisaj...@gmail.com>wrote: >> >>> https://github.com/krisajenkins/yesql >>> >>> Yesql is a simple library for blending SQL & Clojure together, cleanly. >>> Here's how it works <https://github.com/krisajenkins/yesql#rationale>, >>> and how to use it <https://github.com/krisajenkins/yesql#example-usage>. >>> >> >> Very cool. Do you have any thoughts on a caching strategy? >> > > Yes, for the next version. At the moment it's only changing when the > defquery is re-eval'd. That's right for production, but a bit of a pain for > development. In development you want any change to the underlying sql file > to be picked up immediately. So I plan to do that, picking up the dev/prod > switch via leiningen, I think. > > (That's caching the definition, of course. I've no plan to cache the > results of the queries. That's a job for memoize/core.cache.) > > Cheers, > Kris > > -- > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to clojure@googlegroups.com > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > clojure+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en > --- > You received this message because you are subscribed to the Google Groups > "Clojure" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to clojure+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.