felixge/node-mysql — pull request #335 by dresende (2012-11-16 16:47:36+00:00)
Title: Allow custom escaping mode

People can now use connection config to define a `queryFormat` function that is used instead of `connection.format`.

Look at the test file (it just tests if the option is used or not).

I think this way is similar to custom typeCast. Does not bloat the core and allows people to be creative.