Dear all,

We certainly can do this

count = db.person.field.count()
for row in db(db.person.field==db.dog.owner).select(db.person.name, count, 
groupby=db.person.field):
print row.person.name, row[count]

but what if we have a person.field of type list:string. I know the field has 
a 'contains' method but how to attach the count method following after that?

Thank you

Rama

Reply via email to