We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.
The text was updated successfully, but these errors were encountered:
I mean insert an record if a record do not already exist in the table by another column other than the primary key.
Sorry, something went wrong.
Please open feature requests as a thread in https://forum.codeigniter.com/forum-29.html
No branches or pull requests
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.
The text was updated successfully, but these errors were encountered: