I was wondering if (My)SQL transactions and locks could be used within Wappler ?
I can see that the syntax exists in the custom query autocomplete helper.
But so far, my attempts to execute transactions failed.
Now if I place each transactions in a seperate query, I get the following error on the first one “START TRANSACTION;” :
SQLSTATE[HY000]: General error: 2030 This command is not supported in the prepared statement protocol yet
Indeed, with True instead of auto (or false), the query executes properly when it’s correct.
If I voluntarily introduce a syntax error in my second query though (or anything else that should return an error), there is no commit (great!) but it always returns “No results returned”.