mirror of
https://github.com/querydsl/querydsl.git
synced 2026-06-30 21:08:30 +08:00
This commit is contained in:
parent
8cb4d38508
commit
73b7caad6e
@ -186,10 +186,14 @@ public class MongodbSerializer implements Visitor<Object, Void> {
|
||||
else if (op == Ops.GOE || op == Ops.AOE) {
|
||||
return asDBObject(asDBKey(expr, 0), asDBObject("$gte", asDBValue(expr, 1)));
|
||||
|
||||
}else if (op == Ops.IS_NULL){
|
||||
}
|
||||
|
||||
else if (op == Ops.IS_NULL){
|
||||
return asDBObject(asDBKey(expr, 0), asDBObject("$exists", false));
|
||||
|
||||
}else if (op == Ops.IS_NOT_NULL){
|
||||
}
|
||||
|
||||
else if (op == Ops.IS_NOT_NULL){
|
||||
return asDBObject(asDBKey(expr, 0), asDBObject("$exists", true));
|
||||
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user