Atlas Scripts declare data operations as code
For a backfill or purge, declare an Atlas `loop` or `exec` script; for a report, declare a `query` script. Run it with the matching `atlas script` command, then review and test it against a dev database in CI before production use.
atlas script loop --url "<database-url>" --file "file://<script-file>" --run "<script-name>"