CodeIgniter Forums
oracle and active record - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: oracle and active record (/showthread.php?tid=28435)



oracle and active record - El Forum - 03-11-2010

[eluser]a7med.she7ata[/eluser]
i have some question and i want answer from my dear members
first can i mix OCI8 with codeigniter to communicate with oracle ?
second can i use active record in my query with oracle?

plz give some links and explanations

thanx


oracle and active record - El Forum - 03-11-2010

[eluser]kgill[/eluser]
mixing OCI & Code Igniter's AR: AR is just a wrapper to the OCI8 functions so why would you want to mix them in the first place, if you did AR is handling all the oci calls so mixing them is likely a recipe for failure.

AR builds the query for you, if you use AR then you are handing over control of creating the query to the code generator, you can't play mix and match here either.