Closed xfoxfu closed 2 months ago
It is common to have a pattern of:
The two actions need to be wrapped into a transaction, which could be considered as conditional insertion, or to say upsert.
Such kind of APIs need to be provided directly, instead of letting developers write commit/rollback manually.
Some ideas:
by-name
by-link
It is common to have a pattern of:
The two actions need to be wrapped into a transaction, which could be considered as conditional insertion, or to say upsert.
Such kind of APIs need to be provided directly, instead of letting developers write commit/rollback manually.