iya-sts
    Preparing search index...

    Variable distinctValuesMany

    distinctValuesMany: (
        realm: string,
        subject: string,
        asks: { feature: string; prefix: string }[],
        sealing: boolean,
    ) => Promise<number[]> = ...

    Type Declaration

      • (
            realm: string,
            subject: string,
            asks: { feature: string; prefix: string }[],
            sealing: boolean,
        ): Promise<number[]>
      • Several distinctValues() answers at once (#820): one statement where the database holds the history and the driver can batch, the same answers one by one otherwise.

        Parameters

        • realm: string

          the realm

        • subject: string

          a person's sub, or '*' for the population

        • asks: { feature: string; prefix: string }[]

          { feature, prefix } for each count wanted

        • sealing: boolean

          whether there is a key to seal under

        Returns Promise<number[]>

        the counts, in the order asked