Mob 1880: Connection pool support

For direct knex calls `query.connection(conn);` is used for setting the connection