Skip to content

Support for read-only columns (PostgreSQL Generated Columns) #351

@m-o-e

Description

@m-o-e

Postgres has a handy feature called generated columns. These are columns that can only be read but not be written.

Unfortunately they don't seem to work with Jennifer at the moment
(omitting them from the mapping doesn't work, neither does marking them as virtual).

Maybe it's possible with a custom converter?
(is there a way for a converter to completely strip the column from updates and inserts?)

Otherwise it would be nice to have support for readonly-columns at some point.
(not urgent for my use-case - just a "nice to have" feature request)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions