[Developers] Paging Results?
William Pietri
william at scissor.com
Wed Mar 21 22:08:06 UTC 2007
John Giannandrea wrote:
> yes, MQL supports cursors.
> http://www.freebase.com/view/documentation/ch04.html#cursors
>
And in case it helps, this is a little different than a normal cursor,
where you grab it and keep pulling results from it.
When you get your first set of MQL results, you get a pointer to the
next set. In that next set, you will get a pointer to the following set.
In the following set, you get yet another pointer. Just keep getting the
pointer out of the new set to get to the next set and you'll be fine.
Oh, and also unlike a normal cursor, it doesn't appear that you have to
close or free up the cursor when you're done.
William
More information about the Developers
mailing list