aboutsummaryrefslogtreecommitdiffstats
path: root/core/namespace/ORM/Repositories/CategoryRepository.php
AgeCommit message (Collapse)AuthorFilesLines
2023-09-23Pass NULL instead of array containing NULL elementThomas Lange1-1/+7
2021-08-10Add a better mechanism to detect Entity changesThomas Lange1-14/+9
Implement and use a better mechanism to detect changes of attributes of the Entity objects by using a private variable which keeps track of the changed Entity attributes ("properties") via the "set" method. The "insert" and "update" method of the Repository now calls the method "getModifiedKeys" of the Entity class to get a list of properties which have been changed and builds the database query accordingly. This makes the use of "FALSE" as default value for the Entity attributes obsolete, so they have been set to the initial PHP default ("NULL").
2021-07-22Rename: Append "Repository" to repository classesThomas Lange1-0/+137
Rename the repository classes and append the name with "Repository" to prevent naming confusions with the entity classes.