Skip to content

How to connect to surrealdb.wasm in the browser? #2730

Closed Answered by limcheekin
limcheekin asked this question in Q&A
Discussion options

You must be logged in to vote

I finally found a solution after digging into a comment of a closed issue at surrealdb/surrealdb.wasm#3 (comment):

	await db.connect("indxdb:test");

	// Select a specific namespace / database
	await db.use({ ns: "test", db: "test" });

IMHO, SurrealDB might be great database, but it is still a new kid in the database systems. It need to have many examples and improvements on documentation to showcase its capabilities and faster the adoption and acceptance by the enterprises and communities.
Don't you think so?

If the company hiring someone to do so, I'm open to such opportunity. :)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by limcheekin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant