Replies: 2 comments
|
Sorry, I’m currently working intensively on another project and didn’t see your message earlier. I’ve expanded the whole thing quite a bit and added more features, but I tried to keep most of the old methods. If you want to properly handle errors, you should use try/catch. Some methods have been replaced with others – but I usually kept the old ones in place, so something gets written to the error log. $db->escape() is obsolete but still included (just without functionality). $db->pagelimit has been replaced with $db->setPageLimit(x), but the old method still works for now. count, totalpage, and pagelimit have been changed. setReturnKey and setReturnMode already existed before, but under different names. I renamed them because the old names weren’t really self-explanatory – I only discovered them myself when I tore everything apart and rewrote it. Honestly, I’ve rewritten so many things that I don’t even fully remember everything I’ve changed. :D In autumn, I plan to add a few more extensions since there are still some things I personally miss. |
|
If you’ve been using the old MySqliDB, you’ll find it very easy to work with my PDOdb – without getting any gray hairs from it ;-) |
Uh oh!
There was an error while loading. Please reload this page.
From what I can tell, this is a drop-in replacement for MysqliDb .
Is there anything we should watchout for when migrating?
All reactions