예제 #1
0
def clean_db():
    _mongo.drop_collections()
예제 #2
0
파일: db.py 프로젝트: rgrp/openspending
def drop_collections():
    log.warn("Dropping collections from database")
    mongo.drop_collections()
    return 0