[Zope] sql query

Oai Luong oluong@mitre.org
Mon, 10 Apr 2000 11:23:38 -0400


I have a link that when the user clicks on it queries that database
using a method.  The database is postgres.   what is want is beside the
link  in parenthesis displaying  how many rows are in that table.  For
example:

Employees (45)
Companies (46)

I think you would use a counter for this right ??  How would i approach
this ?  The number should be dynamic so that as it increase the number
will increase automatically.

Thanks