Skip to content

Commit 4a0692b

Browse files
committed
Add note about Sequelize joins
1 parent f0f5ee1 commit 4a0692b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/common-patterns.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -384,6 +384,10 @@ When this record is instantiated, the `user` attribute will first be turned into
384384

385385
There's another amazing benefit from these relationships. Because `feathers-vuex` listens to real-time events and keeps data up to date, when the user record changes, the `todo.user` automatically updates!
386386

387+
### Handling Sequelize Joins
388+
389+
See [this issue](https://github.com/feathersjs-ecosystem/feathers-vuex/issues/404) for a discussion on how to handle joins with Sequelize. It's important to specify `raw: false`, as shown in [this comment](https://github.com/feathersjs-ecosystem/feathers-vuex/issues/404#issuecomment-571774598).
390+
387391
### Workflow for Saving Model Associations
388392

389393
A great issue was opened on GitHub about the [Workflow for clone and save Model with associations](https://github.com/feathersjs-ecosystem/feathers-vuex/issues/278). That's a great issue to read to get familiar with the workflow.

0 commit comments

Comments
 (0)