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))

Reply via email to