daily pastebin goal
78%
SHARE
TWEET

Untitled

a guest Oct 20th, 2018 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // case 1
  2. SomeActiveRecord::model()->findAll(array('order'=>'somefieldfield'));
  3.  
  4. // case 2
  5. HistorialRanking::model()->findAll(
  6. array(
  7. "condition" => "tipo = 'karma' and fecha = date(now())",
  8. "order" => "posicion desc"
  9. )
  10. );
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top