コード例 #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;
 }