or_where

void or_where( mixed $key [, string $value [, bool $escape] ])
Quick Description: Same as codeigniter or_where for the list.

It works exactly with the same way as Codeigniter's or_where.

For more you can also read codeigniter active record documentation

Example:

function example_with_or_where() {
 
$crud = new grocery_CRUD();
 
$crud->where('productName','Motorcycle');
$crud->or_where('productName','Car');
$crud->or_where('productName','Bicycle');
 
$crud->set_table('products');
$crud->columns('productName','buyPrice');
 
$output = $crud->render();
 
$this->_example_output($output);
}