diff --git a/doc/api/model/static-properties.md b/doc/api/model/static-properties.md index 3798dfce6..025f8c84e 100644 --- a/doc/api/model/static-properties.md +++ b/doc/api/model/static-properties.md @@ -118,6 +118,8 @@ Composite id can be specified by giving an array of column names. Defaults to 'id'. +You can return `null` in order to tell objection there is no primary key. This may be useful in models of join tables. + ## `static` jsonSchema ```js