Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion guides/providing-services.md
Original file line number Diff line number Diff line change
Expand Up @@ -941,7 +941,7 @@ The `@assert.target` check constraint relies on database locks to ensure accurat

### `@assert` <Beta/>

Annotate an element with `@assert` to define CXL expressions that are validated _after_ the data has been written to the database but _before_ it is committed it. If validation fails, the expression returns a `String` that indicates an error to the runtime. If validation passes, the expression returns `null`.
Annotate an element with `@assert` to define CXL expressions that are validated _after_ the data has been written to the database but _before_ it is committed. If validation fails, the expression returns a `String` that indicates an error to the runtime. If validation passes, the expression returns `null`.

```cds
entity OrderItems : cuid {
Expand Down