Posts by user133519 • 3 points
2 posts
-
0
votes0
answers19
viewsQ: How to create a record in nested tables in sequelize?
I have a users table and a posts table: const users = sequelize.define(users, { nomeuser : { sequelize.STRING }) users.sync() const post = sequelize.define(postagens,{ potagens:{ type:…
sequelize-jsasked user133519 3 -
0
votes1
answer45
viewsQ: Is the use of the operator "and" in this code correct? Because it is not working
The function of this code is to receive the login data through the req and do with query to see if the records exist and the user can access certain area, but the code below not be indifferent as…