surrealdb / surrealdb.js

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

Add version method #252

Closed macjuul closed 5 months ago

macjuul commented 5 months ago

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

What is the motivation?

Query the remote database version over RPC allowing for custom version checking

What does this change do?

Exposes a new version method on Surreal instances

What is your testing strategy?

Added unit test

Is this related to any issues?

If this pull request is related to any other pull request or issue, or resolves any issues - then link all related pull requests and issues here.

Have you read the Contributing Guidelines?