Mahdi Dibaiee
6cfe877884
feat(include): include query parameter, passed to sequelize query
...
fix(associations): one-to-many associations -> destroyScope and get
2016-01-29 11:30:39 +03:30
Mahdi Dibaiee
aebff50d0b
fix(one-to-one): should not require an id for the second model, because there is only one anyways
2016-01-24 15:07:31 +03:30
Mahdi Dibaiee
5e0eeccbac
feat(associate): routes to associate objects with each other
2016-01-20 12:47:47 +03:30
Mahdi Dibaiee
14a36434f7
fix(associations): request.query should apply to second model's where
...
feat(associations): scope queries on associations
2016-01-19 10:37:56 +03:30
Mahdi Dibaiee
52ad030d0d
feat(associations): many-to-many associations
...
fix(associations): fix association queries, must use `include` instead of ForeignKey
fix(error): error decorator was missing await, which prevented it from catching errors
fix(error): console.error the error
refactor(crud): don't use `request.models[name]`, use the model directly
chore: README added
2016-01-19 10:03:29 +03:30
Mahdi Dibaiee
bae6820e64
feat(simple): simple CRUD REST API (no associations)
...
feat(associations): one-to-one associations
feat(associations): one-to-many associations
2016-01-18 18:08:43 +03:30