On 02/02/2017 09:46 AM, Suliman wrote:
Could you explain real case if rangification of ResultSet
Does it's mean that I can write
foreach(x;result.empty) ? Or how to use it?
.empty just checks whether the range is empty, it returns true/false.
You can't iterate over that. But yes, you can iterate over the ResultSet
itself. Of course, ResultSet is random-access, so you can also index it
like an array: "resultset" returns the first row.