Skip to content

Commit

Permalink
Update the changelog with information about relational lenses.
Browse files Browse the repository at this point in the history
  • Loading branch information
dhil committed Feb 8, 2020
1 parent 335e7c7 commit 666940d
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,21 @@ used, then the query will evaluated using the default evaluator, and
if `nested` is used, then the query will be shredded. If the policy is
omitted, then the `shredding` setting is used to decide, as before.

## Relational Lenses: Support for Serial Type Columns

The Relational Lenses extension now supports postgresql serial type
columns. In Links, the serial type is encoded as a variant type
`Serial` with three constructors:

- `Key(Int)` which indicates a known key value retrieved from the
database.
- `NewKey` which indicates that a value should be chosen by the
database server.
- `NewKeyMapped(Int)` which is similar to `NewKey`, except that it
allows multiple entries to refer to the same key (e.g. in the case of
a table join, where two new entries are inserted referring to the same
right table).

## Miscellaneous

- Links now builds with Lwt version 5.
Expand Down

0 comments on commit 666940d

Please sign in to comment.