Wappler Version: 3.6.1
Operating System: Windows, using node.js in Docker
Expected behavior
In a Database custom query I try to use parameters in the LIMIT part of the select, sample:
SELECT * FROM users LIMIT :P1,:P2
or
SELECT * FROM users LIMIT :P1 OFFSET :P2
This adds single colons ’ arount the values of :P1 and :P2, which causes a SQL error when hiting th run button. sample:
SELECT * FROM users LIMIT ‘10’ OFFSET ‘2’
The problem only comes in node.je environment. PHP environment works ok.
Please also see:
https://community.wappler.io/t/use-mysql-stored-in-paged-query/28540/9
Thank you for checking into this!