From 162da80e4f93f3573aea05e68fface93028bd725 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Sat, 18 Apr 2020 15:28:19 +0200 Subject: [PATCH] Attempt at expressing some todos --- GRDB/QueryInterface/SQLGeneration/SQLQueryGenerator.swift | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/GRDB/QueryInterface/SQLGeneration/SQLQueryGenerator.swift b/GRDB/QueryInterface/SQLGeneration/SQLQueryGenerator.swift index 88d9ee14d..fa53e8431 100644 --- a/GRDB/QueryInterface/SQLGeneration/SQLQueryGenerator.swift +++ b/GRDB/QueryInterface/SQLGeneration/SQLQueryGenerator.swift @@ -500,8 +500,13 @@ private struct SQLQualifiedRelation { // Filters and order are handled in a subquery (see target below). // We only keep children that need to be exposed in the outer // query (those with a non-empty selection). + #warning("TODO outerRelation 1") // TODO: we may have a problem if we remove children used for // ordering or filtering with aliases. + #warning("TODO outerRelation 2") + // TODO: keep children that have children with selection + #warning("TODO target") + // TODO: in the target remove to-many children let outerRelation = child.relation .with(\.firstOnly, false) .unfiltered()