Skip to content

Necessity of RETURNING * #201

@repomaa

Description

@repomaa

The reason for RETURNING * on inserts and updates is probably for setting database-level column defaults to the model instance. I wonder if this is something that should be done by default. maybe an optional Query#returning method could be introduced which would allow setting this to field names like in Query#select.

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussionCommunity input needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions