I was wondering D1 how can you talk to another database within D1 for a Microservices architecture. Lets say you have the following
DB1 DB2
How can you communicate between two databases. Especially for querying between databases.
I was wondering D1 how can you talk to another database within D1 for a Microservices architecture. Lets say you have the following
DB1 DB2
How can you communicate between two databases. Especially for querying between databases.
I’m confused. Database don’t talk to each other.
You can’t.
I assume you’re talking about foreign data wrappers (with something like Postgres), in which case D1 doesn’t support those. You’ll just need to have 2 databases and query them both using code (a Worker).
Thanks for the help. Something like this
https://medium.com/creditorwatch/join-data-among-microservices-1cda360c6c1c