Expression Language Reference
    Preparing search index...
    IDataContext: {
        $lookup(
            ref: string,
            columns: string[],
            values: any[],
            opts?: { all: boolean },
        ): Promise<Record<string, any>[]>;
    } & Record<string, IDataSetView>

    Context for accessing data from alternate datasets

    Type declaration

    • $lookup: function
      • Lookup a data in associated ref by the specified columns matching the specified values

        Parameters

        • ref: string

          the input to lookup the data in

        • columns: string[]

          the list of column names to match values

        • values: any[]

          the list of corresponding values to match

        • Optionalopts: { all: boolean }

        Returns Promise<Record<string, any>[]>