[GODRIVER-1673] The Filter query on nested sub-document array is not returning results Created: 07/Jul/20 Updated: 08/Jul/20 Resolved: 07/Jul/20 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | CRUD |
| Affects Version/s: | 1.3.4 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Abhay Kumar | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Windows |
||
| Description |
|
The data is stored as: { "_id":\{"$oid":"5e7b22bd2a7912a5a3b73d79"}, The mongo.Pipeline is made up of projectStage := bson.D{ , }}, }}, , The search based on units.assetsReserved.departmentCode works If we pass "PHY_DEPTS" we get the response, however units.assetsReserved.assets.primaryTrackingID doesn't return any response If we pass "1234"
|
| Comments |
| Comment by Abhay Kumar [ 08/Jul/20 ] |
|
I just updated the issues details if that help and posted above. |
| Comment by Abhay Kumar [ 08/Jul/20 ] |
|
The data is stored as: { "_id": , The mongo.Pipeline is made up of projectStage := bson.D{ { , }}, }}, { , The search based on units.assetsReserved.departmentCode works If we pass "PHY_DEPTS" we get the response, however units.assetsReserved.assets.primaryID doesn't return any response If we pass "1234" |
| Comment by Abhay Kumar [ 08/Jul/20 ] |
|
How is it a support issue? The filtering query on array element withing a sub document is not returning results. I think it requires investigation on your side |
| Comment by Jeffrey Yemin [ 07/Jul/20 ] |
|
Hi there, thank you for reaching out. As this sounds like a support issue, I wanted to give you some resources to get this questioned answered more quickly:
Just in case you have already opened a support case and are not receiving sufficient help, please let me know and I can facilitate escalating your issue. Thank you! |