a!queryrecordtype

Hi All,

I am using a!queryrecordtype() function to retrieve data from records but every time it also calculates the fetchtotalcount parameter even if I gave it as false.

Can anyone please help me out how to remove the totalcount calculation.

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer

    From the docs:

    This parameter is only used when querying unsynced record types that use a database as the source. Synced record types automatically return the totalCount property. If set to true, a separate query returns the total number of records in the totalCount property of the query result. In cases where you don't need the totalCount, omitting this parameter can improve performance.

Reply
  • 0
    Certified Lead Developer

    From the docs:

    This parameter is only used when querying unsynced record types that use a database as the source. Synced record types automatically return the totalCount property. If set to true, a separate query returns the total number of records in the totalCount property of the query result. In cases where you don't need the totalCount, omitting this parameter can improve performance.

Children
No Data