Skip to content

Commit

Permalink
initial commit of ext/mysql adapter for Zend_Db
Browse files Browse the repository at this point in the history
  • Loading branch information
beberlei committed Jun 11, 2009
0 parents commit 6657a98
Show file tree
Hide file tree
Showing 17 changed files with 1,569 additions and 0 deletions.
17 changes: 17 additions & 0 deletions README
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
This project is an implementation of a Zend_Db_Adapter_Abstract
for the ext/mysql. It passes all unittests of the Zend_Db testsuite
for an adapter and should therefore be very robust.

The purpose for implementing an adapter for the deprecated ext/mysql
is the legacy application reason. A considerable share of people probably has
legacy applications that use mysql_* functions. You can inject this Zend
adapter into these applications wihtout having to use multiple db connections.

Usage:

$db = new Whitewashing_Db_Adapter_Mysql($options);

To set or get the mysql Resource:

$mysql_conn = $db->getConnection();
$db->setConnectionResource($mysql_conn);
Loading

0 comments on commit 6657a98

Please sign in to comment.