1const sequelize = new Sequelize('database', 'username', 'password', {
2 dialect: 'sqlite',
3 storage: 'path/to/database.sqlite' // or ':memory:'
4 dialectOptions: {
5 // Your sqlite3 options here
6 }
7});
8
1var sequelize = new Sequelize('mysql://user:pass@example.com:9821/dbname', {
2 // Look to the next section for possible options
3})
4