Boost logo

Boost :

Subject: Re: [boost] SQL client library ?
From: Jean-Louis Leroy (jl_at_[hidden])
Date: 2009-09-07 05:07:47


> You may be interested in checking the std::rdb workshop from BoostCon'09
>
Thanks. After a quick look I have two remarks :

1. The list doesn't seem very active. And you need to subscribe just to
see the archive (weird). Probably there are many people here who have
valuable opinions on the subject and who will never be on that list.

2. It looks like the options they are considering for a syntax are
mainly inspired by Soci and pqxx. They have this in common : the query
is expressed as SQL text (à la Boost.Regex) that is parsed at run time
instead of using language constructs (à la Boost.Xpressive) that can be
checked at compile time. This is error prone : you can pass illegal SQL
; and the returned values will incur runtime typecasting, which may fail
at run time in case of mismatch.

Jean-Louis


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