Inflexibility of DB class
Reported by S. Shehzed | November 14th, 2010 @ 05:07 PM | in v0.20
Current DB (driver) class(es) for codeigniter are weak in flexibility. Should be able to add custom methods and extensions.
Comments and changes to this ticket
-
S. Shehzed November 14th, 2010 @ 05:14 PM
Solution: Create a MY_DB class.
Will follow instruction at http://codeigniter.com/wiki/Extending_Database_Drivers.
A correction for the wiki instructions is at http://codeigniter.com/forums/viewthread/158955/#805154.Load databases through custom !pload method.
-
S. Shehzed November 15th, 2010 @ 02:37 PM
- State changed from resolved to new
-
S. Shehzed November 23rd, 2010 @ 06:48 PM
- State changed from new to shortterm
- Milestone set to v0.20
- Milestone order changed from 1 to 0
-
S. Shehzed December 12th, 2010 @ 01:51 AM
- State changed from shortterm to resolved
The fix in the wiki didn't work. Active record wasn't able to be called.
Currently the main DB driver is extended, but active recording is not, so all active recording needs to be done in one go in any extended methods.
Not perfect solution as active recording should be extended, but for now current solution is good enough.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
GOT COLD BEER! POUR BEER IN FROSTY MUG! DRINK BEER! REPEAT! HOPE COOKS SOURCE NO STEAL DRUNK HULK RECIPE!