I need to get a set of data from 2 collections.
Employee
{"id":"1234",
"name":"Smith"}
Salary{
"employeeId":"1234",
"Salary":"10000"}
I am creating an utility method where I have to fetch the data by joining these two tables and pass the employeeId as param to the N1ql query.
So I am trying to use CouchbaseTemplate.findByQuery from Spring data couchbase 4.3.2.
There is no much documentation available on internet how to achieve this without creating a repository. What can I try?