1
0
Fork 0
arangodb/js/client
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
..
bootstrap fixed shellView error handling 2014-10-27 11:37:53 +01:00
modules/org changed behavior of `db._query()` in the ArangoShell: 2015-04-04 19:42:55 +02:00
tests Upgrading and replacing Apps using FoxxManager with broken Apps will now maintain the original App instead of deleting everything 2015-03-06 13:16:50 +01:00
client.js Enabled unused: true, ported aardvark jslint to jshint. 2014-09-02 22:18:18 +02:00