New in 1.40.0 (BETA)

includeCount()

Returns whether the Scrivito SDK requests the total number of items in the current DataScope.

This parameter indicates whether the total number of items was requested by the Scrivito SDK. We recommend developers creating data connections to pass this value to the external data provider (e.g., the backend service).

This allows shorter loading times for requests to backend services, as the total count only needs to be calculated and returned if explicitly requested.

Returns

Booleantrue if the total number of items is requested, otherwise false.