types/mysql2

Typedefs don't support rowsAsArray option

Closed this issue · 1 comments

mysql2 supports getting query results back as an array of arrays but currently the typedefs don't include this query option (as it's not in the relied-upon @types/mysql lib) and its return value (an array of arrays) is also missing as an option for functions like query and execute.

Hi, I've added rowsAsArray for ConnectionOptions in pull request #27