colはcollectionオブジェクト
col.distinct(column_name, {'pokopoko':'poko'})
としたらTypeError: distinct() takes exactly 2 arguments (3 given)とおこられる
col.find({'pokopoko':'poko'}).distinct(column_name)
とすればよい
Go to list of users who liked
More than 5 years have passed since last update.
colはcollectionオブジェクト
col.distinct(column_name, {'pokopoko':'poko'})
としたらTypeError: distinct() takes exactly 2 arguments (3 given)とおこられる
col.find({'pokopoko':'poko'}).distinct(column_name)
とすればよい
Register as a new user and use Qiita more conveniently
Go to list of users who liked