From e69635e585bd33d44738fdd3855ed33be1d940d0 Mon Sep 17 00:00:00 2001 From: Rushmore Mushambi Date: Wed, 9 Oct 2024 16:12:15 +0100 Subject: [PATCH] Update the Rust methods index (#929) --- src/content/doc-sdk-rust/methods/index.mdx | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/src/content/doc-sdk-rust/methods/index.mdx b/src/content/doc-sdk-rust/methods/index.mdx index a3ebadb65..d0933a027 100644 --- a/src/content/doc-sdk-rust/methods/index.mdx +++ b/src/content/doc-sdk-rust/methods/index.mdx @@ -23,10 +23,6 @@ Most methods in the SurrealDB SDK involve either working with or creating an ins db.connect() Connects to a local or remote database endpoint - - db.disconnect() - Closes the persistent connection to the database - Surreal::init() Initializes a non-connected instance of the database client @@ -40,7 +36,7 @@ Most methods in the SurrealDB SDK involve either working with or creating an ins Assigns a value as a parameter for this connection - db.use() + db.use_ns().use_db() Switch to a specific namespace and database @@ -176,9 +172,5 @@ Most methods in the SurrealDB SDK involve either working with or creating an ins db.version() Returns the current database version - - db.import() - Waits for a certain event to occur before proceeding - - \ No newline at end of file +