node-mysql2 icon indicating copy to clipboard operation
node-mysql2 copied to clipboard

:zap: fast mysqljs/mysql compatible mysql driver for node.js

Results 356 node-mysql2 issues
Sort by recently updated
recently updated
newest added

the overloading makes the function types harder to work with and adds no type refinement value. prefer a single, more concise interface. this commit leaves the `any | any[] |...

typescript
needs rebase
needs discussion

Adding other constants modules as top-level getters. This will resolve a number of open bugs, including * https://github.com/sidorares/node-mysql2/issues/1224 * https://github.com/sidorares/node-mysql2/issues/1216 * https://github.com/sidorares/node-mysql2/issues/1084 In my own use case, we had been...

needs rebase

Originally my changes were to expose query as a function of PoolCluster (as it was in the mysqljs library - https://github.com/mysqljs/mysql/blob/3430c513d6b0ca279fb7c79b210c9301e9315658/lib/PoolNamespace.js#L58) In order to achieve that, I had to expose...

needs investigation
needs rebase

This change solves "Warning: got packets out of order. Expected X but received Y" warnings emitted on mock server's connections. Before the change this message is printed 23 times during...

needs investigation
needs rebase
needs discussion

It acutally takes a callback, but `PoolCluster.d.ts` does not currently reflect that.

typescript
needs rebase

### Summary This merge request optimizes several functions in `promise.js`, including `ping()`, `execute()`, `query()`, and other similar methods, by moving the creation of `Error` objects inside their respective error handling...

performance
needs tests
needs rebase

Adds list of undefined named parameters/indexes to error message. For named parameters the error message will be `Bind parameters must not contain undefined (parameters :id, :email). To pass SQL NULL...

needs rebase

Fixes #1847 This PR contains just the failing test for #1847, without any fixes yet.

needs rebase

- [ ] switch to a command based server api - [ ] integration tests - [ ] server documentation - [ ] examples

needs rebase

Fixes #1019. str is undefined when record include zero date on execute select statement

needs tests
needs rebase