cap-js / cds-dbs

Monorepo for SQL Database Services for CAP
https://cap.cloud.sap/docs/
Apache License 2.0
32 stars 9 forks source link

fix: Allow numeric Booleans `0` and `1` #714

Closed BobdenOs closed 1 week ago

BobdenOs commented 1 week ago

Currently when inserting 0 and 1 they are interpretated as null as they are not strictly matching true and false. With this change 0 and 1 are interpretated as their truthy and falsy values.