var db = {
	sqlite: {
		client: 'sqlite3',
		connection: {
			filename: './knex_sample.sqlite'
		}
	},
	postgres: {
		client: 'pg',
		connection: {
			host: 'localhost',
			user: 'rajaraman',
			database: 'knex_sample',
			password: 'p'
		}
	}
};

module.exports = db
@@ -91,16 +91,56 @@
 ite'%0A%09%09%7D
+,%0A%09%09debug: true // output sql statements
 %0A%09%7D,%0A%09po
@@ -273,16 +273,56 @@
  'p'%0A%09%09%7D
+,%0A%09%09debug: true // output sql statements
 %0A%09%7D%0A%7D;%0A%0A

Add debug flag to true in the db config