Write a value as a quoted string for a query, so any text can be used in one: the backslash and the quote are
escaped, so the parser reads back exactly the text given.
Parameters
value: any
the text to quote (anything else is converted with String first)
quoteChar: "'"|"\"" = '\''
the quote to wrap it in
Returns string
Example
query(`insert exercises values name = ${quote("Farmer's walk")}`) // insert exercises values name = 'Farmer\'s walk'
Write a value as a quoted string for a query, so any text can be used in one: the backslash and the quote are escaped, so the parser reads back exactly the text given.