Hi guys,
I got a problem with bucket shadowing, if anyone run into it before, please help me to solve the problem:
- I have 2 buckets: "mybucket" and "mybucket-shadow"
- The sync gate way connects to "mybucket" that mobile app could read/write the data.
- The api (by nodejs) connetcs to "mybucket-shadow" to read/write data
Now my problem is:
- The mobile app could sync the data from both mybucket and mybucket-shadow, but the api only can retrieve the data from mybucket-shadow :(
Please anyone let me know is there anyway that allows me to query the data from both buckets via node js api? I'm using No1ql to query, it might be a JOIN???