Skip to content

Commit

Permalink
Support for Filter method .contains()
Browse files Browse the repository at this point in the history
  • Loading branch information
hopecee committed Jan 14, 2018
1 parent 595c381 commit c3b6fb6
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -874,6 +874,12 @@ else if (neo4jExprArgs.size() == 1)
return neo4jExpr;
}
}
else if ("contains".equals(operation))
{
Neo4jExpression neo4jExpr = new Neo4jStringExpression("contains(" + invokedFieldExpr.getCypherText() + ")");
stack.push(neo4jExpr);
return neo4jExpr;
}
}
else if (Numeric.class.isAssignableFrom(invokedFieldExpr.getMemberMetaData().getType()))
{
Expand Down Expand Up @@ -1051,4 +1057,4 @@ else if (RelationType.isRelationMultiValued(relationType))

return null;
}
}
}

0 comments on commit c3b6fb6

Please sign in to comment.