Joining Multiple Indices’ Correlated Data in One ReactiveBase Component #1573
-
Hi there, I was reading through the documentation, and was curious whether joining multiple indices’ data within a single ReactiveBase component is possible. I am aware that one can add multiple indices to the Orders index:
Customers index:
I now want to use ReactiveList to create a custom component that renders out the Is there a way to do this natively using a ReactiveBase component? Are there examples of this somewhere? Thank you so much! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
There isn't a native way to do joins within ReactiveSearch. There are some workarounds though:
|
Beta Was this translation helpful? Give feedback.
There isn't a native way to do joins within ReactiveSearch. There are some workarounds though:
transformResponse
prop in ReactiveBase to query the other index and then stitch the data together. There's an example here that's showing that: https://docs.appbase.io/docs/reactivesearch/v3/overview/reactivebase/#props.nested
type to capture the customers within the order (or vice-versa), now you can query this more easily within ReactiveSearch.