felixge/node-mysql — pull request #129 by JoeZ99 (2011-10-10 21:10:53+00:00)
Title: patch to fix issue #126 with no alias function 

Following discussion in https://github.com/felixge/node-mysql/pull/127, issued a patch which is exactly the same as raszi's, but with no aliased function.

when calling the escape function for the first time, it's called 'binded' to the client instance. that way, the "this" works ok.