Skip to content

Model Validations and Insert/Update Batchs #967

Description

@natanfelles

Model data set with the set() method is not being validated.

The same issue occurs on setInsertBatch() and setUpdateBatch().

Data set with updateBatch() and insertBatch() also are not validate.

Same for replace().

I had started some overwritten here. Feel free to improve this.

I think we should leave the Model methods that override Query Builder as similar as possible to the Query Builder methods.


Related to #865 #914

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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