[Helma-user] difficult object relational mapping

Breton Slivka zen at zenpsycho.com
Wed Mar 5 21:33:49 CET 2008


A simpler way you might do it is to use helma.Database to perform your
ordered query, to get an array of object ID's. Then simply loop
through those id's with a collection.get(id[i]) call.  In a language
like PHP this would be a major performance mistake since it may
perform a new query for each and every get call. BUT because of
helma's object caching this actually works really fast, with very few
calls to the DB.


More information about the Helma-user mailing list