The documentation should be quite clear. Just execute it as a
SQL statement. The only tricky bit is working out the quoting
rules, and the simplest way to do that is to use double quotes in
your AS or JS code, leaving the single quotes and back quotes
unharmed in the SQL.
If you're having some trouble getting it to compile or run,
post the errors you're getting.