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 Jun 22, 2022

`$getField` to work with a dynamic `field`

Currently `$getField` works only when `field` resolves at query-compile-time to a string. It would be nice if it worked also when `field` resolves to a string at *runtime*. See this Jira ticket - https://jira.mongodb.org/browse/SERVER-67030
  • Attach files