codeigniter-base-model
codeigniter-base-model copied to clipboard
⛔️DEPRECATED CodeIgniter base CRUD model to remove repetition and increase productivity
Why is not possible to solve problem with primary key as an array? I would try to solve this problem...
I have fixed some bugs I found while working on a CI project & thought if you change some part of doc it will help for newbies. Fixed some part...
In your code at https://github.com/jamierumbelow/codeigniter-base-model/blob/master/core/MY_Model.php#L703 in this method you aren't actually checking if the row is empty or not as a result when it tries to unserialize it throws notice....
I think it will be good if you clear this to others. When we are using callbacks the `$row` can be **object** so we better check that so instead of...
Is there a way to get records with case sensitivity in mind? If not, how would I go about adding it in?
Hi, I noticed that if I added a few spaces before one of the fields and I ask to trim it as a validation, I noticed that the field got...
Created functions to make possible to create static methods on models, using a static variable that is an instance of the current class and can be used to access the...
Discovering why I was coming up with problems that appeared like the validations were occuring before the before_create was called. I then noticed update had before_update at the beginning of...
I have three tables that are related, one to many Table A --< Table B --< Table C I needs to access info in Table A when using a record...
`undelete`: pretty self-explanatory, works only when soft deleting is enabled `set_restriction`: **use-case:** controller’s constructor loads a model, adds a restriction (eg. “user_id = 123”), subsequent calls to the model add...