@earth-app/collegedb
    Preparing search index...

    Function countAllShards

    • Counts rows for a table across all shards.

      Parameters

      • table: string

        Table name to count

      • batchSize: number = 50

        Number of concurrent shard queries (default: 50)

      Returns Promise<{ shards: ShardTableCount[]; total: number }>

      Per-shard counts and global total

      1.1.4