We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This is a query from the server It have 1 result, created is int
created
The code below, do the same exact query
let mut result = provider .graph .execute(query("MATCH(p:Post) RETURN p")) .await .unwrap(); let row = result.next().await.unwrap().unwrap(); let t = row.get::<i64>("created"); info!("{}", t.is_some()); result.next().await.unwrap().unwrap(); //panic
output
false thread 'actix-rt|system:0|arbiter:7' panicked at 'called `Option::unwrap()` on a `None` value', src/main.rs:64:34
observable behaviour: it did return 1 row, however, created is None expected behaviour: t.is_some()==true
None
t.is_some()==true
Enviroment: Arch Host, docker 23.0.1, image: neo4j:4.1 Cargo.toml
Cargo.toml
neo4rs = { git = "https://github.com/neo4j-labs/neo4rs" }
The same result happen up to neo4j:4.4.18
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This is a query from the server
It have 1 result,
created
is intThe code below, do the same exact query
output
observable behaviour: it did return 1 row, however,
created
isNone
expected behaviour:
t.is_some()==true
Enviroment: Arch Host, docker 23.0.1, image: neo4j:4.1
Cargo.toml
The same result happen up to neo4j:4.4.18
The text was updated successfully, but these errors were encountered: