surrealdb / surrealdb.java

SurrealDB SDK for Java
https://surrealdb.com
Apache License 2.0
67 stars 21 forks source link

Feature: Implement use (empty, ns, ns+db) for the new refactored WS implementation #66

Closed phughk closed 1 year ago

phughk commented 1 year ago

Is your feature request related to a problem?

We do not currently allow using the use command/endpoint. We should add this feature so that clients can conveniently connect to the database.

Describe the solution

Add handling of the use command in the Bidirectional websocket protocol implementation.

Alternative methods

Both query and endpoint are valid, though the JS implementation is reference implementation.

SurrealDB version

1.0.0-beta.9+20230821.0665e1b7 for macos on aarch64

Contact Details

hugh@surrealdb.com

Is there an existing issue for this?

Code of Conduct