where() public method

Adds a where clause to the current query.
public where ( string | array $field, string $operator = null, string $value = null, string $type = 'and' ) : Builder
$field string | array
$operator string
$value string
$type string
return Builder
コード例 #1
0
ファイル: AdldapSearch.php プロジェクト: ishawge/jorani
 /**
  * Adds a where clause to the current query.
  *
  * @param string $field
  * @param string $operator
  * @param string $value
  *
  * @return $this
  */
 public function where($field, $operator = null, $value = null)
 {
     $this->query->where($field, $operator, $value);
     return $this;
 }