EllisLab/CodeIgniter — pull request #1135 by jjang9b (2012-03-06 05:58:05+00:00)
Title: ci_sqlrelay adapter add & setting

CodeIgniter sqlrelay adapter. based on v2.0.2

[api document url]
http://jjang9b.oranc.co.kr/codeigniter/sqlrelay_api.html

[explain]

The common function of the Sqlrelay adapter which I created is processing with exclusive Sqlrelay function . And the other function of the individual DB is the first to have keys of types of DB, then run the function of adapter depending on the type of each DB.

The Sqlrelay adapter is in charge of practical Sqlrelay connection, query execution, and the result object mapping part.

Ultimately, all common actions such as the Sqlrelay connection, query execution, and receiving results will be processed on the Sqlrelay adapter while running creating functions of each DB adapter which for functioning concept of ORM

Once the new DB adapter is added, the function of corresponding adapter is running normally and it’s been created as a plug-in so that it is not related to the CI version.

Also I tried to match the types of coding with CI, but the code was also written concisely in a least work.

API documentation is attached, normal tests have been confirmed that based on official CI DB documents for oci8/mysql.