-
Notifications
You must be signed in to change notification settings - Fork 88
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
[Enhancement] Extending DB Drivers #5
Comments
As I can see, you want to swap the database driver with your custom implementation. It is a legitime demand. I'll think about how this is to be implemented soon. |
I think, the solution for you is ready. |
…backport from version 4, see ivantcholakov/starter-public-edition-4#5
Nice. That was fast, thanks :). I'll check and let know if any issues found. |
Since @narfbg is going to implement this feature directly on a future version CodeIgniter 3, I don't see a reason for keeping this issue open. Please, consider what I've proposed as a temporary solution. |
Liking your extended CI... pretty much everything we use in CI is there and mainly because of multisite support.
I'm looking for option to extend db drivers, which is even missing in main CI framework. So we structure it in same way as in system folder to extend in APP folder.
application/site/database/drivers/{driver_name}/
There are few functionality i want to add to my mysql driver, among them insert_duplicate_update() is one of them. And there is also this count_totals_from_last_query() + some more.
See if it can be done.
The text was updated successfully, but these errors were encountered: