-
Notifications
You must be signed in to change notification settings - Fork 84
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Hi there!
I am creating a small library to help me building my mysql queries. The goal is to build the query through series of functions and then be able to output the query ready. Once it is ready, I execute query(mystring). However I noticed that I can't run mysql.getClient() before running mysql.connect() and therefore, I can't get the escape function from mysql.getClient().escape
TLDR
Can you please export the function escape from require('mysql')? On this way I don't have to mysql.connect() and mysql.getClient() to use the function.
Thanks!
SebSchwartz, benvium and sebastientromp
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request