Format a query string with a variable number of rows.
This function is exposed to help with debugging and logging. Do not
use it to prepare queries for execution.
The query string must contain exactly one substitution group,
identified by the SQL keyword "
VALUES" (case insensitive)
followed by an "
(" character, a series of one or more
"
?" characters separated by commas, and a "
)"
character. White space in a substitution group is permitted.
Throws
FormatError if the query string could not be formatted
correctly.