什么是使用可滚动游标获取行"?
What is "Fetching rows with a scrollable cursor" all about?
它创建了一个 cursor 用于查询,它允许您迭代结果集而无需立即获取整个结果.可滚动游标,特别是允许向后迭代的游标.
It creates a cursor for the query, which allows you to iterate over the result set without fetching the whole result at once. A scrollable cursor, specifically, is one that allows iterating backwards.
使用示例:您可以向前滚动,直到找到您需要的记录,如果您也需要,则可以返回以获取先前的记录.
Example use: You can scroll forward until you find the record you need and iterate back to fetch the previous records, if you need them, too.
这篇关于什么是 PDO 可滚动游标?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!