def createCursor()

in functions/source/CreateDatabase/handler.py [0:0]


def createCursor(host, userName, password):
    con = psycopg2.connect("user={} password={} host={}".format(userName, password, host))
    con.set_isolation_level(ISOLATION_LEVEL_AUTOCOMMIT)
    return con.cursor()