@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)

      • Optionaloptions: ReadOptions

        Read guarantee for this call; per-database bookmarks come back as bookmarks

      Returns Promise<
          {
              bookmarks?: Record<string, string>;
              shards: ShardTableCount[];
              total: number;
          },
      >

      Per-shard counts and global total

      1.1.4