Skip to content

Feature request #2361

Description

@crustamet

Always i have a bunch of times to insert a record if is not already inserted if a unique column.

Can you guys make a function method to something like this in the model class

$model->where('id != ', $id)->insert($insert_data);

It is verry frustrating that i have to do always a get request to check if the record exists.

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