Skip to Main Content

MongoByte MongoDB Logo

Welcome to the new MongoDB Feedback Portal!

{Improvement: "Your idea"}
We’ve upgraded our system to better capture and act on your feedback.
Your feedback is meaningful and helps us build better products.

Status Submitted
Categories Database
Created by Guest
Created on Dec 5, 2023

array length as computed to be indexed

in some cases, I need to filter only docs with specific (or range of) sizes of nested arrays. it will be good if I can configure 'automatic index' to keep the length of the array, based on the field name I will provide to the index, and then I can easily get the docs. (now I need to add and maintain this field on myself or with trigger)
  • Attach files