<filename>tools/dropcollection.py
import time

from pymongo import MongoClient
import sys

connect = MongoClient("127.0.0.1", 27017)
db = connect["farisvm"]
db.drop_collection(db.adblock)

<filename>tools/dropcollection.py
import time

from pymongo import MongoClient
import sys

connect = MongoClient("127.0.0.1", 27017)
db = connect["farisvm"]
db.drop_collection(db.adblock)
