[Developers] Paging through result sets.
Arthur van Hoff
AVH at zing.net
Sat Jun 7 23:58:39 UTC 2008
Hi Kendra,
Currently you can only move forward, but you can keep all the old
cursors and reuse them if you want to move back.
I've asked if the cursor could include the current offset and an
approximate result set size. It would be great if you could specify the
cursor offset so that you can seek through the result set at random.
This would allow you to move backwards more easily. Not sure if this
will get implemented.
From: developers-bounces at freebase.com
[mailto:developers-bounces at freebase.com] On Behalf Of Kendra Kuhl
Sent: Saturday, June 07, 2008 2:40 PM
To: 'For discussions about MQL,Freebase API and apps built on Freebase'
Subject: [Developers] Paging through result sets.
I'm attempting to create some system of paging through result sets
retrieved from Freebase. I am using a cursor to move forward through the
result set, but can't figure out how to move backwards through the
result set (without some difficulty). I've looked through the
documentation and the mailing list archive and didn't find a solution.
Does mql offer some kind of page, offset, skip parameter? Or a back /
forward for the cursor? I saw the offset reserved keyword, but can't
find any documentation on how to use it or figure out if it even does
what I think it does.
Thanks in advance,
Kendra
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freebase.com/pipermail/developers/attachments/20080607/c8b9eaf4/attachment.htm
More information about the Developers
mailing list