You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
data-transport/transport/mongo.py

227 lines
8.5 KiB
Python

"""
Data Transport - 1.0
Steve L. Nyemba, The Phi Technology LLC
This file is a wrapper around mongodb for reading/writing content against a mongodb server and executing views (mapreduce)
"""
import re
if key in ['username','password'] :
This class will read from a mongodb data store and return the content of a document (not a collection)
4 years ago
:param filename filename to be used
_uid = _args['table'] if 'table' in _args else _args['collection']