ResultSetHeader object in the response
Looking for a way to determine the impact of the queries I am making to the database I have console logged the abover response from an update query. My question is if there is any documentation anywhere about the
ResultSetHeader object or if anybody can confirm if it is consistent?1 Reply
So far, using
mysql the response is consistent / present on update, insert and delete queries, but not for select queries. I haven't tried any others.
It seems like those 3 queries I have tested are of type MySqlRawQueryResult
In the session.d.ts I found export type MySqlRawQueryResult = [ResultSetHeader, FieldPacket[]];
That led me to discover a ResultSetHeadr.d.ts file with the following content: