2

i just discovered this (see top answer) where they used format() for bulk query, but i can't find format anywhere in both mysql and mysql2 docs. Does anyone know where to find it?

2
  • 2
    Where are you looking? This is part of the mysql Javascript API. Commented Oct 25 at 2:04
  • i was looking at both mysql and mysql2 gh readme and scanned most of the related section except the escaping query section T_T maybe i was just having a bad luck, anyways thanks!! Commented Oct 25 at 10:46

1 Answer 1

1

In mysqljs repo readme they say

As mysql.format is exposed from SqlString.format

The sqlstring repo readme in turn document what it can handle, but the source itself is fairly straightforward so you can read it if you still miss something.

Sign up to request clarification or add additional context in comments.

1 Comment

thanks a lot! i missed that section, i was too focused on performing queries section and didn't knew that it was next to what i was looking for haha

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.