@brief disposes the result cursor.dispose()
cursor.dispose()
If you are no longer interested in any further results, you should call dispose in order to free any resources associated with the cursor. After calling dispose you can no longer access the cursor.