ExportXMLWordPrintableJSON

    • DB Integration & Observability
    • Fully Compatible
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      This function can be refactored to be more readable via:

      if (localForeignFields) {
              std::tie(_localField, _foreignField) = *localForeignFields;
       }
      
       // Handle subpipeline's first stage self-applies the view def.
       if (shouldDiscardViewPrefix(_fromNsIsAView, pipeline, subpipelineViewPolicy, expCtx.get())) {
              handleSelfApplyingViewStage(fromNs, pipeline, expCtx.get());
              return;
       }
      
       // Prepend view def and build pipeline.
       handleStandardViewResolution(pipeline, localForeignFields.has_value()); 

            Assignee:
            Philip Miljanic
            Reporter:
            Finley Lau
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: