grafeo_db() opens an embedded Grafeo database backed by the Rust engine.
Use path = NULL for an in-memory database, or provide a filesystem path for
a persistent database.
Examples
db <- grafeo_db()
db$execute("INSERT (:Person {name: 'Alix', age: 30})")
#> <grafeo_result>
#> rows: 1
#> columns: 1
#> gql_status: 00000
#> execution_time_ms: 0.754875
#> rows_scanned: 1
#> _anon_0
#> 1 0, Person, 30, Alix
db$query("MATCH (p:Person) RETURN p.name, p.age")
#> p.name p.age
#> 1 Alix 30
db$close()