mirror of https://gitee.com/bigwinds/arangodb
fixed missing client-side implementation for isVolatile
This commit is contained in:
parent
69eb391e59
commit
eda617fb09
|
@ -1141,7 +1141,8 @@ function ArangoCollection (database, data) {
|
||||||
|
|
||||||
var result = {
|
var result = {
|
||||||
waitForSync : requestResult.waitForSync,
|
waitForSync : requestResult.waitForSync,
|
||||||
journalSize : requestResult.journalSize
|
journalSize : requestResult.journalSize,
|
||||||
|
isVolatile : requestResult.isVolatile
|
||||||
};
|
};
|
||||||
|
|
||||||
if (requestResult.createOptions != undefined) {
|
if (requestResult.createOptions != undefined) {
|
||||||
|
@ -2168,6 +2169,10 @@ function ArangoDatabase (connection) {
|
||||||
body.isSystem = properties.isSystem;
|
body.isSystem = properties.isSystem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (properties.hasOwnProperty("isVolatile")) {
|
||||||
|
body.isVolatile = properties.isVolatile;
|
||||||
|
}
|
||||||
|
|
||||||
if (properties.hasOwnProperty("createOptions")) {
|
if (properties.hasOwnProperty("createOptions")) {
|
||||||
body.createOptions = properties.createOptions;
|
body.createOptions = properties.createOptions;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue