MySQL is not returning sql.ErrNoRows for queries with COUNT()

前端 未结 0 580
耶瑟儿~
耶瑟儿~ 2021-02-07 05:47

According to the docs, when we are using QueryRow(), Scan() will return sql.ErrNoRows if no rows are found.

Ex: Below returns

相关标签:
回答
  • 消灭零回复
提交回复
热议问题