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

    Function getLookup

    • Reads a secondary-index value.

      Parameters

      • key: string

        Secondary identifier

      • options: LookupOptions = {}

        Namespace and KV override

      Returns Promise<string | null>

      The stored value, or null if absent

      If no KV store is available

      1.2.4

      const customerId = await getLookup(emailHash);