1
0
Fork 0

make db.collection.document(_key) work in arangosh

This commit is contained in:
Jan Steemann 2013-01-10 16:31:24 +01:00
parent 819f6775d7
commit 5286c636bb
1 changed files with 1 additions and 1 deletions

View File

@ -1644,7 +1644,7 @@ function ArangoCollection (database, data) {
} }
if (rev === null) { if (rev === null) {
requestResult = this._database._connection.GET(this._documenturl(id)); requestResult = this._database._connection.GET(this._documenturl(this._name + "/" + id));
} }
else { else {
requestResult = this._database._connection.GET(this._documenturl(id), requestResult = this._database._connection.GET(this._documenturl(id),