public function findMany(array $values = [], $columns = [])
    {
        $this->select($columns);

        if (! is_a($this->schema, ActiveDirectory::class)) {
            $query = $this;

            foreach ($values as $value) {
                $query->prepareAnrEquivalentQuery($value);
            }

            return $query->get();
        }

        return $this->findManyBy($this->schema->anr(), $values);
    }
public function findMany(array $values = [], $columns = [])
    {
        $this->select($columns);

        if (! is_a($this->schema, ActiveDirectory::class)) {
            $query = $this;

            foreach ($values as $value) {
                $query->prepareAnrEquivalentQuery($value);
            }

            return $query->get();
        }

        return $this->findManyBy($this->schema->anr(), $values);
    }
public function findMany ( array $ values = [ ] , $ columns = [ ] ) { $ this -> select ( $ columns ) ; if ( ! is_a ( $ this -> schema , ActiveDirectory :: class ) ) { $ query = $ this ; foreach ( $ values as $ value ) { $ query -> prepareAnrEquivalentQuery ( $ value ) ; } return $ query -> get ( ) ; } return $ this -> findManyBy ( $ this -> schema -> anr ( ) , $ values ) ; }
Finds multiple records using ambiguous name resolution.

@param array $values
@param array $columns

@return \Adldap\Query\Collection|array
Finds multiple records using ambiguous name resolution .