Most of the methods in ExpressionFactory are convenience methods.
matchDbExp:
return new ASTEqual(new ASTDbPath(pathSpec), value);
matchExp
return new ASTEqual(new ASTObjPath(pathSpec), value);
So if
inExp:
return new ASTIn(new ASTObjPath(pathSpec), new ASTList(values));
then
inDbExp
return new ASTIn(new ASTDbPath(pathSpec), new ASTList(values));
If you ask on the dev list, the committers would likely add it to the class,
but you can easily use the long form in the meantime.
This archive was generated by hypermail 2.0.0 : Mon Apr 19 2004 - 15:28:09 EDT