Hi Geert, I'm trying to get the maximum unsigned long value to tell seach:search() to return all results.
I was hoping there would be an ML function out there that would tell me the max unsigned long value. Regards, Danny On Tue, May 8, 2012 at 9:54 AM, Geert Josten <[email protected]> wrote: > Hi Danny, > > > > Can you elaborate on what you exactly mean? Given a sequence, you can just > use fn:max() to get the highest value. If you want to determine the highest > value that occurs anywhere in the database, you can use cts:values with a > descending order and limit of 1. The first and single result is the > highest.. > > > > Kind regards, > > Geert > > > > *Van:* [email protected] [mailto: > [email protected]] *Namens *Danny Sinang > *Verzonden:* dinsdag 8 mei 2012 15:49 > *Aan:* general > *Onderwerp:* [MarkLogic Dev General] How to get max value in ML > > > > Hi, > > > > Is there a function in ML that returns the maximum values for integer and > unsigned long ? > > > > Regards, > Danny > > _______________________________________________ > General mailing list > [email protected] > http://developer.marklogic.com/mailman/listinfo/general > >
_______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
