You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Define the necessary API for each storage layer using Interface and abstract the storage layer.
In the storage layer, embed the interface for each storage and move the implementation necessary for DB operations to the storage layer.
The API layer calls the above Interface and does not directly perform DB operations.
If transaction processing is required in the API layer, use RunTransactionAPI provided in the DB client to perform transaction processing.
If we want your API layer to handle transactions across different storages, we can do so by creating storage instances using the same DB client instance.
Package
account
auditlog
autoops
environment
eventcounter
experiment
feature
notification
push
experimentcalculator
mau
opsevent
subscriber
The text was updated successfully, but these errors were encountered:
RunTransaction, Begin, etc. are called and transaction processing is performed at the API layer.
Example of code that is an issue
RunTransaction
Begin
Solution
Package
account
auditlog
autoops
environment
eventcounter
experiment
feature
notification
push
experimentcalculator
mau
opsevent
subscriber
The text was updated successfully, but these errors were encountered: