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

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b36738-41056.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b36738-41056.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?