surrealdb / docs.surrealdb.com

The documentation for SurrealDB, powered by Docusaurus
https://surrealdb.com/docs/
70 stars 112 forks source link

Documentation: fields are not optional for USE method of RPC #655

Open kotolex opened 1 month ago

kotolex commented 1 month ago

Description

Here https://surrealdb.com/docs/surrealdb/2.x/integration/rpc#use we have Optional Parameters NS and DB, but you have to use it both for websocket and have to use at least NS for http. So: 1) fields are not optional 2) strange behavior for websockets (cant use just NS, as http can)

Is there an existing issue for this?

Code of Conduct