mirror of https://gitee.com/bigwinds/arangodb
Add SyntheticRequest#database
This commit is contained in:
parent
aaaa3ca8f8
commit
7364c428e7
|
@ -140,6 +140,10 @@ module.exports = class SyntheticRequest {
|
|||
|
||||
// idiosyncratic
|
||||
|
||||
get database() {
|
||||
return this._raw.database;
|
||||
}
|
||||
|
||||
params(name) {
|
||||
if (hasOwnProperty.call(this.pathParams, name)) {
|
||||
return this.pathParams[name];
|
||||
|
|
Loading…
Reference in New Issue