mirror of https://gitee.com/bigwinds/arangodb
Bugfix: Expected '===' and instead saw '=='
This commit is contained in:
parent
0550715088
commit
ab42b2adfe
|
@ -1046,13 +1046,13 @@ function process_property_compare (compare) {
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
function process_property_filter (data, num, property, collname) {
|
||||
if (property.key !== undefined && property.compare == "HAS") {
|
||||
if (property.key !== undefined && property.compare === "HAS") {
|
||||
if (data.filter === "") { data.filter = " FILTER"; } else { data.filter += " &&";}
|
||||
data.filter += " HAS(" + collname + ", @key" + num.toString() + ") ";
|
||||
data.bindVars["key" + num.toString()] = property.key;
|
||||
return;
|
||||
}
|
||||
if (property.key !== undefined && property.compare == "HAS_NOT") {
|
||||
if (property.key !== undefined && property.compare === "HAS_NOT") {
|
||||
if (data.filter === "") { data.filter = " FILTER"; } else { data.filter += " &&";}
|
||||
data.filter += " !HAS(" + collname + ", @key" + num.toString() + ") ";
|
||||
data.bindVars["key" + num.toString()] = property.key;
|
||||
|
|
Loading…
Reference in New Issue