CodeIgniter : Dynamic Database Query Caching

codeigniter database query caching

Purpose: This article is intended to show you how you can disable query caching for particular methods and enable it globally for all methods. In CodeIgniter there is default option for query caching. If you enable query cache in database.php, by passing $db[‘default’][‘cache_on’] = TRUE; It will enable query cache for all controllers. You might be thinking that there…

Database Installer

Database Installer performs installation of MySQL databases by php scripts. Features: Install mysql databases Check existence of tables in mysql database Delete existing mysql database Re-install mysql database and more. How to use? Step 1: Put all the files in a folder named database-installer as the file structure shown above Step 2: Replace the mysql.sql…