Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

sequelize log sql

var sequelize = new Sequelize('database', 'username', 'password', {
    logging: console.log
    logging: function (str) {
        // do your own logging
    }
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #sequelize #log #sql
ADD COMMENT
Topic
Name
2+8 =