Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mysql语句如果select没有结果该怎么处理呢? #16

Open
lsm19870508 opened this issue Mar 12, 2022 · 1 comment
Open

mysql语句如果select没有结果该怎么处理呢? #16

lsm19870508 opened this issue Mar 12, 2022 · 1 comment

Comments

@lsm19870508
Copy link

我看示例里都是回调函数,db.query,那没结果还会进行回调么?

@znone
Copy link
Owner

znone commented Mar 15, 2022

结果集是空的话,不会调用回调函数。每个记录会调用一次回调函数。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants