ResultRange.isValid

Check whether the range can still be used, or has been invalidated.

A ResultRange becomes invalidated (and thus cannot be used) when the server is sent another command on the same connection. When an invalidated ResultRange is used, a mysql.exceptions.MYXInvalidatedRange is thrown. If you need to send the server another command, but still access these results afterwords, you can save the results for later by converting this range to an array via std.array.array().

struct ResultRange
@property const pure nothrow
bool
isValid
()

Meta