AryanChothani
AryanChothani
const fs = require('fs'); const path = require('path'); module.exports = { load({ sequelize, baseFolder, indexFile = 'index.js' }) { const loaded = {}; fs .readdirSync(baseFolder) .filter((file) => { return (file.indexOf('.')...
i am currently trying this type of where clause but it only shows the users with supplier how can i query both the types ``` exports.allBuyersandSuppliers = (req, res) =>...
when i run npm start dev or any other environment it shows the follwoing error Error: Dialect needs to be explicitly supplied as of v4.0.0 at new Sequelize (H:\demo\Node_Shop\node_modules\sequelize\lib\sequelize.js:281:13) at...