From c8c67363a3749ce99f8760d32dd01bb85a676b47 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Mon, 8 Jun 2020 23:37:59 +0200 Subject: [PATCH] add todos for improving datamapper selects/reduce complexity --- Models/NewsArticleMapper.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Models/NewsArticleMapper.php b/Models/NewsArticleMapper.php index 0df56af..cb98a7e 100644 --- a/Models/NewsArticleMapper.php +++ b/Models/NewsArticleMapper.php @@ -26,6 +26,11 @@ use phpOMS\DataStorage\Database\RelationType; * @license OMS License 1.0 * @link https://orange-management.org * @since 1.0.0 + * + * @todo Orange-Management/oms-News#??? + * Too complicated select. + * I think the default getAll etc. is too complicated and has too many joins which are not really required. + * Check and fix! */ final class NewsArticleMapper extends DataMapperAbstract {