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

Duck duck at obala.net
Thu Mar 17 10:07:57 PST 2005


--Boundary-00=_9dcOC1K/UvhlHSa
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

On Wednesday 16 of March 2005 18:10, Chuck Hagenbuch wrote:
> Quoting Duck <duck at obala.net>:
> > 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.
>
> Could you resubmit this to work with the new bind variable support in
> the DataTree SQL? The whole class is a tad different now unfortunately.

Of course.

Duck

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

A non-text attachment was scrubbed...
Name: sql3.diff
Type: text/x-diff
Size: 10437 bytes
Desc: not available
Url : http://lists.horde.org/archives/dev/attachments/20050317/af6aa01c/sql3.bin

--Boundary-00=_9dcOC1K/UvhlHSa--


More information about the dev mailing list