Migrator
removeRecord()
Signature
Section titled “Signature”removeRecord() — returns void
Available in: migration
Category: Migration Functions
Description
Section titled “Description”Removes existing records from a table Only available in a migration CFC
Parameters
Section titled “Parameters”| Name | Type | Required | Default | Description |
|---|---|---|---|---|
table | string | yes | — | The table name to remove the record from |
where | string | no | — | The where clause, i.e id = 123 |