You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: CHANGELOG.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
1
# Changes
2
2
3
-
* 2.0.next in progress
3
+
* 2.1.818 -- 2021-10-04
4
4
* Fix #367 by supporting parameters in subexpressions around `IS NULL` / `IS NOT NULL` tests.
5
-
* Address #366 by introducing `:values-default-columns` option to control whether missing columns are treated as `NULL` or `DEFAULT` in `:values` clauses with sequences of hash maps. TODO: NEEDS DOCUMENTATION UPDATES INCLUDING EXAMPLE USAGE!
5
+
* Address #366 by introducing `:values-default-columns` option to control whether missing columns are treated as `NULL` or `DEFAULT` in `:values` clauses with sequences of hash maps.
6
6
* Fix #365 -- a regression from 1.x -- where subclauses for `UNION`, `EXCEPT`, etc were incorrectly parenthesized.
This project follows the version scheme MAJOR.MINOR.COMMITS where MAJOR and MINOR provide some relative indication of the size of the change, but do not follow semantic versioning. In general, all changes endeavor to be non-breaking (by moving to new names rather than by breaking existing names). COMMITS is an ever-increasing counter of commits since the beginning of this repository.
10
10
@@ -273,7 +273,37 @@ INSERT INTO properties
273
273
```
274
274
275
275
The set of columns used in the insert will be the union of all column names from all
276
-
the hash maps: columns that are missing from any rows will have `NULL` as their value.
276
+
the hash maps: columns that are missing from any rows will have `NULL` as their value
277
+
unless you specify those columns in the `:values-default-columns` option, which takes
278
+
a set of column names that should get the value `DEFAULT` instead of `NULL`:
0 commit comments