Page 1 of 1

Data Settings: How does csweb handle modified cases on relational SQL table?

Posted: November 4th, 2023, 9:33 am
by Webexplr
Using CSWeb's Data Settings, we can configure dictionaries to break out questionnaire data into relational tables. I have a question:

1. I send an entry to my csweb server (using PUT method),
2. then I break out all cases data currently on the server (php bin/console csweb:process-cases),
3. then I modify or delete that previous entry (no. 1) on my laptop, and re-send that entry to my server
4. I repeat step 2

Will there be two same cases (one is the original, the other one is the deleted/modified case), or just one case (a.k.a one table record) on my MySQL relational table? Thanks in advance.

Re: Data Settings: How does csweb handle modified cases on relational SQL table?

Posted: November 6th, 2023, 2:11 pm
by aaronw
The original case should be updated, leaving you with one case. I am assuming when you say modify/delete the case you are doing so though CSEntry.