Added by Rathnadhar K V almost 4 years ago
Namaskara,
With where("a = ?").bind(1).where("b = ?").bind(2); we can achieve AND CONDITION ==> where a = 1 AND b = 2.
I want achieve where a = 1 OR b = 2.
How is it possible?
Regards
Rathnadhar K V
You'll just have to use or
in your string literal:
where("a = ? or b = ?").bind(1).bind(2)
Regards,
Roel