Wappler Version : 6.5.4
Operating System : MacOS
Server Model: NodeJS
Database Type: MySQL
Hosting Type: Docker
Expected behavior
What do you think should happen?
When calling a Stored Procedure, the Stored Procedure should return the Schema and Query Results in the DB Query Builder.
Actual behavior
What actually happens?
An error is generated when calling the Stored Procedure Cannot read properties of undefined (reading 'name')
. No Schema is generated, and no fields are available to pick dynamically. The error is generated with both mysql (deprecated) and mysql2 node modules.
The Stored Proc returns the results correctly when viewed in the browser.
How to reproduce
- Create a Stored Procedure in MySQL database.
- Call the Stored Procedure in DB Query Builder - an error is generated