查询条件
使用例子如下
new Condition("std.id=?",new Long(2)); 或者 Condition("std.id=:std_id",new Long(2)); ?绑定单值.命名参数允许绑定多值.但是只能由字母,数组和下划线组成 一组condition只能采取上面一种形式
- Companion:
- object
class Object
trait Matchable
class Any
查询条件
使用例子如下
new Condition("std.id=?",new Long(2)); 或者 Condition("std.id=:std_id",new Long(2)); ?绑定单值.命名参数允许绑定多值.但是只能由字母,数组和下划线组成 一组condition只能采取上面一种形式