2015-08-06 findして重複取り除いて配列にしてんで配列につっこむとき文字列に変換しとく つまりこんなかんじ list = map(str,db.hoge.find(cond).distinct("_id"))