codeigniter-base-model
codeigniter-base-model copied to clipboard
Update,update_by,... return always true even if there is not updated rows
trafficstars
When I use update_by , for example, it always returns 'true' as a result. Is it a normal behaviour?
Thanks ;)
MY_Model uses the QueryBuilder update function internally. You would have to look at the CI QueryBuilder code to see what is going on.
When I use update_by , for example, it always returns 'true' as a result. Is it a normal behaviour?
Thanks ;)
I have also same problem. You have sloved this?
I have also same problem