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;
     }
 }
 public function __construct()
 {
     parent::__construct();
     $t = $this->protect_identifiers('t');
     $first_char = substr($t, 0, 1);
     if ($first_char !== 't') {
         $this->ESCAPE_CHAR = $first_char;
     }
 }