querying mongodb subarray and returning only the latest item in the subarray that fits a date range

后端 未结 0 717
余生分开走
余生分开走 2020-12-04 08:41

I have the following schemas (removed most fields for readability):

const BudgetItemHistorySchema = new Schema({
  amount: Number,
  modifiedOn: {
    type: D         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题