mirror of https://gitee.com/bigwinds/arangodb
make db.collection.document(_key) work in arangosh
This commit is contained in:
parent
819f6775d7
commit
5286c636bb
|
@ -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),
|
||||||
|
|
Loading…
Reference in New Issue