You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, do you have an example with models that contain nested relationships between different databases?
For example if you had an Order model which hasMany Items which are on the same DB but then the Items have a manufacturer which is on another DB I know if they were non nested I would use two queries with different transaction knex connections:
But If like in my given example the relation is through a model which lives on the same DB but the relation on that model lives on another DB how would that be achieved?
Thanks for any support/guidance let me know if you need me to clarify anything
The text was updated successfully, but these errors were encountered:
Hello, do you have an example with models that contain nested relationships between different databases?
For example if you had an Order model which hasMany Items which are on the same DB but then the Items have a manufacturer which is on another DB I know if they were non nested I would use two queries with different transaction knex connections:
But If like in my given example the relation is through a model which lives on the same DB but the relation on that model lives on another DB how would that be achieved?
Thanks for any support/guidance let me know if you need me to clarify anything
The text was updated successfully, but these errors were encountered: