Self-explanatory title: how do you do an orwhere statement in Kohana 3?
eg:
$artist_check = ORM::factory('artist')
->where('name', '=', strtolower($itunes->artistName))
->orwhere('itunesId', '=', strtolower($itunes->artistId))
->find();
This statement throws an exception ‘Invalid method orwhere’… As the K3 docs are abysmal I figured I’d ask y’all.
Kohana follows
underscore_notation, so the method name isor_where, notorWhere.Also API documentation might be helpful.