diff --git a/js/client/client.js b/js/client/client.js index 294f4ae250..8eaec871f7 100644 --- a/js/client/client.js +++ b/js/client/client.js @@ -2620,7 +2620,7 @@ function ArangoDatabase (connection) { ' db: ArangoDatabase ' + "\n" + 'Example: ' + "\n" + ' > db._collections(); list all collections ' + "\n" + - ' > db..all(); list all documents ' + "\n" + + ' > db..all().toArray(); list all documents ' + "\n" + ' > id = db..save({ ... }); save a document ' + "\n" + ' > db..remove(<_id>); delete a document ' + "\n" + ' > db..document(<_id>); get a document ' + "\n" + diff --git a/js/client/js-client.h b/js/client/js-client.h index 6b0ab759bb..e62ec64ed3 100644 --- a/js/client/js-client.h +++ b/js/client/js-client.h @@ -2621,7 +2621,7 @@ static string JS_client_client = " ' db: ArangoDatabase ' + \"\\n\" +\n" " 'Example: ' + \"\\n\" +\n" " ' > db._collections(); list all collections ' + \"\\n\" +\n" - " ' > db..all(); list all documents ' + \"\\n\" +\n" + " ' > db..all().toArray(); list all documents ' + \"\\n\" +\n" " ' > id = db..save({ ... }); save a document ' + \"\\n\" +\n" " ' > db..remove(<_id>); delete a document ' + \"\\n\" +\n" " ' > db..document(<_id>); get a document ' + \"\\n\" +\n"