Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要找到某个字段的值不同的记录,看起来IN,最好说FIND ALL WHERE field=1 OR field=2... OR field=9 这些 OR 可能很多。是否可以在 Kohana 上的 ORM 中使用此功能?
IN
FIND ALL WHERE field=1 OR field=2... OR field=9
ORM::factory('Model')->where('field1', '=', 'value')->or_where('field2', '=', 'value')...