[web2py] Re: Trying to reproduce Ex. in manual, sec. 6.21.1 (inner joins)

2012-09-10 Thread Massimo Di Pierro
There is a mistake in the book. It should have been: rows = db(db.person).select(db.person.ALL, db.dog.ALL, join=db.dog.on( db.person.id==db.dog.owner)) or rows = db(db.person).select(db.person.ALL, db.dog.ALL, left=db.dog.on( db.person.id==db.dog.owner)) Perhaps is should default to select all

[web2py] Re: Trying to reproduce Ex. in manual, sec. 6.21.1 (inner joins)

2012-09-10 Thread Massimo Di Pierro
Anyway, I changed the code in trunk so that the example in the book works as described. On Monday, 10 September 2012 17:27:01 UTC-5, Massimo Di Pierro wrote: > > There is a mistake in the book. It should have been: > > rows = db(db.person).select(db.person.ALL, db.dog.ALL, join=db.dog.on( > db.pe

[web2py] Re: Trying to reproduce Ex. in manual, sec. 6.21.1 (inner joins)

2012-09-11 Thread MichaelF
Great; I appreciate it. Do you still want me to open a ticket with a suggestion for an enhancement? Regards, Michael On Monday, September 10, 2012 5:29:12 PM UTC-6, Massimo Di Pierro wrote: > > Anyway, I changed the code in trunk so that the example in the book works > as described. > > On Mond

[web2py] Re: Trying to reproduce Ex. in manual, sec. 6.21.1 (inner joins)

2012-09-11 Thread Massimo Di Pierro
Non need. It is now supported as you expected it. On Tuesday, 11 September 2012 09:52:22 UTC-5, MichaelF wrote: > > Great; I appreciate it. > > Do you still want me to open a ticket with a suggestion for an enhancement? > > Regards, > Michael > > On Monday, September 10, 2012 5:29:12 PM UTC-6, Mas