Example #1
0
 /**
  * @param $statement
  * @param string $order
  *
  * @return $this
  */
 public function orderBy($statement, $order = 'ASC')
 {
     $this->orderClause->orderBy($statement, $order);
     return $this;
 }
 /**
  * @param $column
  * @param string $direction
  *
  * @return $this
  */
 public function orderBy($column, $direction = 'ASC')
 {
     $this->orderClause->orderBy($column, $direction);
     return $this;
 }