pbreit Sat, 01 Oct 2011 15:07:30 -0700
I think this works:
db(db.b.link==None).select(db.a.ALL, db.b.ALL, left=db.b.on(db.a.id==db.b.link))