balderdashy / waterline-docs

WARNING: The content in this repo is out of date! See https://github.com/balderdashy/sails-docs for the most up-to-date documentation
452 stars 163 forks source link

How would I add new collections after waterline is initialized? #126

Open JemiloII opened 8 years ago

JemiloII commented 8 years ago

So what I am wanting to do is make a dynamic service. While my application is running, a user can do crud actions against models that new services will use. I love how waterline can connect with many databases, however, I am not sure if after I initialize, if I can simply add more collections to it, or even the best way to export them. The initialize function seems to just have a callback to it.