SurrealDB icon

SurrealDB

Interaction with a SurrealDB database

Table → Update All Records

AI-generated

Summary

Update all records in a specified SurrealDB table with the provided JSON data, optionally targeting a specific namespace and database and configuring connection pooling settings for efficiency.

Inputs

  • table (required) — The SurrealDB table name to update all records in. Can also be a full record ID; the table part will be extracted automatically.
  • data (required) — JSON object containing the fields and values to update for all records in the specified table.
  • options — Optional settings including namespace and database to override credential defaults for this operation.
  • connectionPooling — Optional configuration to customize connection pooling parameters such as max connections, timeouts, and retries to improve operation performance.

Output shape

a list of updated record objects or update results returned from SurrealDB.

Each workflow input item is processed to update all records in the specified table with the given data. Namespace and database options override defaults if provided. Connection pooling settings apply to the underlying database client connections. The operation returns SurrealDB's response data reflecting the update results, with error handling applied per item.

Links

Discussion