json-fs-query 3.0.0 → 3.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -51,7 +51,8 @@ JSON can leave a key out or store it as `null`:
51
51
 
52
52
  `useDefault: true, defaultValue: …` fills in a field that is left out. `create()` checks the default against the
53
53
  field's type (a `null` default needs `nullable: true`) and throws if it doesn't fit. Primary key fields can't be
54
- nullable. As in SQL, a `null` is never a duplicate in a unique key (any number of rows can hold it), and
54
+ nullable. Each key needs a non-empty `fields` list naming defined fields, and unknown key properties are rejected.
55
+ As in SQL, a `null` is never a duplicate in a unique key (any number of rows can hold it), and
55
56
  a `null` foreign key isn't checked against the record it references.
56
57
 
57
58
  ## Writing queries