[dev] ansel (datathree) limit

Duck duck at obala.net
Sat Aug 14 09:36:37 PDT 2004


On Saturday 14 of August 2004 03:45, Chuck Hagenbuch wrote:
> I'm always open for suggestions (better yet, patches) on ways to improve
> the flexibility and performance of the DataTree. Bring it on. :)
>
> -chuck

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.

Duck
-------------- next part --------------
A non-text attachment was scrubbed...
Name: count.patch
Type: text/x-diff
Size: 4920 bytes
Desc: not available
Url : http://lists.horde.org/archives/dev/attachments/20040814/225fef24/count.bin


More information about the dev mailing list