Skip to content

Instantly share code, notes, and snippets.

View dfurber's full-sized avatar

David Furber dfurber

  • TrueCar Inc
  • Ithaca, NY
View GitHub Profile
<?php
class ActiveRecord extends CActiveRecord
{
/**
* Create and configure a CDbCommand instance based on current criteria.
*
* Think twice before using this method - use only in cases where being able to stream
* through the raw SQL record-sets is crucial, usually for performance reasons, when
* dealing with very large record sets.