Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

is there a way to list all models #75

Open
javazquez opened this issue Mar 28, 2017 · 1 comment
Open

is there a way to list all models #75

javazquez opened this issue Mar 28, 2017 · 1 comment

Comments

@javazquez
Copy link

I was wondering if there is a way to list all the models that have been created? I am thinking of a list table feature that I have used in relational databases. If not, what would be the recommended approach? Create a meta model that keeps track of created models?

thanks,
-jv

@flamusdiu
Copy link

What I have seen ppl do is add them as a property of an super object. Something like app.models.[all model objects] I am not sure if there is some way to pull the objects by type out of JS. You could also just keep a list when the models are created too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants