@Override protected QueryExpression itrArrayMatchExpression(ArrayMatchExpression q, Path context) { fieldInfo.add(resolveField(q.getArray(), context, q, false)); return super.itrArrayMatchExpression(q, context); }
@Override protected QueryExpression itrArrayMatchExpression(ArrayMatchExpression q, Path context) { fieldInfo.add(resolveField(q.getArray(), context, q, false)); return super.itrArrayMatchExpression(q, context); }
@Override protected QueryExpression itrArrayMatchExpression(ArrayMatchExpression q, Path context) { ArrayMatchExpression x = (ArrayMatchExpression) super.itrArrayMatchExpression(q, context); Path p = map(applyContext(context, x.getArray())); if (p != null) { return new ArrayMatchExpression(removeContext(context, p, x.getArray()), x.getElemMatch()); } else { return x; } }
@Override protected QueryExpression itrArrayMatchExpression(ArrayMatchExpression q, Path context) { ArrayMatchExpression x = (ArrayMatchExpression) super.itrArrayMatchExpression(q, context); Path p = map(applyContext(context, x.getArray())); if (p != null) { return new ArrayMatchExpression(removeContext(context, p, x.getArray()), x.getElemMatch()); } else { return x; } }