什么是使用可滚动游标获取行"?
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 可滚动游标?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!
PHP、MySQL PDOException 的死锁异常代码?Deadlock exception code for PHP, MySQL PDOException?(PHP、MySQL PDOException 的死锁异常代码?)
PHP PDO MySQL 可滚动游标不起作用PHP PDO MySQL scrollable cursor doesn#39;t work(PHP PDO MySQL 可滚动游标不起作用)
PHP PDO ODBC 连接PHP PDO ODBC connection(PHP PDO ODBC 连接)
使用 PDO::FETCH_CLASS 和魔术方法Using PDO::FETCH_CLASS with Magic Methods(使用 PDO::FETCH_CLASS 和魔术方法)
php pdo 只从 mysql 获取一个值;等于变量的值php pdo get only one value from mysql; value that equals to variable(php pdo 只从 mysql 获取一个值;等于变量的值)
MSSQL PDO 找不到驱动程序MSSQL PDO could not find driver(MSSQL PDO 找不到驱动程序)