Boost logo

Boost :

Subject: Re: [boost] SQL client library ?
From: Eric MALENFANT (Eric.Malenfant_at_[hidden])
Date: 2009-09-16 14:46:54


Jean-Louis Leroy wrote:
>
> Like this :
>
> select((t.id)).from(t).where(t.name.like("pattern"))
>
> select((t1.id, t2.id)).from((t1, t2, p))
> .where((t1.income + t2.income).between(20, 40)
> && p.husband == t1.id && p.wife == t2.id)
>

Do you plan to support non trivial projections in select()? For example:
  SELECT CONCAT(last_name,', ',first_name) AS full_name


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