Subject: Re: [boost] Boost.SQL?
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2010-09-14 10:29:57
On 14/09/10 14:26, Roland Bock wrote:
> std::vector<record> records =
It probably should just return a range rather than a vector.
> sql::where(t::id() > 1000 && t::first_name() == name),
Have you considered using Proto to define and check the grammar of that
> // the values can be accessed by their name
> // and are of the correct type, e.g.
> records.front().first_name_; // is a string
> records.front().middle_name_; // optional<string> because the table
> definition says that it can be NULL
How are first_name/middle_name/priority/id attached to the record type?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk