Mongo - Sum values inside documents

Schema:


Solution:



Note: schema based on https://schema.org/AggregateOffer

Comments

Popular posts from this blog

spring @async causing BeanCurrentlyInCreationException

Oracle - duplicate fields in RECORD,TABLE or argument list are not permitted