Hi,
How to set Multiple Schema Postgre in CodeIgniter 3 ?
Am tried like ,
Code:
$table_schema = examination,academics;
$this->setSchema($table_schema);
Code:
public function setSchema($table_schema) {
if(!$table_schema) {
return false;
}
if($this->db->dbdriver == 'postgre') {
$this->db->simple_query('SET search_path TO ' . $table_schema . ',public');
}
}
Not working Set first schema
examination only, Please tell me how to set multiple Schema ??
Geetha