---
title: "Data manipulation"
description: "Read and write records from the Rust SDK without writing SurrealQL, with select(), create(), insert(), update(), upsert() and delete()."
canonical_url: "https://surrealdb.com/docs/reference/rust/concepts/data-manipulation"
sdk: "Rust SDK"
sdk_version: "4.0.1"
surrealdb_version: "4.x"
last_modified: "2026-11-24T05:29:47Z"
---

> Full SurrealDB documentation index: https://surrealdb.com/docs/llms.txt

# Data manipulation

Read and write records from the Rust SDK without writing SurrealQL, with select(), create(), insert(), update(), upsert() and delete().

These methods read and write records without writing SurrealQL. Each takes a table name or a record ID, and each has its own page with its arguments, builder methods and examples. To run SurrealQL yourself, see [executing queries](/docs/reference/rust/concepts/executing-queries.md), and for a live stream of changes to a table, see [live queries](/docs/reference/rust/concepts/live-queries.md).

| Method | Description |
| --- | --- |
| [`db.select()`](/docs/reference/rust/methods/select.md) | Selects all records in a table, or a specific record, from the database |
| [`db.create()`](/docs/reference/rust/methods/create.md) | Creates one or more records in the database |
| [`db.insert()`](/docs/reference/rust/methods/insert.md) | Adds one record or many to a table, and inserts graph edges through `.relation()` |
| [`db.update()`](/docs/reference/rust/methods/update.md) | Updates all or specific records in the database |
| [`db.upsert()`](/docs/reference/rust/methods/upsert.md) | Upserts all records in a table, or a specific record |
| [`db.delete()`](/docs/reference/rust/methods/delete.md) | Deletes all records in a table, or a specific record, from the database |
