I'm used to using Express with React on the backend and working in a server.js file to sync the database. With Next.js, there's no server.js file to s ...
I'm used to using Express with React on the backend and working in a server.js file to sync the database. With Next.js, there's no server.js file to s ...
I've implemented one-to-many relationship between Order and Products. Order has more Products - Product belongs to Order When I create new Order w ...
I'm trying to use .create in a model and the following exception is returned: All integer fields in PostgreSQL referring to the table are below: ...
This is actual message: Ignoring invalid configuration option passed to Connection: createDatabaseTable. This is currently a warning, but in futur ...
I have a sequelize model called staff. One of the staff columns is called locations which holds the id's of all the locations this staff is available ...
I'm developing a register function in expressjs, but for some reason return me the following message: This is my model: Users.ts And this is the ...
I wanna Request from nodejs Sequelize to mysql to data of a date that comes from query and there may not be any date Actually I have no idea how to s ...
I am currently developing an endpoint where I want to return one object from 4 different tables. I get the record of each table in JSON format from se ...
After some time I try to re-develop my NodeJs app to TypeScript and I run with Sequelize into problems. After trying to use the code from the website ...
I have the following query to search for users on the User model: I have done a join to the DiscordUser model as seen in the include parameter. How ...
When running any kind of query with sequelize I'm getting the error mentioned in the title. This is my code for querying the data I've tried delet ...
Why i can access the property inside dataValues without accessing dataValues property? Example: Result of console.log(data): I think if i want ...
I have these 2 models: Orders Models Solutions model Orders Model #2. Solutions table I am trying to get all orders where it's solution ...
i want to create 2 tables but it gives error i have 2 page blog and category and i called its on index.js but it gives error. when i watch video h ...
I am creating a model in node js using ts and sequelize But I am getting Property 'name' has no initializer and is not definitely assigned in the c ...
I have noticed that my backend is not retrieving the expected data after an insert. In my React application, I have one function which inserts data in ...
Here I'm trying to order the result using a filed order_no, the default value for order_no is 0. I have to sort the values to get the desired output l ...
I need get WHERE query like this: In sequelize i write: But i get: ...
I try to send the data through postman and the data result is clean(without another property). But when I try to console.log(data), there are many oth ...
I spent a lot of time to find an answer, but did not find it So, my problem is - I am trying to make where condition like this: But it just does n ...