I have created two different databases in mobile. I want to join them. How to do that?
Database 1, name = employee
Sample document: {
“name”: “Employee 1”,
“email”: "employee1@org.com",
“department”: “department-01”
}
Database 2, name = department
{
“name”: “Department 01”,
“id”: “department-01”
}
Thats a good pattern for segregating local-only and sync-able data. However, if you need to do queries that span across databases then at this time, the recommended pattern would be to have a single database and to set up replication filters to filter out the local-only data.