surrealdb / surrealdb.js

SurrealDB SDK for JavaScript
https://surrealdb.com
Apache License 2.0
287 stars 47 forks source link

Allow partial use #310

Closed kearfy closed 1 month ago

kearfy commented 1 month ago

Thank you for submitting this pull request! We appreciate you spending the time to work on these changes.

What is the motivation?

Appearantly, the RPC protocol allows you to use only a namespace or database, as long as two values are passed in the argument array. Ommitted values can be represented as none

What does this change do?

It allows you to partially use only a namespace

What is your testing strategy?

GitHub CI

Is this related to any issues?

No

Have you read the Contributing Guidelines?