[Developers] cursor:false in a mqlread request

Tom Morris tfmorris at gmail.com
Fri Jul 24 03:25:09 UTC 2009


> what does it mean for the cursor value to be false in a mqlread request?

False is the end condition.  You seed the process with cursor = true
and as long as it returns a value that is "truthy" (ie. not null or
false), there's more data to be read and you need to feed it the
returned cursor value when you do the next read.  False/falsey means
the sequence is done, so it's not expecting to get that returned on
the next read.

Tom


More information about the Developers mailing list