News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Markus Wolff's Blog:
ActiveRecord enhancements
September 11, 2006 @ 08:16:27

Markus Wolff finally got the time to work on a project he's developed but hasn't had the time to enhance - CWAC_ActiveRecord.

After two weeks I finally managed to find a bit of time to continue working on CWAC_ActiveRecord. Requested by my friend Arnaud was the setConnection() method, that allows to reuse existing PDO objects with CWAC_ActiveRecord. Before this, you could only pass a DSN with the config array and a new connection would always be created.

He also added limit() and orderby() methods to help narrow down your queries.

0 comments voice your opinion now!
activerecord ehancements cwac project setconnection limit orderby pdo activerecord ehancements cwac project setconnection limit orderby pdo


blog comments powered by Disqus

Similar Posts

Gonzalo Ayuso's Blog: Database connection pooling with PHP and gearman

Zend Developer Zone: SQLite: Lean, Mean DB Machine

Jonathan Street's Blog: Is PHP good enough for science?

Chris Hartjes' Blog: Sorting Relationship Results In Doctrine 1.2

Symfony Project Blog: We're writing a book


Community Events

Don't see your event here?
Let us know!


api voicesoftheelephpant opinion performance configure part2 interview series community introduction example symfony2 framework library php7 conference podcast release application laravel

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework