Here is my code:
var qryStr = \"
UPDATE templates_email
SET title = :title, test_emails = :testEmail, body = :body
WHERE
The parser for getting the params doesn't tokenize on return values, only on whitespace (which is really annoying). Try the following:
var qryStr = "
UPDATE templates_email
SET title = ( :title ), test_emails = ( :testEmail ), body = ( :body )
WHERE ( id = :templateID )
";
The (
and )
should remove any issue with where the parser not being able to recognise where the :params stop and start.