예제 #1
0
파일: Builder.php 프로젝트: cosmow/riak
 /**
  * Specify $type criteria for the current field.
  *
  * @see Expr::type()
  * @see http://docs.mongodb.org/manual/reference/operator/type/
  * @param integer $type
  * @return self
  */
 public function type($type)
 {
     $this->expr->type($type);
     return $this;
 }
예제 #2
0
파일: Match.php 프로젝트: cosmow/riak
 /**
  * Specify $type criteria for the current field.
  *
  * @see Expr::type()
  * @see http://docs.mongodb.org/manual/reference/operator/type/
  * @param integer $type
  * @return self
  */
 public function type($type)
 {
     $this->query->type($type);
     return $this;
 }