In book chapter 6.17.6 I expect different return in the following example: >>> rows = db((db.person.name=='Alex') & (db.person.id>3)).select() >>> for row in rows: print row.id, row.name 4 Alex
Why does it return 4 Alex ? I expect none, as there is no record with id>3 and name == Alex. I also don't understand the last example: >>> rows = db((db.person.name=='Alex') | (db.person.id>3)).select() >>> for row in rows: print row.id, row.name 2 Bob 3 Carl I expect it to return 1 Alex.