The database was created as MODE=PostgreSQL.
MODE=PostgreSQL
MySQL or others dialogs can be created.
var sequelize = new Sequelize('postgres://sa:sa@localhost:5435/xxx'); // Define User model // ... var User = sequelize.define('user', {}); user = User.findOne() console.log(user.get('firstName'));
Last updated 1 year ago