[dev] ansel (datathree) limit

Chuck Hagenbuch chuck at horde.org
Sun Aug 15 15:45:29 PDT 2004


Quoting Duck <duck at obala.net>:

> At first we must know how many records we have. Attached is a patch that adds
> countByAttributes method to the DataTree class. Its a copy of getByAttributes
> mathod, just that returns the count of the matching DataThree objects.

I've cleaned this up both style-wise and also broken the query 
generation into a
seperate function so avoid duplication. I'll commit it tonight - thanks.

-chuck

--
"Regard my poor demoralized mule!" - Juan Valdez


More information about the dev mailing list