G. K. Chesterton, The Thing, 1929.
3/
G. K. Chesterton, The Thing, 1929.
3/
In case you need to, here are a few considerations to dive deeper:
- Coupling, can you use your DB without your controller safely?
- Error-handling, do you do it more than once?
This is just a heads up if you need to scale your system.
In case you need to, here are a few considerations to dive deeper:
- Coupling, can you use your DB without your controller safely?
- Error-handling, do you do it more than once?
This is just a heads up if you need to scale your system.
Here's my take.
If you only need a tool to scope your queries appropriately consider wrapping your data provider to: fetch the correct tenant & apply the correct WHERE clause. Then, update your code to use your new provider.
Here's my take.
If you only need a tool to scope your queries appropriately consider wrapping your data provider to: fetch the correct tenant & apply the correct WHERE clause. Then, update your code to use your new provider.