Closed Jud closed 11 years ago
Working on a fix.
Interesting, my plan was for people to use id=? and the binder infers whether it's an = or an IN operator. That will work as-is, but I'd like to support the syntax you suggest.
Support added in 9396f89f71. Let me know if this doesn't fix the problem.
DomainObject::find('id IN ?', array(1234, 123, 456));
throws a Mysql error: