SurrealDB icon

SurrealDB

Interaction with a SurrealDB database

Index → Drop Index

AI-generated

Summary

Drop an existing index from a specified table in SurrealDB, optionally using alternative syntax and conditional existence checks.

Inputs

  • Table (required) — Specifies the name of the table from which the index will be dropped.
  • Index Name (required) — Specifies the name of the index to drop.
  • If Exists — Optionally drop the index only if it exists to avoid errors.
  • Use Alternative Syntax — Optionally use the older syntax "REMOVE INDEX name ON table" for compatibility with older SurrealDB versions.
  • Namespace — Overrides the credential namespace for this operation, if provided.
  • Database — Overrides the credential database for this operation, if provided.
  • Connection Pooling — Optional configuration for connection pooling parameters, such as max/min connections, retry attempts, and validation settings, to optimize performance.

Output shape

a single record containing the result of the drop index operation, including success or error details for each input item

Outputs correspond to each input item processed. Errors during the operation are captured and returned per item for workflow error handling.

Links

Discussion