Search the docs
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
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