Skip to content

Methods

version

Returns the version of the connected SurrealDB server as an 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?