Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

sequelize sqlite example

const sequelize = new Sequelize('database', 'username', 'password', {
  dialect: 'sqlite',
  storage: 'path/to/database.sqlite' // or ':memory:'
  dialectOptions: {
    // Your sqlite3 options here
  }
});
Source by sequelize.org #
 
PREVIOUS NEXT
Tagged: #sequelize #sqlite
ADD COMMENT
Topic
Name
8+5 =