jsforce
    Preparing search index...

    Class SubQuery<S, PN, PR, PQRT, CRN, CN, CR>

    SubQuery object for representing child relationship query

    Type Parameters

    Index
    _parent: Query<S, PN, PR, PQRT>
    _query: Query<S, CN, CR>
    _relName: CRN
    offset: (offset: number) => SubQuery<S, PN, PR, PQRT, CRN, CN, CR> = ...

    Synonym of SubQuery#skip()

    Type Declaration

    orderby: {
        (sort: QuerySort<any, any>): this;
        (sort: string, dir: SortDir): this;
    } = ...

    Synonym of SubQuery#sort()

    Type Declaration

      • (sort: QuerySort<any, any>): this
      • Set query sort with direction

        Parameters

        Returns this

      • (sort: string, dir: SortDir): this
      • Set query sort with direction

        Parameters

        Returns this

    • Set query sort with direction

      Parameters

      Returns this

    • Set query sort with direction

      Parameters

      • sort: string | Extract<keyof S["SObjects"][CN]["Fields"], string>
      • dir: SortDir

      Returns this