I am creating a table through a join of two tables, I have no problem selecting the tables and fields I need, including the ones that make the join.
Once everything is selected, I can see the first 5 records of the new table, I move forward but when I generate the new table, for a brief moment I see the data that I should get, however, it is deleted and I get a message that no information was found .
I have taken the query that is generated to create the table and I execute it with another tool that I have, and I obtain the information.
I don't know what I should do to generate this new table. Attached screenshots of the results.
Filtering, sorting, display of data, and searching may not work properly if you include:
Accent graves ( ` ) around the table name
JOIN functions
UNION functions
CONCAT functions
sub-queries
You can try preparing a MySQL view (which will return the data that you need, call it e.g. “view1” and then build a wpDataTables based on a simple query like "SELECT * FROM view1″.
Also, if you disable the "Server-Side Processing", it should show correct results, so if the table is not big, you can try that.
I am creating a table through a join of two tables, I have no problem selecting the tables and fields I need, including the ones that make the join.
Once everything is selected, I can see the first 5 records of the new table, I move forward but when I generate the new table, for a brief moment I see the data that I should get, however, it is deleted and I get a message that no information was found .
I have taken the query that is generated to create the table and I execute it with another tool that I have, and I obtain the information.
I don't know what I should do to generate this new table. Attached screenshots of the results.
Attached files: Captura de Pantalla 2023-06-26 a la(s) 18.10.16.png
Captura de Pantalla 2023-06-26 a la(s) 18.10.27.png
Captura de Pantalla 2023-06-26 a la(s) 18.11.04.png
Hello Juan Antonio.
Thank you for reaching out to us.
Our logic is based on a PHP SQL parser which has full support for the SQL dialect for the following statement types
SELECT, INSERT, UPDATE, DELETE, REPLACE, RENAME, SHOW, SET, DROP, CREATE INDEX, CREATE TABLE, EXPLAIN, and DESCRIBE.
Some of them are disabled for security reasons.
Filtering, sorting, display of data, and searching may not work properly if you include:
You can try preparing a MySQL view (which will return the data that you need, call it e.g. “view1” and then build a wpDataTables based on a simple query like "SELECT * FROM view1″.
Also, if you disable the "Server-Side Processing", it should show correct results, so if the table is not big, you can try that.
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