drupflare/worker - v1.0.4
    Preparing search index...

    Function bufferForReplication

    • Collects the statements a replica would have to apply to reach this generation.

      Synchronous because it runs inside execSql(), which is PHP-facing and cannot await. The record's fingerprint is an async SHA-256, so the record is buffered here and sealed at the end of the invocation by sealGeneration.

      A replica buffers nothing: its writes are replica-local cache fills, and replicating them back would loop.

      Parameters

      Returns void