add rewind
function to QueryCursor
#12710
Merged
rewind
function to QueryCursor
#12710