Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
09-08-2022 08:23 AM
cypher = """
MATCH ()-[r:HAS_INVOICE {invoiceId: toInteger($invoice_id)}]->() RETURN r
{ .*} as invoice
"""
row = tx.run(cypher, invoice_id=id).single()
in from_ordinal
raise ValueError("Ordinal out of range (1..3652059)")
ValueError: Ordinal out of range (1..3652059)
using the same query in Neo4j Browser with '40624' as invoice_id
I receive only one record as expected
{
"createdDate": "2022-08-04T18:16:04.989479000",
"dueDate": "-0001-11-26T00:13:24",
"invoiceNumber": "135",
"invoiceState": "PAID",
"currency": "EUR",
"invoiceId": 40624,
"expectedDate": "-0001-11-26T00:13:24",
"updatedDate": "2022-08-04T18:16:04.989484000",
"amountGross": "841.8"
}
Where I'm doing something wrong?
Thank you
Solved! Go to Solution.
09-09-2022 01:55 AM
Solved.
The problem was not due to Driver or something else expectedDate, dueDate are incorrect
Sorry guys
It's wroking fine now
Regards
09-09-2022 01:55 AM
Solved.
The problem was not due to Driver or something else expectedDate, dueDate are incorrect
Sorry guys
It's wroking fine now
Regards
All the sessions of the conference are now available online