SurrealDB icon

SurrealDB

Interaction with a SurrealDB database

Table → Merge All Records

AI-generated

Summary

Merge specified JSON data into every record within a given SurrealDB table, optionally targeting a particular namespace and database.

Inputs

  • Table (required) — The SurrealDB table name to update (e.g., "person", "product", "order"). A full record ID may be provided and the table part will be extracted automatically.
  • Merge Data (JSON) (required) — JSON object containing data fields to merge into all records in the specified table.
  • Options — Optional settings to override credential-level namespace and database for this operation.

Output shape

a single record containing the results of the merge operation for all updated records

The output reflects the batch result of applying the merge to all records; no pagination applies. Error handling and retry logic may affect the final result. Connection pooling options configure how connections are managed but do not affect returned data.

Links

Discussion