Suppose that I have two tables: userA and userB. The userA resides in databaseA, and the userB resides in databaseB. Each database has its own connection account.
Their relationship looks like this:
databaseA databaseB
+------------+ +------------+
| userA | | userB |
+------------+ +------------+
| id | ------------> | id |
| ... | | username |
| | | passowrd |
| | | ... |
+------------+ +------------+
Now, how to define the relations of 2 tables, so that I can perform CRUD over both table?