serverless-mysql
serverless-mysql copied to clipboard
Expose `escapeId` and `format` and correct TypeScript types
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