field() 공개 메소드

Set the current field for building the expression.
또한 보기: Expr::field()
public field ( string $field )
$field string
예제 #1
0
 public function testMatchStage()
 {
     $matchStage = new Match($this->getTestAggregationBuilder());
     $matchStage->field('someField')->equals('someValue');
     $this->assertSame(array('$match' => array('someField' => 'someValue')), $matchStage->getExpression());
 }