N
N
Nikita Vereshchagin2022-01-28 13:53:12
JavaScript
Nikita Vereshchagin, 2022-01-28 13:53:12

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

1 answer(s)
N
Nikolai Turnaviotov, 2022-02-02
@foxmuldercp

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 question

Ask a Question

731 491 924 answers to any question