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

    Function splitChargedRows

    • Divides charged rows into data and index maintenance by per-table charge factor. A total that is not a whole multiple (not all fresh single-row inserts) reports exact: false, not a rounding.

      Parameters

      • charged: Record<string, number>
      • chargePerRow: Record<string, number>

      Returns { dataRows: number; indexRows: number; indexShare: number; rows: ChargeSplit[] }