On Thursday, February 8, 2018 at 9:23:59 PM UTC-5, Anthony wrote:
>
> Looks like the book is wrong -- according to the code, rows1 & rows2 
> simply combines the records from each Rows object -- it does not find the 
> intersection.
>

Actually, the book was originally correct, and at some point it was changed 
to incorrectly state that "&" was for intersection (it was always for a 
union without removing duplicates). 
See 
https://github.com/web2py/web2py-book/commit/1984ff40c73c6da17ff268090c8526e3375314b5#diff-5c07237eda807f68bdcaebb6e01fc58bL1534.

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/d/optout.

Reply via email to