ApiLogicServer-src
ApiLogicServer-src copied to clipboard
Composite Key Updates Fail
In classicmodels, OrderDetails cannot be updated due to primary key of Order & Product IDs.
Setup is Step I of this page: https://apilogicserver.github.io/Docs/DevOps-Containers-Deploy-Multi/
Then, just update an OrderDetail
The default delimiter for a composite pk is "_", this can be overriden by setting SAFRSBase._s_pk_delimiter to something else (for example "|" ).
Could you try this please?
https://github.com/thomaxxl/safrs/blob/8735f737848d3713b7969c9b586f18453606d293/safrs/base.py#L118