From eda617fb095e6855d51e847e286ada587c3e3ba3 Mon Sep 17 00:00:00 2001 From: Jan Steemann Date: Mon, 7 Jan 2013 15:20:55 +0100 Subject: [PATCH] fixed missing client-side implementation for isVolatile --- js/client/client.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/js/client/client.js b/js/client/client.js index ea76d6e535..57a8498c06 100755 --- a/js/client/client.js +++ b/js/client/client.js @@ -1141,7 +1141,8 @@ function ArangoCollection (database, data) { var result = { waitForSync : requestResult.waitForSync, - journalSize : requestResult.journalSize + journalSize : requestResult.journalSize, + isVolatile : requestResult.isVolatile }; if (requestResult.createOptions != undefined) { @@ -2167,6 +2168,10 @@ function ArangoDatabase (connection) { if (properties.hasOwnProperty("isSystem")) { body.isSystem = properties.isSystem; } + + if (properties.hasOwnProperty("isVolatile")) { + body.isVolatile = properties.isVolatile; + } if (properties.hasOwnProperty("createOptions")) { body.createOptions = properties.createOptions;