Fix select_from usage in unite.md example (#97)

This commit is contained in:
Dr. Patrick Urbanke (劉自成)
2025-11-23 23:57:15 +01:00
committed by GitHub
parent 287ac58bf6
commit b2e4cba591

View File

@@ -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<std::vector<User1>>(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