JoeZ99/node-mysql — comment on commit 3fc4cc1aa7b7f308a5e71e9e45349575e64054c3
File: lib/client.js line 146
By JoeZ99:

the escape function that is called within the "format" method is called with no context, so , the "this" var inside the escape function will not show what we expect.

when calling, `this.escape.bind(this)`, we call the 'escape' function already binded to the client instance.