Method: SQLite::ResultSet#reset

Defined in:
lib/sqlite/resultset.rb

#resetObject

Reset the cursor, so that a result set which has reached end-of-file can be rewound and reiterated. Note: this uses an experimental API, which is subject to change. Use at your own risk.



97
98
99
100
101
# File 'lib/sqlite/resultset.rb', line 97

def reset
  API.finalize( @vm )
  commence
  @eof = false
end