收藏
回答

云开发如何查询多个字段符合条件的数据?

假设集合的记录如下:

{name: '小明', year: 2022, month: 05, day: 10}

{name: '小李', year: 2022, month: 05, day: 20}

{name: '小明', year: 2022, month: 05, day: 25}

{name: '小明', year: 2022, month: 06, day: 04}

{name: '小明', year: 2022, month: 06: day: 15}

{name: '小明', year: 2021: month: 03, day: 01}

如何查询出name为小明,year为2022,month为5时day>15,month为6时day<10的数据?


回答关注问题邀请回答
收藏
登录 后发表内容