mirror of
https://github.com/querydsl/querydsl.git
synced 2026-06-21 21:14:12 +08:00
This commit is contained in:
parent
3133344351
commit
e4545f537a
@ -13,11 +13,19 @@ import com.mysema.query.types.path._
|
||||
*
|
||||
*/
|
||||
object Conversions {
|
||||
|
||||
implicit def _boolean(b: Boolean): PBoolean = $(b);
|
||||
|
||||
implicit def _string(s: String): PString = $(s);
|
||||
|
||||
implicit def _comparable(c: Comparable[_]): PComparable[_] = $(c);
|
||||
|
||||
implicit def _date(d: java.sql.Date): PDate[java.sql.Date] = $(d);
|
||||
|
||||
implicit def _dateTime(d: java.util.Date): PDateTime[java.util.Date] = $(d);
|
||||
|
||||
implicit def _time(t: java.sql.Time): PTime[java.sql.Time] = $(t);
|
||||
|
||||
//implicit def num[N <: Number & Comparable[N]](n: N): PNumber[N] = $(n);
|
||||
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user