Boost logo

Boost :

From: Felipe Magno de Almeida (felipe.m.almeida_at_[hidden])
Date: 2006-04-15 19:16:01


On 4/15/06, Andreas Pokorny <andreas.pokorny_at_[hidden]> wrote:

[snipped]

>
> Slightly offtopic, but what about something like:
>
> using std::sql::select;
> using std::sql::from;
>
> auto query = select >> value >> from >> numbers;
> typedef decltype(query)::tuple_type tuple_type;
>
> sql::rowset<tuple_type> rows(query,db);
> ...
>
> or maybe a more generic reational syntax...

I was thinking exactly about something like this. A
xpressive/spirit-like way of writing SQL. It should be faster too, I
guess.

>
> Regards
> Andreas Pokorny

--
Felipe Magno de Almeida

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