Duality View Directives
Directives allow customers to provide supplemental logic for JSON relational Duality Views and their underlying tables, in a declarative manner.
Applications that use duality views often need to extend basic document operations such as query, insert, update, and delete. For example, an application might need to enforce a business rule that table constraints cannot express.
A common approach today is to implement this logic in application code or in database triggers. Directives provide a declarative framework for attaching deterministic, transactional supplemental logic to duality view operations.