Replies: 1 comment 1 reply
-
我不太用 mysql 。但从代码看 https://github.com/cloudwu/skynet/blob/master/lualib/skynet/db/mysql.lua#L614 返回 {} 还是 {{}} 是服务器回应的数据决定的,并非 driver 的行为。 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
当使用mysql,执行sum语句时,如下,如果结果是空,返回的结果是{{}}。使用起来不是很方便。
看能不能改成如果结果是空,返回和其它SELECT语句一样的结果{}。
Beta Was this translation helpful? Give feedback.
All reactions