on dev help sign in
insert examples
commit80e3b29d7d391e8997aa2e857429bf253ba76620 authorEitan Chatav <eitan@Eitans-MacBook-Pro.local> dateMon 17 Jun 2019, 23:12 (7 years ago) parent2c2c8e7
1 file changed+3−1
RELEASE NOTES.md+3−1
RELEASE NOTES.md+3−1
@@ -230,9 +230,11 @@ Squeal 0.5 refactors this pattern into a `QueryClause` GADT.
230230```
231231-- Squeal 0.4
232232insertRow_ #tab (Set 2 `as` #col1 :* Default `as` #col2)
233+insertQuery_ #tab (selectStar (from (table #other_tab)))
233234
234235-- Squeal 0.5
235−insertInto_ #tab (Values (Set 2 `as` #col1 :* Default `as` #col2))
236+insertInto_ #tab (Values_ (Set 2 `as` #col1 :* Default `as` #col2))
237+insertInto_ #tab (Subquery (select Star (from (table #other_tab))))
236238```
237239
238240**Window functions and aggregation**