cursor游标查询
时间: 2023-08-27 11:11:22 浏览: 85
赋予执行权限-带你彻底搞懂python操作mysql数据库(cursor游标讲解)
Cursor游标查询是一种替代分页查询的方案,可以通过迭代器来获取数据进行处理。在Cursor中,我们可以使用isOpen()方法来判断Cursor对象是否是打开状态,只有当打开时才能取数据。isConsumed()方法用于判断查询结果是否全部取完。getCurrentIndex()方法可以返回已经获取了多少条数据。<em>1</em><em>2</em><em>3</em>
#### 引用[.reference_title]
- *1* *3* [Mybatis游标Cursor查询](https://blog.csdn.net/qq_29569183/article/details/111167051)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}} ] [.reference_item]
- *2* [基于ArcGIS的python 编程 游标函数Cursor的使用总结——SearchCursor(查询游标)](https://blog.csdn.net/ucs426/article/details/106496891)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}} ] [.reference_item]
[ .reference_list ]
阅读全文