PHP » GoLang |
login |
register |
about
|
GoLang cubrid_move_cursor
request it (304)
GoLang replacement for PHP's cubrid_move_cursor
[edit | history]
cubrid_move_cursor(PECL CUBRID >= 8.3.0) cubrid_move_cursor — Move the cursor in the result Description
bool cubrid_move_cursor
( resource
$req_identifier
, int $offset
[, int $origin = CUBRID_CURSOR_CURRENT
] )
The cubrid_move_cursor() function is used to move the
current cursor location of If the value of cursor movement range goes over the valid limit, then the cursor moves to the next location after the valid range for the cursor. For example, if you move 20 units in the result with the size of 10, then the cursor will move to 11th place and return CUBRID_NO_MORE_DATA. Parameters
Return Values
ExamplesExample #1 cubrid_move_cursor() example
<?php The above example will output: array(2) { [0]=> string(1) "G" [1]=> string(4) "Gold" } array(2) { [0]=> string(1) "X" [1]=> string(5) "Mixed" } array(2) { [0]=> string(1) "M" [1]=> string(3) "Man" } |
more
Recently updated
more
Most requested
more
Last requests
|