
from pymongo.mongo_client import MongoClient
URL='localhost'
DB_NAME = 'iocDatabase'

class DatabaseManager(object):
    '''
    A DatabaseManager is used for the establishment of a connection with the mongoDB database. Offer CRUD operations via functions.
    '''

    def __init__(self, cl=MongoClient(URL,27017),db_name=DB_NAME):
        client=cl;
        database=client[db_name]

    def insert(self,xml_page):
        pass

    def delete(self,xml_index):
        pass

    def search(self,xml_index):
        pass

    def update(self,xml_index, parameters_list):
        pass




fd2559933157b724438c9c92ca7c77cad2a64ff7
<mask token>


class DatabaseManager(object):
    <mask token>
    <mask token>
    <mask token>

    def delete(self, xml_index):
        pass

    def search(self, xml_index):
        pass
    <mask token>

<mask token>


class DatabaseManager(object):
    <mask token>
    <mask token>

    def insert(self, xml_page):
        pass

    def delete(self, xml_index):
        pass

    def search(self, xml_index):
        pass

    def update(self, xml_index, parameters_list):
        pass

<mask token>


class DatabaseManager(object):
    """
    A DatabaseManager is used for the establishment of a connection with the mongoDB database. Offer CRUD operations via functions.
    """

    def __init__(self, cl=MongoClient(URL, 27017), db_name=DB_NAME):
        client = cl
        database = client[db_name]

    def insert(self, xml_page):
        pass

    def delete(self, xml_index):
        pass

    def search(self, xml_index):
        pass

    def update(self, xml_index, parameters_list):
        pass

<mask token>
URL = 'localhost'
DB_NAME = 'iocDatabase'


class DatabaseManager(object):
    """
    A DatabaseManager is used for the establishment of a connection with the mongoDB database. Offer CRUD operations via functions.
    """

    def __init__(self, cl=MongoClient(URL, 27017), db_name=DB_NAME):
        client = cl
        database = client[db_name]

    def insert(self, xml_page):
        pass

    def delete(self, xml_index):
        pass

    def search(self, xml_index):
        pass

    def update(self, xml_index, parameters_list):
        pass


from pymongo.mongo_client import MongoClient
URL='localhost'
DB_NAME = 'iocDatabase'

class DatabaseManager(object):
    '''
    A DatabaseManager is used for the establishment of a connection with the mongoDB database. Offer CRUD operations via functions.
    '''

    def __init__(self, cl=MongoClient(URL,27017),db_name=DB_NAME):
        client=cl;
        database=client[db_name]

    def insert(self,xml_page):
        pass

    def delete(self,xml_index):
        pass

    def search(self,xml_index):
        pass

    def update(self,xml_index, parameters_list):
        pass



