Nodejs queries empty data with mysql and returns true

query has been encapsulated in promise. If the test is successful, you can get the existing data

.

but I want to query a row that does not exist (open_id = "zzz")

clipboard.png

:


clipboard.png

clipboard.png

would like to ask the boss, is there any solution, I would like to thank you here!

Mar.05,2021

you'll know when you print out the data

Menu