...

/

Execute Non-Database Operations Within a Transaction

Execute Non-Database Operations Within a Transaction

Learn how to execute non-database operations within a transaction.

Expanding transactions for non-database operations

With this knowledge, there is an opportunity to expand transactions to include non-database operations. Imagine that our application uses an external search engine such as Elasticsearch. Whenever we change the database, we have to update our search engine. However, it’s essential to keep the database ...