13 lines
500 B
Plaintext
13 lines
500 B
Plaintext
use digimon_order;
|
|
|
|
db.order.createIndex({ "business_id": 1, "order_status": 1, "create_time": -1 })
|
|
db.orders.createIndex({ "reference_id": 1, "reference_uid": 1, "business_id": 1, "uid": 1 })
|
|
db.orders.createIndex({ "order_type": 1, "direction_type": 1, "order_status": 1 })
|
|
db.orders.createIndex({ "create_time": -1, "update_time": -1, "order_arrival_time": -1, "order_payment_time": -1 })
|
|
|
|
db.order.createIndex({
|
|
"uid": 1,
|
|
"order_type": 1,
|
|
"order_status": 1,
|
|
"create_time": -1,
|
|
}) |