-
-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
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
Merge in update() method will omit data #15
Comments
Hi, Did you resolve this issue? |
Bit of an old issue, but updating the 'update' function should resolve this...
|
Do you want to open a pull request? I'm without my laptop for a few days |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Line 179 - 183:
Merge array $data and $where if they have same columns -> lost data.
The problem will occur when we want to update a column which appear in where (or in array $values). Eg.:
UPDATE contact SET phone = '012-345-6789', first_name='Patrick' WHERE phone = 012-345-9950';
How to solve the problem?
The text was updated successfully, but these errors were encountered: