Answer the question
In order to leave comments, you need to log in
How to import models from database?
Hello! I can’t find on the Internet whether it’s possible somehow from the database (in my case, Postgresql) to import the model into JS. I know how to create a table in the database using a ready-made model in js, but I don’t know how to create a model with a ready-made table. Isn't it possible to manually enter everything that I created in the database?
Answer the question
In order to leave comments, you need to log in
yes, according to the finished table, the models are created by hand, well, or semi-automatically - having a description of the structure, you can collect the model properties with a script
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question