class Lookup extends Lookup (View source)

Fluent interface for building aggregation pipelines.

Methods

__construct(Builder $builder, string $from, DocumentManager $documentManager, ClassMetadata $class)

No description

$this
from(string $from)

No description

localField($localField)

{@inheritdoc}

foreignField($foreignField)

{@inheritdoc}

prepareFieldName($fieldName, ClassMetadata $class = null)

No description

Details

__construct(Builder $builder, string $from, DocumentManager $documentManager, ClassMetadata $class)

Parameters

Builder $builder
string $from
DocumentManager $documentManager
ClassMetadata $class

$this from(string $from)

Parameters

string $from

Return Value

$this

localField($localField)

{@inheritdoc}

Parameters

$localField

foreignField($foreignField)

{@inheritdoc}

Parameters

$foreignField

protected prepareFieldName($fieldName, ClassMetadata $class = null)

Parameters

$fieldName
ClassMetadata $class