Exception "invalid operator '$arrayElemAt'" is shown when it is used into the MongoDB queries and the application is running into RHMAP
Issue
- Exception
"invalid operator '$arrayElemAt'"is shown when it is used into the MongoDB queries and the application is running into RHMAP - Unable to use
$arrayElemAtinto RHMAP -
I have created a query in mongoose (mongodb) in which I have used $arrayElemAt. It's working fine on my local machine but on RHMAP it is giving following error.
exception: invalid operator '$arrayElemAt'
Environment
- Red Hat Mobile Application Platform ( RHMAP) - 3.17.0
- MongoDB - 2.X
$arrayElemAt
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
