from pymongo import MongoClient
#Creando conexiones para conectar con Mongo db
client =MongoClient('localhost:27017')
db= client.EmployeeData

#Funcion para leer data en Mongo db
def read():
    try:
        empcol =db.Employees.find()
        print('\n Toda la informacion de EmployeeData Database\n')
        for emp in empcol:
            print(emp)

    except ImportError:
        platform_specific_module =None         

1fe8bee93494880004ae26c80b1da2a3c49e9664
<mask token>

<mask token>


def read():
    try:
        empcol = db.Employees.find()
        print('\n Toda la informacion de EmployeeData Database\n')
        for emp in empcol:
            print(emp)
    except ImportError:
        platform_specific_module = None

<mask token>
client = MongoClient('localhost:27017')
db = client.EmployeeData


def read():
    try:
        empcol = db.Employees.find()
        print('\n Toda la informacion de EmployeeData Database\n')
        for emp in empcol:
            print(emp)
    except ImportError:
        platform_specific_module = None

from pymongo import MongoClient
client = MongoClient('localhost:27017')
db = client.EmployeeData


def read():
    try:
        empcol = db.Employees.find()
        print('\n Toda la informacion de EmployeeData Database\n')
        for emp in empcol:
            print(emp)
    except ImportError:
        platform_specific_module = None

from pymongo import MongoClient
#Creando conexiones para conectar con Mongo db
client =MongoClient('localhost:27017')
db= client.EmployeeData

#Funcion para leer data en Mongo db
def read():
    try:
        empcol =db.Employees.find()
        print('\n Toda la informacion de EmployeeData Database\n')
        for emp in empcol:
            print(emp)

    except ImportError:
        platform_specific_module =None         
