[dev] DataTree::getByAttributes() with sort parameters

Duck duck at obala.net
Tue Mar 15 06:48:55 PST 2005


--Boundary-00=_XXvNC10ZSNJuPk/
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

The patch contains the previews supplied extension to getFirst()/getLast() to 
return the min/max tree object trough an attributable query and adds an 
possibility to override the sorting order of the getByAttributes() results. 
If the optional parameters are passed, buildAttributeQuery()
will add another left join to sort the results like getSortedTree() does.

Duck

--Boundary-00=_XXvNC10ZSNJuPk/
Content-Disposition: attachment;
	filename="sql2.diff"
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

A non-text attachment was scrubbed...
Name: sql2.diff
Type: text/x-diff
Size: 11304 bytes
Desc: not available
Url : http://lists.horde.org/archives/dev/attachments/20050315/95423b8c/sql2.bin

--Boundary-00=_XXvNC10ZSNJuPk/--


More information about the dev mailing list