-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
will the edited form in odk central get updated in pg #14
Comments
No as we do not edit submission into central, we do not manage it. central2pg/insert_into_from_refcursor.sql Line 63 in a39e7d4
Will take a look at it. If you try something let me know if it works as expected. |
To complete my first response : |
I would also really like to have this feature. I took a look at it, it is more complex than my first attempt which did not work:
|
Glad to see users of my work from all around the world:-) I you @PhilKnight you are right, we'll have to build the update statement : The second update you mentioned is also needed but easy to build in a static string (SET form_data = excluded.form_data) One big issue to investigate is how to only update submissions that have been truly edited. I want to make this possible in order to avoid consuming resources for data that I already have for months in my database. I wish I had some time this summer to explore it but I couldn't. |
I will have another strategy (not trying to filter subtables nor explore expanded json) that consists in :
Will try to do it before the end of the year to be ready for next field season. |
Would like to know whether the script also check the latest edited submission and update the old submission in pg
The text was updated successfully, but these errors were encountered: