cap-js / cds-dbs

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

fix(deep-queries): properly return insert result #803

Closed David-Kunz closed 2 months ago

David-Kunz commented 2 months ago

For INSERTs, beforeData is always [] and

return beforeData.length ?? rootResult

would always return 0.

David-Kunz commented 2 months ago

@patricebender , done!