支援的版本:目前 (17) / 16 / 15 / 14 / 13
開發版本:devel
不支援的版本:12 / 11 / 10 / 9.6 / 9.5 / 9.4 / 9.3 / 9.2 / 9.1 / 9.0 / 8.4 / 8.3 / 8.2 / 8.1 / 8.0 / 7.4

SPI_cursor_move

SPI_cursor_move — 移動游標

概要

void SPI_cursor_move(Portal portal, bool forward, long count)

描述

SPI_cursor_move 跳過游標中的若干行。這等同於 SQL 命令 MOVE 的一個子集(有關更多功能,請參閱 SPI_scroll_cursor_move)。

引數

Portal portal

包含游標的 portal

bool forward

true 表示向前移動,false 表示向後移動

long count

要移動的最大行數

注意事項

如果游標的計畫不是使用 CURSOR_OPT_SCROLL 選項建立的,則向後移動可能會失敗。

提交更正

如果您在文件中看到任何不正確、與您使用特定功能的經驗不符或需要進一步澄清的地方,請使用此表格來回報文件問題。