[SERVER-39599] i am getting Error : MongoError: No array filter found for identifier 'i' in path 'mainCourse.$[i].subCourse.$[j].ppt' Created: 15/Feb/19 Updated: 19/Feb/19 Resolved: 19/Feb/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | JavaScript |
| Affects Version/s: | 4.0.4 |
| Fix Version/s: | None |
| Type: | Question | Priority: | Major - P3 |
| Reporter: | Malaviya Digant | Assignee: | Kelsey Schubert |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Participants: |
| Description |
|
var pId=random('Aa0', 6); } } ,{ arrayFilters : [ { 'i.id' : req.params.MC_id }, { "j.id" : req.params.SC_id } ]}, (e,r)=>{ ); |
| Comments |
| Comment by Kelsey Schubert [ 19/Feb/19 ] |
|
Thanks for the update, m_digant. I'm glad you were able to identify and correct the issue. |
| Comment by Malaviya Digant [ 16/Feb/19 ] |
|
Issue is solve there is problem in Nodejs Version if using mongodb version "2.2.34" in nodejs side then use below syntex mc and sc = which array position u need to store } } } }; // for my docment u can see in img } } , (e,r)=>{ ); |
| Comment by Malaviya Digant [ 16/Feb/19 ] |
|
Any one here to help me??? i am already waste my 1 day if any one know please give me suggestions.. |