mirror of
https://github.com/getml/sqlgen.git
synced 2026-01-05 09:00:10 -06:00
Fix select_from usage in unite.md example (#97)
This commit is contained in:
committed by
GitHub
parent
287ac58bf6
commit
b2e4cba591
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user