public class ExtendINsInOR extends Rewriter
q={$or:{...,{$in:{field:x,values:[v]},..,{field:x,op:=,rvalue:w}...}}
this rewrites q as
q={$or:{...,{$in:{field:x,values:[v, w]}},...}}
| Constructor and Description |
|---|
ExtendINsInOR() |
| Modifier and Type | Method and Description |
|---|---|
QueryExpression |
rewrite(QueryExpression q) |
public static final Rewriter INSTANCE
public QueryExpression rewrite(QueryExpression q)
Copyright © 2016. All rights reserved.