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
When using surrealdb.js with surrealdb.node in persistent storage mode (SurrealKV), the url is actually a local path an should thus not be url-encoded
surrealdb.js
surrealdb.node
import { Surreal } from 'surrealdb.js'; import { surrealdbNodeEngines } from 'surrealdb.node'; const db = new Surreal({ engines: surrealdbNodeEngines(), }); await db.connect("surrealkv:///Users/JohnDoe/Library/Application Support/myApp/database.surrealkv");
This will write the database to /Users/JohnDoe/Library/Application%20Support/myApp
/Users/JohnDoe/Library/Application%20Support/myApp
Local paths should not be url-encoded and the database should be writing to /Users/JohnDoe/Library/Application Support/myApp
/Users/JohnDoe/Library/Application Support/myApp
surrealdb.node 1.0.0-beta.1
1.0.0-beta.12
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
When using
surrealdb.js
withsurrealdb.node
in persistent storage mode (SurrealKV), the url is actually a local path an should thus not be url-encodedSteps to reproduce
This will write the database to
/Users/JohnDoe/Library/Application%20Support/myApp
Expected behaviour
Local paths should not be url-encoded and the database should be writing to
/Users/JohnDoe/Library/Application Support/myApp
Node SDK version
surrealdb.node 1.0.0-beta.1
JavaScript SDK version
1.0.0-beta.12
Is there an existing issue for this?
Code of Conduct
The text was updated successfully, but these errors were encountered: