Skip to content

Update omit zero when no fields produces invalid syntax #1939

@mgazza

Description

@mgazza

Expect(s).To(Equal(`UPDATE "update_tests" AS "update_test" SET WHERE "update_test"."id" = NULL`))

When updating and the model contains all empty fields invalid update syntax is produced.

Suggest returning specific error to capture the case of a non-update

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions