node-mysql2
node-mysql2 copied to clipboard
Missing documentation about '??' characters as placeholders for identifiers?
Hi,
looks like using ?? is working as placeholders for identifiers as in mysql, but I'm missing some information on the documentation about that. Or is it just something new that I just found out or something inherited from "mysql" package?
Hi, @tirengarfio 🙋🏻♂️
From MySQL2 documentation:
MySQL2 is mostly API compatible with Node MySQL. You should check their API documentation to see all available API options.
Also:
MySQL2 is mostly API compatible with mysqljs and supports majority of features. MySQL2 also offers these additional features:
- Faster / Better Performance
- Prepared Statements
- MySQL Binary Log Protocol
- MySQL Server
- Extended support for Encoding and Collation
- Promise Wrapper
- Compression
- SSL and Authentication Switch
- Custom Streams
- Pooling
You can follow these quotes from documentation here and here.