`$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
5
votes
![](https://secure.gravatar.com/avatar/b471f662898acc134e7897c1f8d35650?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)