Ejemplo n.º 1
0
def commit_cypher_query_numpy(cypher_query):
    tr = Transaction(g)
    array = tr.run(cypher_query).to_ndarray()

    return array
Ejemplo n.º 2
0
def commit_cypher_query(cypher_query):
    tr = Transaction(g)
    tr.run(cypher_query)
    tr.commit()
Ejemplo n.º 3
0
def commit_cypher_query_set(cypher_query_set):
    tr = Transaction(g)
    for cypher_query in cypher_query_set:
        tr.run(cypher_query)
    tr.commit()