Homepage

records_delete_all

Last edit: Nov 01, 2026

Soft deletes all records of a table that match the filter and returns their
number. The records are marked as deleted immediately; the rest of the
deletion runs in a background job unless sync is true

records_delete_all(
  any_table: Boolean
  filter: RecordsFilterInput
  sync: Boolean
  table: String
): ObjectCount!

Arguments

any_table (Boolean)

Must be true to delete records across all tables when neither table nor a table filter is given

filter (RecordsFilterInput)

Conditions the deleted records must match

sync (Boolean)

When true, the deletion finishes before the mutation returns instead of in a background job

table (String)

Name of the table whose records are deleted

Type

ObjectCount

Result of a bulk operation

Questions?

We are always happy to help with any questions you may have.

contact us