excludeTxnFromChangeStreams property
When exclude_txn_from_change_streams is set to true, it prevents read
or write transactions from being tracked in change streams.
- If the DDL option
allow_txn_exclusionis set totrue, then the updates made within this transaction aren't recorded in the change stream. - If you don't set the DDL option
allow_txn_exclusionor if it's set tofalse, then the updates made within this transaction are recorded in the change stream. Whenexclude_txn_from_change_streamsis set tofalseor not set, modifications from this transaction are recorded in all change streams that are tracking columns modified by these transactions. Theexclude_txn_from_change_streamsoption can only be specified for read-write or partitioned DML transactions, otherwise the API returns anINVALID_ARGUMENTerror.
Implementation
core.bool? excludeTxnFromChangeStreams;