TypeError: distinct() takes exactly 2 arguments (3 given)

来源:互联网 发布:java生成xml文件jdom 编辑:程序博客网 时间:2024/06/03 20:33

出现原因,错误的写法:

table.distinct('snp',{'pid':'xxx'})

正确的写法

table.find({'pid':'xxx'}).distinct('snp')



0 0
原创粉丝点击