range() 공개 메소드

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.
또한 보기: Builder::range()
public range ( mixed $start, mixed $end )
$start mixed
$end mixed
예제 #1
0
 /**
  * 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 프로젝트: doctrine/mongodb
 /**
  * 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 $this
  */
 public function range($start, $end)
 {
     $this->query->range($start, $end);
     return $this;
 }