Skip to content

Commit

Permalink
Update static-properties.md (#2340)
Browse files Browse the repository at this point in the history
update docs for `idColumn` to let others know how to disable default primary key assumption
  • Loading branch information
1mike12 authored Jul 6, 2023
1 parent 119ece2 commit 63f807a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/api/model/static-properties.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 63f807a

Please sign in to comment.