Skip to content

What's the correct way to patch an id?  #100

@thinktt

Description

@thinktt

I noticed when I try to patch and change a value in an idColumn Objection takes the value out of the query. In other words I can't change anything in column if it is set as the idColumn (as far as I can tell).

I am working around this by changing the idColumn when I'm doing a patch, but this is kind of hacky. Is there a better way to do this? Is there a reason why it is set up this way that I should be aware of?

Appreciate the library and your time!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions