Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upAdded Template Literals Example #2165
Conversation
var first_name = "user provided first name value"; | ||
var last_name = "user provided last name value"; | ||
var query = `mysqk.format(INSERT INTO Users SET |
var first_name = "user provided first name value"; | ||
var last_name = "user provided last name value"; | ||
var query = `mysql.format(INSERT INTO Users SET |
dougwilson
Apr 16, 2019
Member
Sorry I missed this on the last review. Was just going through trying to run the examples real quick. I think the quote on this line is in the wrong spot. I think it's supposed to be after the opening parentheses.
I wanted to use template literals in one of my projects but couldn't find an example. I saw #2044 and decided to add some examples to the README.md for others to find a quick examples if they desire to use template literals when using the module.