Skip to content

How to use InferReturnTypeFromInsertStatement with mysql2 #19

@michaelhaar

Description

@michaelhaar

also: INSERT/DELETE/UPDATE

It seems like the sql response is a string message, but for some reason mysql2 returns an object with stats.

see: https://sidorares.github.io/node-mysql2/docs/documentation/typescript-examples#resultsetheader

I assume other libs also have this issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions