On Tuesday, October 22, 2013 3:48:26 PM UTC-4, Richard wrote:

> Ok, wasn't know if it was direct Python operator or web2py implementation, 
> the documentation is not clear about that : 
>
> http://web2py.com/books/default/chapter/29/06/the-database-abstraction-layer?search=union
>

The Rows class defines its own methods for the & and | operators (via the 
__and__ and __or__ special methods). I just submitted a patch to fix the 
problem with the | operator (it returns a new Rows object, but it was also 
inadvertently mutating the existing Rows object).

Anthony

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to