Boost logo

Boost :

From: Jose (jmalv04_at_[hidden])
Date: 2005-10-04 11:47:21


Yes. I was only wondering if it could be possible to map (at compile time) a
sql string like
select name from people where name ="Reece" ---> select(people,
col<person_name>() == "Reece");
so that the "library user" specifies standard sql syntax (I am interested in
using RML but am not an expert!)

On 10/4/05, Pavel Vozenilek <pavel_vozenilek_at_[hidden]> wrote:
>
>
> "Jose" wrote:
>
> > One idea that could make the syntax issues more palatable is to
> > incorporate
> > some ideas from the soci.sf.net <http://soci.sf.net> <http://soci.sf.net>
> library
> >
> > http://lists.boost.org/Archives/boost/2005/10/94680.php
> >
> > I have not given thought to how easy it would be to implement it, but
> the
> > idea is that the queries are valid sql queries and then the soci layer
> > translates those to the more arcane syntax/es. Simplifying and unifying
> > the
> > syntax should be a good thing !
> >
> SOCI library produces string which is passed down
> to SQL engine for interpretation. This approach is very
> different from what RML does.
>
> /Pavel
>
>
>
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost
>


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk