Skip to content

How to have table name in result of query #2617

Answered by sidorares
Gouttfi asked this question in Q&A
Discussion options

You must be logged in to vote

have you tried nestTables? https://github.com/mysqljs/mysql?tab=readme-ov-file#joins-with-overlapping-column-names

@wellwelwel for some reason can't find in the documentation, not sure if it was never there or lost along the way

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@wellwelwel
Comment options

wellwelwel Apr 24, 2024
Collaborator Sponsor

@Gouttfi
Comment options

Answer selected by Gouttfi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants