Yes, thanks, you'r right.

With you'r method, it's simple ;)
And you can make AND condition :

query &= db.mytable.tag == tag

OR condition :
query |= db.mytable.tag == tag

It's exactly what i'm seeking!
You'r solution, and Bruno's one, are perfect,

I hope that can help someone else,

Have a nice day!

On 11 fév, 00:23, Anthony <abasta...@gmail.com> wrote:
> On Friday, February 10, 2012 6:19:09 PM UTC-5, gbs wrote:
>
> > I have try the solution of anthony, but i don't have the skill in
> > python to success..
> > (some error with 'Rows' object has no attribute 'select', etc ;)
>
> Once the query has been built, this should work:
>
> rows = db(query).select()
>
> Anthony

Reply via email to