mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
5b7a84141b
* NEW: Add Hierarchy::prepopulate_numchildren_cache() API: Hierarchy::stageChildren() customisations must be applied to the base class and not include record-specific behaviour. Adds the ability to prepopulate the cache for Hierarchy::numChildren() in a batch. Note that this optimisation means that stageChildren() is not called on each record in order to calculate numChildren(). This means that the structure of the stageChildren() query must be the same for all records and the behaviour cannot be customised only for a subclass of the base data class. For example, apply your customisations to SiteTree and not a subclass. This is an useful part of optimising the query count on tree generation. See https://github.com/silverstripe/silverstripe-framework/issues/8379 * NEW: Add Hierarchy::prepopulateTreeDataCache() This provides a more extensible way of preopulating caches for optimised tree generation. Fixes https://github.com/silverstripe/silverstripe-framework/issues/8391 |
||
---|---|---|
.. | ||
ArrayListTest | ||
CascadeDeleteTest | ||
ComponentSetTest | ||
DatabaseTest | ||
DataExtensionTest | ||
DataObjectDuplicationTest | ||
DataObjectSchemaGenerationTest | ||
DataObjectSchemaTest | ||
DataObjectTest | ||
DataQueryTest | ||
DBClassNameTest | ||
DBCompositeTest | ||
DBHTMLTextTest | ||
DBMoneyTest | ||
DBStringTest | ||
DBVarcharTest | ||
DecimalTest | ||
Filters | ||
HasManyListTest | ||
HierarchyTest | ||
ManyManyListTest | ||
ManyManyThroughListTest | ||
MySQLDatabaseTest | ||
Search | ||
SQLInsertTest | ||
SQLSelectTest | ||
SQLUpdateTest | ||
TransactionTest | ||
UnsavedRelationListTest | ||
ArrayLibTest.php | ||
ArrayListTest.php | ||
CascadeDeleteTest.php | ||
CascadeDeleteTest.yml | ||
ComponentSetTest.php | ||
ComponentSetTest.yml | ||
DatabaseTest.php | ||
DataExtensionTest.php | ||
DataExtensionTest.yml | ||
DataListTest.php | ||
DataObjectDuplicationTest.php | ||
DataObjectDuplicationTest.yml | ||
DataObjectLazyLoadingTest.php | ||
DataObjectSchemaGenerationTest.php | ||
DataObjectSchemaTest.php | ||
DataObjectTest.php | ||
DataObjectTest.yml | ||
DataQueryTest.php | ||
DataQueryTest.yml | ||
DBClassNameTest.php | ||
DBCompositeTest.php | ||
DBCurrencyTest.php | ||
DBDateTest.php | ||
DBDatetimeTest.php | ||
DBEnumTest.php | ||
DBFieldTest.php | ||
DBHTMLTextTest.php | ||
DBLocaleTest.php | ||
DBMoneyTest.php | ||
DBMoneyTest.yml | ||
DBPercentageTest.php | ||
DBStringTest.php | ||
DBTest.php | ||
DBTextTest.php | ||
DBTimeTest.php | ||
DBVarcharTest.php | ||
DBYearTest.php | ||
DecimalTest.php | ||
DecimalTest.yml | ||
GroupedListTest.php | ||
HasManyListTest.php | ||
HasManyListTest.yml | ||
HierarchyCachingTest.php | ||
HierarchyTest.php | ||
HierarchyTest.yml | ||
LabelFieldTest.php | ||
ManyManyListExtensionTest.php | ||
ManyManyListExtensionTest.yml | ||
ManyManyListTest.php | ||
ManyManyThroughListTest.php | ||
ManyManyThroughListTest.yml | ||
MapTest.php | ||
MarkedSetTest.php | ||
MySQLDatabaseTest.php | ||
MySQLDatabaseTest.yml | ||
PaginatedListTest.php | ||
PDODatabaseTest.php | ||
PolymorphicHasManyListTest.php | ||
SQLInsertTest.php | ||
SQLSelectTest.php | ||
SQLSelectTest.yml | ||
SQLUpdateTest.php | ||
SQLUpdateTest.yml | ||
TransactionTest.php | ||
UnsavedRelationListTest.php | ||
UnsavedRelationListTest.yml | ||
URLSegmentFilterTest.php | ||
ValidationExceptionTest.php | ||
ValidationResultTest.php |