コード例 #1
0
ファイル: Builder.php プロジェクト: cosmow/riak
 /**
  * Specify $size criteria for the current field.
  *
  * @see Expr::size()
  * @see http://docs.mongodb.org/manual/reference/operator/size/
  * @param integer $size
  * @return self
  */
 public function size($size)
 {
     $this->expr->size((int) $size);
     return $this;
 }
コード例 #2
0
ファイル: Match.php プロジェクト: cosmow/riak
 /**
  * Specify $size criteria for the current field.
  *
  * @see Expr::size()
  * @see http://docs.mongodb.org/manual/reference/operator/size/
  * @param integer $size
  * @return self
  */
 public function size($size)
 {
     $this->query->size((int) $size);
     return $this;
 }