Search the docs
Languages
/
Mojo
Methods
The version() method for the SurrealDB Mojo SDK returns the database version.
Returns the version of the connected SurrealDB server as an RpcResponse.
RpcResponse
Method Syntax
client.version()
This method takes no arguments.
var resp = client.version()if resp.is_ok() and resp.result: print(resp.result.value())
Was this page helpful?
Previous
use
Next
PHP