Adldap\Query\Builder::whereEquals PHP 메소드

whereEquals() 공개 메소드

Adds a where equals clause to the current query.
public whereEquals ( string $field, string $value ) : Builder
$field string
$value string
리턴 Builder
    public function whereEquals($field, $value)
    {
        return $this->where($field, Operator::$equals, $value);
    }

Usage Example

예제 #1
0
 /**
  * Returns a query builder limited to exchange servers.
  *
  * @return Builder
  */
 public function computers()
 {
     return $this->query->whereEquals($this->schema->objectCategory(), $this->schema->objectCategoryComputer());
 }