python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Node.js - Sequelize.js | Create Dynamic Database Connection
I am writing a simple CMS with Node.js and Sequelize.js. I want to get database information from user like Wordpress and create database connection. I wrote the codes below for this but my problem is ...

Enes Kılıç
Votes: 0
Answers: 1
Rendering a page with data from two tables with Sequelize
I'm making my first web dev project and I want to render a page that can access the content of two tables inside the same db, but I can't find how to do it in the documentation. I'm using PostgreSQL, ...

Raphael Santos
Votes: 0
Answers: 0
How to differentiate between an update and an insert using sequelize upsert method?
I have a sequelize model where I am doing an upsert like this
ResetToken.upsert({
accountId,
token,
}, {
conflictFields: ['account_id'],
fields: ['token'],
});
I want to return an HTT...

PirateApp
Votes: 0
Answers: 0
How to seed array of UUIDs with Sequelize
I have a model with a column users whose type is DataTypes.ARRAY(DataTypes.UUID).
In my seed script, I am applying
await queryInterface.bulkInsert('MyTable', [
{
id: uuid4(),
users: [uuid4()...
Unconventional Wisdom
Votes: 0
Answers: 1