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

    Function indexShard

    • Creates an index directly on a specific shard.

      Type Parameters

      • T = Record<string, unknown>

      Parameters

      • shardBinding: string

        Shard binding name

      • table: string

        Target table name

      • columns: string | string[] | IndexColumnDefinition[]

        One or more columns to index

      • options: Omit<CreateIndexOptions, "batchSize"> = {}

        Index creation options

      Returns Promise<QueryResult<T>>

      Query result for the DDL statement

      1.1.4