Class: ActiveRecord::Materialized::WriteOutboxRecord Private
- Inherits:
-
Base
- Object
- Base
- ActiveRecord::Materialized::WriteOutboxRecord
- Includes:
- ConfigurableTableName
- Defined in:
- lib/activerecord/materialized/write_outbox_record.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
ActiveRecord model backing the write-outbox table — the durable queue that database triggers append to when a dependency table is written out-of-band (raw SQL, another service, a backfill). ActiveRecord::Materialized::WriteOutbox.drain! relays these rows through the ingestion API. Uses ConfigurableTableName's dynamic resolution so a host app can rename the table via configuration.