How does custom views update the database across different Daml transactions

When custom views makes updates to the database, does it guarantee that all updates for a Daml transaction are executed atomically? To clarify, a Daml transaction can have multiple events, each of which is projected to a JdbcAction– are these JdbcActions executed in a single database transaction?

Yes a Daml transaction is mapped to one database transaction.

1 Like