Running SQL update query in webdev module

Hello, I am trying to run system.db.runUpdateQuery() in Webdev doPost module. But when I execute the code by sending data to URL, then it gives me following error.

[## HTTP ERROR 500 java.lang.Exception: java.lang.Exception: Error executing system.db.runUpdateQuery()]

Check your gateway logs for the actual error.

I bet you forgot the 3rd parameter haha, just maybe.

1 Like

Thank you. It was a syntax error in the query.