mirror of https://gitee.com/bigwinds/arangodb
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
This commit is contained in:
commit
0426adb246
|
@ -120,10 +120,12 @@ function getRawQueryResults (query, bindVars) {
|
||||||
}
|
}
|
||||||
|
|
||||||
var rows = [ ];
|
var rows = [ ];
|
||||||
|
var func = function (row) {
|
||||||
|
rows.push(row);
|
||||||
|
};
|
||||||
|
|
||||||
while (queryResult.hasNext()) {
|
while (queryResult.hasNext()) {
|
||||||
queryResult.toArray().forEach(function(row) {
|
queryResult.toArray().forEach(func);
|
||||||
rows.push(row);
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
return rows;
|
return rows;
|
||||||
}
|
}
|
||||||
|
|
|
@ -458,7 +458,7 @@
|
||||||
|
|
||||||
if (oldKey !== newKey) {
|
if (oldKey !== newKey) {
|
||||||
try {
|
try {
|
||||||
doc = {
|
var doc = {
|
||||||
_key: newKey.toUpperCase(),
|
_key: newKey.toUpperCase(),
|
||||||
name: newKey,
|
name: newKey,
|
||||||
code: f.code,
|
code: f.code,
|
||||||
|
|
Loading…
Reference in New Issue