How to use the db-migrate/lib/log.sql function in db-migrate

To help you get started, we’ve selected a few db-migrate examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github wzrdtales / node-ultimate-migrate / lib / driver / mariasql.js View on Github external
runSql: function ()
    {
        var args = this._makeParamArgs( arguments );

        log.sql.apply( null, arguments );

        return this.connection.query.apply( this.connection, args );
    },