mirror of https://gitee.com/bigwinds/arangodb
comments
This commit is contained in:
parent
59c3dac151
commit
33d5abbd91
|
@ -682,7 +682,7 @@ ArangoCollection.prototype.iterate = function (iterator, options) {
|
|||
ArangoCollection.prototype.removeByExample = function (example, waitForSync) {
|
||||
var documents;
|
||||
|
||||
// TODO this is not optiomal for the client, there should a HTTP call handling
|
||||
// TODO this is not optiomal for the client, there should be an HTTP call handling
|
||||
// everything on the server
|
||||
|
||||
documents = this.byExample(example);
|
||||
|
|
|
@ -95,7 +95,7 @@ function AHUACATL_INDEX (collection, indexTypes) {
|
|||
var index = indexes[i];
|
||||
|
||||
for (var j = 0; j < indexTypes.length; ++j) {
|
||||
if (index.type == indexTypes[j]) {
|
||||
if (index.type === indexTypes[j]) {
|
||||
return index.id;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue