cancel
Showing results for 
Search instead for 
Did you mean: 

Inconsistent documentation for assert_integrity

gregorw
SAP Mentor
SAP Mentor
907

Hello CAP Documentation Team,

with the Release March 2022 the feature of Database Integrity Constraints was introduced. It is controlled by the configuration cds.env.features.assert_integrity. In the release Documentation you mention this possible values:

  • db: Database constraints
  • app: Runtime checks (default, only effective in Node.js runtime)
  • off: No database constraints and no runtime checks

But in the documentation @assert.integrity Constraint for to-one Associations the value is mentioned as:

cds.env.features.assert_integrity = false.

Is off and false doing the same? Maybe we consolidate to false.

Best Regards
Gregor

CC: iwona.hahn

Accepted Solutions (1)

Accepted Solutions (1)

iwona_hahn
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi gregorw,

We have updated the documentation based on your feedback. Thank you for your contribution.

Best regards,
Iwona

Answers (0)