avivasolutionsnl / sitecore-docker

Dockerized Sitecore 9 XP0 & XC
33 stars 24 forks source link

Add query to build the Descendants table #157

Closed cheemingli closed 4 years ago

cheemingli commented 4 years ago

XC 9.2.0 introduced the RebuildDescendants task which will call the Sitecore.Data.SqlServer.SqlServerDataProvider.RebuildDescendants() method. The Descendants table stores "ancestors-descendants" relations between items and is sed by FastQuery functionality (Sitecore.Data.DataProviders.Sql.FastQuery).

The query executed by the RebuildDescendants has been added as part of building the XcMssql target.