So, for instance : db().select(db.person.name, db.person.id.count(), groupby=db.person.id, left=db.dog.on(db.person.id==db.dog.person_id))
will give me the person, and the number of dogs that this person has. But I only want to get persons with no dogs. Regards, --