Hi Gary,

Yeah, you're not the only one to say it, and I think you're all right. 
Thanks for the link to sql-phrasebook. I'm going to take it to the hammock 
and consider v0.3.0. :-)

Cheers,
Kris

On Friday, 15 November 2013 23:55:46 UTC, Gary Johnson wrote:
>
> Hi Kris,
>
>   I really like your approach, but I've also been feeling the burn a bit 
> with having to store each SQL query in its own file (especially since my 
> data exploration frequently leaves me cataloging hundreds of them). Take a 
> look at the approach used in sql-phrasebook:
>
>   https://github.com/ray1729/sql-phrasebook
>
>   I'm hoping it will give you some ideas to extend Yesql to address this 
> particular issue, ideally with a nicer syntax than that used in 
> sql-phrasebook. Otherwise, I think Yesql is bound for great things!
>
>   Cheers,
>     ~Gary
>
> On Tuesday, November 12, 2013 5:14:14 AM UTC-5, Kris Jenkins wrote:
>>
>> It depends on which kind of composability you mean. If we're talking 
>> about a "SELECT ... FROM ..." here with a "WHERE ..." there, I don't see 
>> why not. It's a down-the-road feature, but I'm open to it.
>>
>> But the kind of composability that would get me excited is the 
>> cascalog/datalog kind. Where you could say, "SELECT * FROM employee" and 
>> mix that with "SELECT * FROM deparment" and get an automatic, 
>> sensibly-optimised join. That's real composibility, beyond mere string 
>> concatenation. No, I don't see Yesql ever supporting that. (There again, I 
>> haven't seen it from any of the Clojure-SQL-DSLs either. If you have, 
>> please point me to them. I'd be interested!)
>>
>> Cheers,
>> Kris
>>
>> On Tuesday, 12 November 2013 03:35:46 UTC, John Hume wrote:
>>>
>>> For me, the one feature that can justify an internal DSL for generating 
>>> SQL is the ability to compose queries. I assume that's not on the Yesql 
>>> roadmap. 
>>> On Nov 11, 2013 5: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>
>>>> .
>>>>
>>>> Feedback welcomed,
>>>> Kris
>>>>
>>>> -- 
>>>> -- 
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Clojure" group.
>>>> To post to this group, send email to clo...@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+u...@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+u...@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.

Reply via email to