1
0
Fork 0
This commit is contained in:
Jan Steemann 2012-08-28 14:08:54 +02:00
parent ed395ab8ce
commit 2f88d9413a
2 changed files with 2 additions and 2 deletions

View File

@ -2620,7 +2620,7 @@ function ArangoDatabase (connection) {
' db: ArangoDatabase ' + "\n" +
'Example: ' + "\n" +
' > db._collections(); list all collections ' + "\n" +
' > db.<coll_name>.all(); list all documents ' + "\n" +
' > db.<coll_name>.all().toArray(); list all documents ' + "\n" +
' > id = db.<coll_name>.save({ ... }); save a document ' + "\n" +
' > db.<coll_name>.remove(<_id>); delete a document ' + "\n" +
' > db.<coll_name>.document(<_id>); get a document ' + "\n" +

View File

@ -2621,7 +2621,7 @@ static string JS_client_client =
" ' db: ArangoDatabase ' + \"\\n\" +\n"
" 'Example: ' + \"\\n\" +\n"
" ' > db._collections(); list all collections ' + \"\\n\" +\n"
" ' > db.<coll_name>.all(); list all documents ' + \"\\n\" +\n"
" ' > db.<coll_name>.all().toArray(); list all documents ' + \"\\n\" +\n"
" ' > id = db.<coll_name>.save({ ... }); save a document ' + \"\\n\" +\n"
" ' > db.<coll_name>.remove(<_id>); delete a document ' + \"\\n\" +\n"
" ' > db.<coll_name>.document(<_id>); get a document ' + \"\\n\" +\n"