use digimon_product; # 精確查詢與範圍條件組合索引 db.supplementary_info.createIndex({"reference_id": 1}) # 精確匹配 reference_id db.supplementary_info.createIndex({"info_type": 1}) # 精確查詢 status # 排序索引 db.supplementary_info.createIndex({"created_at": -1}) # 用於按 created_at 倒序排序