I was wondering if it was possible in SAP HANA to update an entity with an xsjslib file and return the updated object. Currently, when updating an entry, it returns '204 - No Content'.
Sample of xsodata
"DEMO.VIEWS::myEntity" as "MyEntity" keys("ID")
create using "DEMO.SCRIPTS:createEntity.xsjslib::createEntry"
update using "DEMO.SCRIPTS:updateEntity.xsjslib::updateEntry"
delete using "DEMO.SCRIPTS:deleteEntity.xsjslib::deleteEntry";
Response
Useful documentation
I've looked at the documentation SAP has on this and I don't seem to find anything related to updating.
There is also a great tutorial which explains this for the create operation. This works but sadly not for the update operation.