public function __construct() { parent::__construct(); $this->load->database(); $db_driver = $this->db->platform(); $this->class_name = 'grocery_crud_model_' . $db_driver; }
public function __construct() { parent::__construct(); $this->subdriver = $this->db->subdriver; // these drivers doesn't have CONCAT command if (in_array($this->subdriver, array('sqlite', 'pgsql'))) { $this->CAPABLE_CONCAT = FALSE; } }