node-mysql2
node-mysql2 copied to clipboard
:zap: fast mysqljs/mysql compatible mysql driver for node.js
Hello, I think I found an issue with the `supportBigNumbers` connection option. Running this quick test: ```javascript const mysql = require('mysql2/promise'); async function test() { const connection = await mysql.createConnection({uri:...
I am using stream to move a big data set, but it seems there is a cap of ~460 iterations that causes an error i dont understand. This is my...
This fixes a couple of type errors compared to the underlying code. This is likely a breaking change for some users as it would have required some working around to...
```js import mysql from 'mysql2'; const Connection = mysql.Connection; const PoolConnection = mysql.PoolConnection; console.log(PoolConnection.prototype instanceof Connection); ``` [email protected] : true [email protected] : false
This issue was written for `mysql`, but the problem also exists in `mysql2`. The `mysql` repository no long accepts issues from non-contributors... The patch attached is for `mysql`, but I...
When `connection.release()` is called multiple times, there is no logic implemented to properly handle the repeated release of the same connection. Below is the source code for the `releaseConnection` method:...
Despite having both mysql2 and @types/node installed, connection.query does not seem to have the proper types defined, despite being a valid and documented command:   https://sidorares.github.io/node-mysql2/docs/documentation/typescript-examples Any suggestions?
When trying to access the Type of a certain field through the FieldPacket interface I get the following error in vs code:  I've tried using the type field and...
I am running into an issue where I am setting a variable to JSON.stringify() and then inserting that as the value into a JSON column in the database. Here is...