[DOCS-7021] Provide more complex example for aggregate add Created: 22/Jan/16  Updated: 30/Oct/23  Resolved: 01/Nov/22

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: Server_Docs_20231030

Type: Improvement Priority: Minor - P4
Reporter: Docs Collector User (Inactive) Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: bite-sized, docs-triage
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Location: https://docs.mongodb.org/manual/reference/operator/aggregation/add/
User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.111 Safari/537.36
Referrer: https://docs.mongodb.org/manual/reference/operator/aggregation/abs/
Screen Resolution: 1366 x 768
repo: docs
source: reference/operator/aggregation/add


Participants:
Days since reply: 1 year, 14 weeks, 1 day ago
Epic Link: DOCSP-1769
Story Points: 0.3

 Description   

Please give some complex example like:

{
    "_id" : ObjectId("569e18bf3e8595fa736a6179"),
    "item" : "AB",
    "details" : {
        "modal" : 14,
        "manufacturer" : "UBN soft"
    },
    "stock" : [ 
        {
            "size" : "s",
            "qty" : 25.0000000000000000
        }, 
        {
            "size" : "M",
            "qty" : 24.0000000000000000
        }
    ],
    "category" : "dress"
}

And I want to add modal with qty



 Comments   
Comment by Education Bot [ 01/Nov/22 ]

Hello! This ticket has been closed due to inactivity. If you believe this ticket is still important, please reopen it and leave a comment to explain why. Thank you!

Generated at Thu Feb 08 07:53:26 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.