db->last_query() and profiling of DB queries. | When you run a query, with this setting set to TRUE (default), | CodeIgniter will store the SQL statement for debugging purposes. | However, this may cause high memory usage, especially if you run | a lot of SQL queries ... disable this to avoid that problem. | | The $active_group variable lets you choose which connection group to | make active. By default there is only one group (the 'default' group). | | The $query_builder variables lets you determine whether or not to load | the query builder class. */ $active_group = "todo"; $query_builder = TRUE; $db = [ 'todo' => [ 'hostname' => 'localhost', 'username' => 'todo', 'password' => 'todo', 'database' => 'todo', 'dbdriver' => 'postgre', 'dbprefix' => 'todo_', 'pconnect' => FALSE, 'db_debug' => TRUE, 'cache_on' => FALSE, 'cachedir' => '', 'char_set' => 'utf8', 'dbcollat' => 'utf8_general_ci', 'swap_pre' => '', 'autoinit' => TRUE, 'stricton' => TRUE, 'save_queries' => TRUE, ], ]; /* End of file database.php */ /* Location: ./system/application/config/database.php */