Top "Sequelize.js" questions

The Sequelize library provides an ORM (Object-Relational-Mapper) for Node.

How to update a record using sequelize for node?

I'm creating a RESTful API with NodeJS, express, express-resource, and Sequelize that is used to manage datasets stored in a …

mysql node.js express sequelize.js
How to make join queries using Sequelize on Node.js

I am using sequelize ORM; everything is great and clean, but I had a problem when I use it with …

mysql node.js orm sequelize.js
Sequelize.js delete query?

Is there a way to write a delete/deleteAll query like findAll? For example I want to do something like …

javascript node.js sequelize.js
Sequelize OR condition object

By creating object like this var condition= { where: { LastName:"Doe", FirstName:["John","Jane"], Age:{ gt:18 } } } and pass it in Student.…

node.js sequelize.js
Sequelize, convert entity to plain object

I'm not very familiar with javascript, and stunning, because i can't add new property, to object, that fetched from database …

node.js sequelize.js
How to auto generate migrations with Sequelize CLI from Sequelize models?

I have a set of Sequelize models. I want to use migrations, not DB Sync. Sequelize CLI seems to be …

mysql node.js orm sequelize.js
sequelize findAll sort order in nodejs

I'm trying to output all object list from database with sequelize as follow and want to get data are sorted …

node.js express sequelize.js
Prevent Sequelize from outputting SQL to the console on execution of query?

I have a function to retrieve a user's profile. app.get('/api/user/profile', function (request, response) { // Create the …

node.js sequelize.js
Sequelize - update record, and return result

I am using sequelize with MySQL. For example if I do: models.People.update({OwnerId: peopleInfo.newuser}, {where: {id: peopleInfo.…

javascript sequelize.js
Create or Update Sequelize

I'm using Sequelize in my Nodejs project and I found a problem that I'm having a hard time to solve. …

mysql node.js sequelize.js