Subject: Re: [boost] Boost.SQL?
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2010-09-15 13:58:59
On 15/09/2010 16:11, Dave Abrahams wrote:
> Here's a thread that might be interesting for anyone thinking of
> implementing a DSEL for SQL:
> I notice that most of this thread is going in the direction of trying
> to replicate SQL syntax instead of doing something closer to normal
> logic. I'd be much happier to use a syntax that just specifies "what
> I want" rather than "how to get there." In some cases the library
> could be responsible for conjuring up JOINs, for example, when that's
> the most efficient approach.
Relational algebra is the way databases work, and SQL is the standard
language to express relational operations.
Are you suggesting to create a language to query objects trees rather
than work with relations, like Object-Relational mapping does?
I think that's a terrible idea.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk