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.
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
andexecute
.