Feathers-vuex: How do I do associations between tables?

Created on 13 Feb 2020  路  4Comments  路  Source: feathersjs-ecosystem/feathers-vuex

Is it possible do associations between tables using feather vuex as appears in https://docs.feathersjs.com/help/faq.html#how-do-i-do-associations

Note: I want to make a join between two tables

question

Most helpful comment

@juancampuzano hot off the press: https://feathers-graph-populate.netlify.app

All 4 comments

Feathers-Vuex can handle the associations by making sure the populated data from a single service call gets split out into the correct service stores, but it doesn't actually populate anything for you. I'll be sharing a project that I built which I consider to be the simplest way to setup these relationships in a scalable and high-performance way. I built it for my feathers-vuex projects, but it will work with any front end, so it will be a separate project. I just need to finish the docs.

In the meantime, look into feathers-shallow-populate. It's about to come out of deprecation. ;)

@marshallswain any update about the separate project.

@juancampuzano hot off the press: https://feathers-graph-populate.netlify.app

Thank you @marshallswain!

Was this page helpful?
0 / 5 - 0 ratings