Skip to content
Corex

ManagedTableWriteAdapter

Corex\Config\Data\ManagedTableWriteAdapter · class · Config layer

Turns a managed table’s declaration into the write boundary the import and mutation services already expect (spec 074, FR-3.4). The declaration is the authority on what may be written: this adapter passes only the declared writable columns to the writer, so a value for any other column is discarded no matter how it got into the payload. That is the whole point of making writability opt-in — an audit table that declares nothing cannot be written to even if something calls this by mistake.

__construct(ManagedTable $table, TableDataWriter $writer)

Section titled “__construct(ManagedTable $table, TableDataWriter $writer)”

update(array $recordIds, array $values): OperationResult

Section titled “update(array $recordIds, array $values): OperationResult”