serverless-mysql icon indicating copy to clipboard operation
serverless-mysql copied to clipboard

Expose `escapeId` and `format` and correct TypeScript types

Open benvium opened this issue 4 years ago • 0 comments

Can now use escapeId and format functions on the mysql object.

The previous type of the mysql.escape function was wrong - should be a function returning a string (not a function returning {escape,escapeId,format}. Corrected this and used the same scheme for the new functions

benvium avatar Oct 25 '21 11:10 benvium