Boost logo

Boost :

Subject: Re: [boost] SQL client library ?
From: Jean-Louis Leroy (jl_at_[hidden])
Date: 2009-09-16 13:14:22


Jean-Louis Leroy wrote:
> Alp Mestan wrote:
>
>> The same for from and where (it may be trickier for the latter).
>
> where takes a single argument so there is no problem here...

On second thought I think I see your point. This should not compile :

        select(...).from(...).where(predicate1, predicate2)

However my plan is to make the comma build an expression_list. select()
will take an expression_list but where() will accept only an expression
(and a boolean expression at that).

J-L


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