예제 #1
0
파일: Builder.php 프로젝트: cosmow/riak
 /**
  * Specify $gte and $lt criteria for the current field.
  *
  * This method is shorthand for specifying $gte criteria on the lower bound
  * and $lt criteria on the upper bound. The upper bound is not inclusive.
  *
  * @see Expr::range()
  * @param mixed $start
  * @param mixed $end
  * @return self
  */
 public function range($start, $end)
 {
     $this->expr->range($start, $end);
     return $this;
 }
예제 #2
0
파일: Match.php 프로젝트: cosmow/riak
 /**
  * Specify $gte and $lt criteria for the current field.
  *
  * This method is shorthand for specifying $gte criteria on the lower bound
  * and $lt criteria on the upper bound. The upper bound is not inclusive.
  *
  * @see Expr::range()
  * @param mixed $start
  * @param mixed $end
  * @return self
  */
 public function range($start, $end)
 {
     $this->query->range($start, $end);
     return $this;
 }