From b2e4cba5915b1356d17a0ef4387f95a42e5dba84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dr=2E=20Patrick=20Urbanke=20=28=E5=8A=89=E8=87=AA=E6=88=90?= =?UTF-8?q?=29?= Date: Sun, 23 Nov 2025 23:57:15 +0100 Subject: [PATCH] Fix select_from usage in unite.md example (#97) --- docs/unite.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/unite.md b/docs/unite.md index 6a3f7d5..c87cf9d 100644 --- a/docs/unite.md +++ b/docs/unite.md @@ -57,7 +57,7 @@ You can use the result of a `unite` or `unite_all` operation as a subquery in a ```cpp const auto united = sqlgen::unite>(s1, s2); -const auto sel = sqlgen::select_from(united.as("u"), "name"_c, "age"_c); +const auto sel = sqlgen::select_from(united, "name"_c, "age"_c); ``` ## Nesting in `JOIN` statements