Closed dbeatty10 closed 3 weeks ago
By design, property graphs only exist within the lifecycle of a connection. This means that once the connection is closed, the property graph is also removed. In a future version I would like to make property graphs persistent, so I'll leave this issue open EDIT: Clarified in documentation here
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
What happens?
After opening a persistent database (rather than a transient in-memory DuckDB database), I expected PGQ objects to persist after exiting and re-starting.
But I got this error instead:
To Reproduce
This works:
But this doesn’t:
Open a persistent database file (which will create it if it doesn't already exist):
Create a property graph, do a PGQ query, and then exit:
Re-open the file for the persistent database:
And try the same query again:
Output:
Environment
OS: macOS Version: duckdb-pgq v0.10.0 3e6d77b923
After following these installation instructions, here is my current version: