Closed bestplay closed 7 years ago
感谢您的 python 教程@michaelliao。 有个疑问:
orm模块中 Model 类中定义了 findNumber() 方法。
里面的的这句 SQL: "select %s num from %s"
%s
其中 num 没有看懂。。。
我是不是错过了啥?
'select count(account_id) num from account' 'select count(account_id) as num from account' 就是别名
额。怪我, 平常用 as...
感谢您的 python 教程@michaelliao。 有个疑问:
orm模块中 Model 类中定义了 findNumber() 方法。
里面的的这句 SQL: "select %s num from
%s
"其中 num 没有看懂。。。
我是不是错过了啥?