'Inserts a document (dictionary) into mongo database table'

def add_document(self, doc):

    print ('adding    docment    %s' % doc)
    try:
        self._table.insert(doc)
    except Exception as e:
        return ('Error:    %s' % e)
