<filename>assignment/3/python3_ver/drop_white.py
# -*- coding: utf-8 -*
import pymongo

client = pymongo.MongoClient("mongodb://localhost:27000/")
data_base = client['test']
uid_col = data_base['uid']

uid_col.delete_many({"type": "white"})

<filename>assignment/3/python3_ver/drop_white.py
# -*- coding: utf-8 -*
import pymongo

client = pymongo.MongoClient("mongodb://localhost:27000/")
data_base = client['test']
uid_col = data_base['uid']

uid_col.delete_many({"type": "white"})

# -*- coding: utf-8 -*