Skip to content

imthatgin/neoq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

neoq

Neo4j helper for Rust

Migrations

let migrator = GraphMigrator::new();

let migrations = migrator.gather_migrations(Path::new("./migrations"));
let migrations_result = migrator
    .run_migrations(your_db, your_graph, migrations)
    .await;

Result helpers

let mut results = tx
    .execute(query)
    .await?;

let session = results
    .value::<YourQueryResult>(&mut tx)
    .await
let mut results = tx
    .execute(query)
    .await?;

let session = results
    .values::<YourQueryResult>(&mut tx)
    .await

About

Neo4j helper for Rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors