[SERVER-49454] Update ElementIterator interface to provide option to omit entire array as last element Created: 10/Jul/20  Updated: 29/Oct/23  Resolved: 12/Oct/20

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.9.0

Type: Task Priority: Major - P3
Reporter: Mihai Andrei Assignee: Mindaugas Malinauskas
Resolution: Fixed Votes: 0
Labels: qexec-team
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Query 2020-09-07, Query 2020-09-21, Query 2020-10-05, Query 2020-10-19
Participants:

 Description   

As stated in the design document , we would like the array of ‘consideredValues’ in the implicit array traversal case to not report the array containing every element at the end. This ticket should investigate how to update the ElementIterator interface to obtain this behavior. If it’s not too complicated, then this ticket should update the interface accordingly.

A potential implementation would involve:



 Comments   
Comment by Githook User [ 12/Oct/20 ]

Author:

{'name': 'Mindaugas Malinauskas', 'email': 'mindaugas.malinauskas@mongodb.com'}

Message: SERVER-49454 Update ElementIterator interface to provide option to omit entire array as last element
Branch: master
https://github.com/mongodb/mongo/commit/8b72be99bf52e9f23a035c4e85020d94e27ea401

Generated at Thu Feb 08 05:19:53 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.