mirror of
https://github.com/querydsl/querydsl.git
synced 2026-06-21 21:14:12 +08:00
added in operation
This commit is contained in:
parent
19238ab45d
commit
6c7613e453
@ -158,8 +158,7 @@ public class Grammar {
|
||||
}
|
||||
|
||||
public static <A extends Comparable<A>> BooleanExpr in(Expr<A> left, A... rest){
|
||||
// TODO
|
||||
return null;
|
||||
return _binOp(Op.IN, left, _const(rest));
|
||||
}
|
||||
|
||||
public static BooleanExpr like(Expr<String> left, String right){
|
||||
|
||||
@ -128,7 +128,8 @@ public class Types {
|
||||
public interface Op<RT> {
|
||||
Op<Boolean> EQ = new OpImpl<Boolean>();
|
||||
Op<Boolean> ISTYPEOF = new OpImpl<Boolean>();
|
||||
Op<Boolean> NE = new OpImpl<Boolean>();
|
||||
Op<Boolean> NE = new OpImpl<Boolean>();
|
||||
Op<Boolean> IN = new OpImpl<Boolean>();
|
||||
}
|
||||
|
||||
public interface Operation<RT> extends Expr<RT> {}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user