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 +