Open ioannist opened 1 month ago
The following init examples don't work:
https://surrealdb.com/docs/sdk/javascript/core/initialization
specifically, await db.connect(db_url); returns MissingNamespaceDatabase
await db.connect(db_url);
One needs to: await db.connect(db_url, { namespace, database }); to get through, which shouldn't be the case
await db.connect(db_url, { namespace, database });
It should not throw an error
1.5.1
^1.0.0-beta.12
No response
Describe the bug
The following init examples don't work:
https://surrealdb.com/docs/sdk/javascript/core/initialization
specifically,
await db.connect(db_url);
returns MissingNamespaceDatabaseOne needs to:
await db.connect(db_url, { namespace, database });
to get through, which shouldn't be the caseSteps to reproduce
await db.connect(db_url);
Expected behaviour
It should not throw an error
SurrealDB version
1.5.1
SurrealDB.js version
^1.0.0-beta.12
Contact Details
No response
Is there an existing issue for this?
Code of Conduct