zeromicro / go-zero

A cloud-native Go microservices framework with cli tool for productivity.

Home Page:https://go-zero.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

查询空记录问题

no-serve-people opened this issue · comments

查询空记录 为什么报错 no rows inresult set? 不应该返回空吗

This is not a bug, I think the best way to solve this problem is to the official source code of sql.

保留了标准库的行为哈,而且在unmarshal对象的时候你怎么判断没有结果和零值?