def test_driver(): driver = get_graphdb_deriver() def print_count(tx): cql = "match (n) return count(n)" for record in tx.run(cql): print(record) with driver.session() as session: session.read_transaction(print_count)
def __init__(self): self.driver = get_graphdb_deriver()
def __init__(self): self.conn = get_schedule_connection() self.driver = get_graphdb_deriver()
def __init__(self): self.conn = get_schedule_connection() self.driver = get_graphdb_deriver() self.sql = "select id, room_type_id, room_count, course_id,lesson_id,begin_at, \
def __init__(self): self.conn = get_teacher_connection() self.driver = get_graphdb_deriver()