[CDRIVER-3081] How I call in business_working_days array in slow_days Created: 10/Apr/19  Updated: 11/Sep/19  Resolved: 10/Apr/19

Status: Closed
Project: C Driver
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: dileep Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Comments   
Comment by Kevin Albertson [ 10/Apr/19 ]

Hi dileepkumar, the CDRIVER project is for bug reports and feature requests of the MongoDB C driver. I think your question is about MongoDB queries. Try asking in the mongodb-user group or on stack overflow, and include the full query you're using.

Comment by dileep [ 10/Apr/19 ]

i Call like a business_working_days.closed_days   how can i call in this scenarios in $cond , $switch cases 

Comment by dileep [ 10/Apr/19 ]

while on calling on $cond with $switch case,

Ex:


{
"_id": "5c99c964ff316612647155ef",

"business_working_days": [

{ "_id": "5c99c964ff316612647155f1","normal_days": "1","closed_days": "2","slow_days": "3","slowness_days": "4"}

]

}

Generated at Wed Feb 07 21:17:05 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.