From b72cf2997978fa383bc5ff3a060d7be135619491 Mon Sep 17 00:00:00 2001 From: inoas Date: Wed, 24 Apr 2024 22:51:47 +0200 Subject: [PATCH] unions --- src/cake/prepared_statement_builder/union_builder.gleam | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cake/prepared_statement_builder/union_builder.gleam b/src/cake/prepared_statement_builder/union_builder.gleam index 15c0912..9b83db8 100644 --- a/src/cake/prepared_statement_builder/union_builder.gleam +++ b/src/cake/prepared_statement_builder/union_builder.gleam @@ -34,6 +34,7 @@ pub fn apply_sql( } False -> { acc + // UNION vs UNION ALL vs EXCEPT vs INTERSECT |> prepared_statement.with_sql(" UNION ") |> select_builder.apply_sql(sq) }