Weslley Araújo

Results 93 comments of Weslley Araújo

Hi @svetlasyrimis, I tried it in `^3.4.1` and it works fine for me. I performed a real connection and: ```js import mysql from 'mysql2'; const conn = mysql.createConnection({ host: '',...

Thanks @yuxizhe 🙋🏻‍♂️

You can follow this example to see how to extend the `RowDataPacket`: - [Extending and using **Interfaces** with `RowDataPacket`](https://github.com/sidorares/node-mysql2/blob/4ac6a8f0f908cfa7af1f2dddd17e4054af73e52f/examples/typescript/row-data-packet.ts) Also: - [Extending and using **Interfaces** with `RowDataPacket` and `rowAsArray`](https://github.com/sidorares/node-mysql2/blob/4ac6a8f0f908cfa7af1f2dddd17e4054af73e52f/examples/typescript/row-data-packet-row-as-array.ts) -...

Hi @kricha, complementing @yuxizhe's answer, you can also specify the expected type of the `execute`. For example: ```ts import mysql from 'mysql2/promise'; const conn = await mysql.createConnection({}); /** Note the...

You can follow this example from documentation: [documentation/en/TypeScript-Examples.md#resultsetheader](https://github.com/sidorares/node-mysql2/blob/00508c38a13f1394fb8a6cf3fd88df1353ba0e77/documentation/en/TypeScript-Examples.md#resultsetheader) Also a practical example here: https://github.com/sidorares/node-mysql2/blob/00508c38a13f1394fb8a6cf3fd88df1353ba0e77/examples/typescript/row-data-packet.ts#L35-L41 --- @kricha, I'm closing this **Issue**, but feel free to ask anything 🙋🏻‍♂️

Hi @Parsonswy, it's been a while, but I'd really appreciate it if you could check out PR #2398. I'd like to hear positive or negative feedbacks too 🙋🏻‍♂️ As I...

You can look at [typings/mysql](https://github.com/sidorares/node-mysql2/tree/4ac6a8f0f908cfa7af1f2dddd17e4054af73e52f/typings/mysql) for the **MySQL2** types and its documentation in [documentation/en/TypeScript-Examples.md](https://github.com/sidorares/node-mysql2/blob/4ac6a8f0f908cfa7af1f2dddd17e4054af73e52f/documentation/en/TypeScript-Examples.md).

> I think making a PR to set `lru-cache` back to v7 is good, there does not seem to be any security issues patched by using v8. Hi, @WikiRik! ###...