diff --git a/source/includes/extracts-views.yaml b/source/includes/extracts-views.yaml index f68bc2673db..a43a28ab374 100644 --- a/source/includes/extracts-views.yaml +++ b/source/includes/extracts-views.yaml @@ -75,6 +75,23 @@ content: | - If the aggregation pipeline used to create the view suppresses the ``_id`` field, documents in the view do not have the ``_id`` field. + When you query a view, the: + + - Query ``filter``, ``projection``, ``sort``, ``skip``, ``limit``, + and other operations for :method:`db.collection.find()` are + converted to the equivalent :ref:`aggregation pipeline stages + `. + + - Converted aggregation pipeline stages are added to the end of the + :ref:`aggregation pipeline ` for the view. + This does not modify the view's underlying pipeline, which is set + when you create the view. + + - :doc:`Aggregation pipeline optimizer + ` reshapes the view + aggregation pipeline stages to improve performance. This does not + change the query results. + Sharded View ~~~~~~~~~~~~