Closed sleepinggenius2 closed 5 years ago
The format, escape, and escapeId functions also seem to be missing on the Pool interface.
https://github.com/sidorares/node-mysql2/blob/master/lib/pool.js#L200,L219
Promise is also missing.
I would say PR is always welcome. 🌷
authSwitcher
in ConnectionOptions
is also missing.
The code is just using everything from types/mysql so new properties from mysql2 is missing.
I've added all missing properties in #27
There seem to be some missing options on the ConnectionOptions/PoolOptions interfaces. From a quick look over the code, specifically decimalNumbers, namedPlaceholders, and nestTables. I ran into this issue in trying to use the namedPlaceholders option over the bulky queryFormat example in the documentation.
https://github.com/sidorares/node-mysql2/blob/master/lib/connection_config.js#L29,L43