1
0
Fork 0
arangodb/js/apps/system
Jan Steemann 748107b291 changed behavior of `db._query()` in the ArangoShell:
if the command's result is printed in the shell, the first 10 results will be printed. Previously
only a basic description of the underlying query result cursor was printed. Additionally, if the
cursor result contains more than 10 results, the cursor is assigned to a global variable `more`,
which can be used to iterate over the cursor result.

Example:

    arangosh [_system]> db._query("FOR i IN 1..15 RETURN i")
    [object ArangoQueryCursor, count: 15, hasMore: true]

    [
      1,
      2,
      3,
      4,
      5,
      6,
      7,
      8,
      9,
      10
    ]

    type 'more' to show more documents

    arangosh [_system]> more
    [object ArangoQueryCursor, count: 15, hasMore: false]

    [
      11,
      12,
      13,
      14,
      15
    ]
2015-04-04 19:42:55 +02:00
..
_admin/aardvark/APP changed behavior of `db._query()` in the ArangoShell: 2015-04-04 19:42:55 +02:00
_api/gharial/APP Merge branch 'devel' of github.com:arangodb/arangodb into foxx-pathes 2015-02-06 17:22:01 +01:00
_system fixed "line too long" 2015-03-10 14:44:31 +01:00