Mulitple tables with same Model #102
Closed
MaheshkumarSundaram
started this conversation in
General
Replies: 1 comment 1 reply
-
Your best bet, would be to make 5 sub-models that all copy from the master model. Since every model is just a Node module, you can build up your attributes in the export. In other words, |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi @neonexus
I would like to calrify the below about Sails Model.
I have a model with a schema like:
Now, the schema & model is the same for like 6 tables. How to efficiently make use of a single sails model and dynamically change the tables while working?
Any help would be appreciated. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions