Class Cursor
Provides access to the results of an AQL query or another statement
The cursor might not contain all results in the beginning.
If the result set is too big to be transferred in one go, the cursor might issue additional HTTP requests to fetch the remaining results from the server.
- triagens\ArangoDb\Cursor implements Iterator
Methods summary
public
|
#
__construct(
Initialise the cursor with the first results and some metadata |
public
boolean
|
|
public
integer
|
|
public
integer
|
|
public
boolean
|
|
public
array
|
|
public
|
|
public
array
|
|
public
integer
|
|
public
|
|
public
boolean
|
|
public
array
|
|
public
array
|
|
public
array
|
|
public
integer
|
|
public
integer
|
|
public
integer
|
|
public
integer
|
|
public
integer
|
|
public
integer
|
|
public
string
|
Constants summary
string |
ENTRY_ID
result entry for cursor id |
#
'id'
|
string |
ENTRY_HASMORE
result entry for "hasMore" flag |
#
'hasMore'
|
string |
ENTRY_RESULT
result entry for result documents |
#
'result'
|
string |
ENTRY_EXTRA
result entry for extra data |
#
'extra'
|
string |
ENTRY_STATS
result entry for stats |
#
'stats'
|
string |
FULL_COUNT
result entry for the full count (ignoring the outermost LIMIT) |
#
'fullCount'
|
string |
ENTRY_CACHE
cache option entry |
#
'cache'
|
string |
ENTRY_CACHED
cached result attribute - whether or not the result was served from the AQL query cache |
#
'cached'
|
string |
ENTRY_SANITIZE
sanitize option entry |
#
'_sanitize'
|
string |
ENTRY_FLAT
"flat" option entry (will treat the results as a simple array, not documents) |
#
'_flat'
|
string |
ENTRY_TYPE
"objectType" option entry. |
#
'objectType'
|
string |
ENTRY_BASEURL
"baseurl" option entry. |
#
'baseurl'
|