I have a SQL query that is pulling data across tables and databases. I would like to enable my users to update a single column of that data.
However, each time I have tried to update data from the table it throws an error.
I am successfully able to edit when I pull data from a single table, but joined tables/databases seem to cause an issue.
Is this a known bug? Is there a workaround to allow users to front-end edit joined table/database data? Is there a setting I am unaware of to make this possible?
Unfortunately, only one MySQL table can be edited at a time. Queries from multiple tables with joins cannot be used as an editable feature, since SQL UPDATE and INSERT statements are generated automatically, and there currently is no way to update multiple tables – but this problem is being investigated and pursued.
At the moment there is no workaround for this issue.
Hi,
I have a SQL query that is pulling data across tables and databases. I would like to enable my users to update a single column of that data.
However, each time I have tried to update data from the table it throws an error.
I am successfully able to edit when I pull data from a single table, but joined tables/databases seem to cause an issue.
Is this a known bug? Is there a workaround to allow users to front-end edit joined table/database data? Is there a setting I am unaware of to make this possible?
Thank you.
Hello samhaiden
Thank you for your purchase.
Unfortunately, only one MySQL table can be edited at a time. Queries from multiple tables with joins cannot be used as an editable feature, since SQL UPDATE and INSERT statements are generated automatically, and there currently is no way to update multiple tables – but this problem is being investigated and pursued.
At the moment there is no workaround for this issue.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables