Skip to content

Commit

Permalink
Update the Rust methods index (#929)
Browse files Browse the repository at this point in the history
  • Loading branch information
rushmorem authored Oct 9, 2024
1 parent 802f8ba commit e69635e
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions src/content/doc-sdk-rust/methods/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,6 @@ Most methods in the SurrealDB SDK involve either working with or creating an ins
<td scope="row" data-label="Function"><a href="/docs/sdk/rust/methods/connect"> <code>db.connect()</code></a></td>
<td scope="row" data-label="Description">Connects to a local or remote database endpoint</td>
</tr>
<tr>
<td scope="row" data-label="Function"><a href="/docs/sdk/rust/methods/disconnect"> <code> db.disconnect() </code></a></td>
<td scope="row" data-label="Description">Closes the persistent connection to the database</td>
</tr>
<tr>
<td scope="row" data-label="Function"><a href="/docs/sdk/rust/methods/init"> <code>Surreal::init()</code></a></td>
<td scope="row" data-label="Description">Initializes a non-connected instance of the database client</td>
Expand All @@ -40,7 +36,7 @@ Most methods in the SurrealDB SDK involve either working with or creating an ins
<td scope="row" data-label="Description">Assigns a value as a parameter for this connection</td>
</tr>
<tr>
<td scope="row" data-label="Function"><a href="/docs/sdk/rust/methods/use"> <code> db.use()</code></a></td>
<td scope="row" data-label="Function"><a href="/docs/sdk/rust/methods/use"> <code> db.use_ns().use_db()</code></a></td>
<td scope="row" data-label="Description">Switch to a specific namespace and database</td>
</tr>
<tr>
Expand Down Expand Up @@ -176,9 +172,5 @@ Most methods in the SurrealDB SDK involve either working with or creating an ins
<td scope="row" data-label="Function"><a href="/docs/sdk/rust/methods/version"> <code>db.version()</code></a></td>
<td scope="row" data-label="Description">Returns the current database version</td>
</tr>
<tr>
<td scope="row" data-label="Function"><a href="/docs/sdk/rust/methods/wait_for"> <code>db.import()</code></a></td>
<td scope="row" data-label="Description">Waits for a certain event to occur before proceeding</td>
</tr>
</tbody>
</table>
</table>

0 comments on commit e69635e

Please sign in to comment.