Elastica\QueryBuilder\DSL\Aggregation::reverse_nested PHP 메소드

reverse_nested() 공개 메소드

reverse nested aggregation.
public reverse_nested ( string $name, string $path = null ) : Elastica\Aggregation\ReverseNested
$name string The name of this aggregation
$path string Optional path to the nested object for this aggregation. Defaults to the root of the main document.
리턴 Elastica\Aggregation\ReverseNested
    public function reverse_nested($name, $path = null)
    {
        return new ReverseNested($name);
    }