The following query
MATCH (f:Company {companyId:998})
CALL apoc.path.subgraphAll(f, {
relationshipFilter: "INVOICE",
minLevel: 1,
maxLevel: 6 })
YIELD nodes, relationships
RETURN nodes, relationships;
Return not only the relationship INVOICE b...
Hi all,
my graph is composed by a company entity and invoice relationships between companies. I'm able to create a summary relationship one by one. My question is how I can do this for all the company in cypher? At the moment I use Python to iterate...
Hi,
I need to find the longest path between 2 nodes with the relationship HAS_INVOICE
MATCH p=(f:Company)-[r:HAS_INVOICE*1..10]->(t:Company)
RETURN p;
this query is working fine.
Now I need only the relationship with invoiceState property with value...
Hi good morning,
I am developing an application that updates my graph in real-time. I receive an invoice id that I have to update.In my case, the invoice is a Relationship between two subjects.
I'm working Python development environment.I can read th...
I'm trying to read data from python.
Here an example
cypher = """
MATCH ()-[r:HAS_INVOICE {invoiceId: toInteger($invoice_id)}]->() RETURN r
{ .*} as invoice
"""
row = tx.run(cypher, invoice_id=id).single()
then I receive this error
in from_ordina...