db.collection.createIndex( { “a.loc”: 1, “a.qty”: 1 }, { unique: true } )
– Referencearrow-up-right
Last updated 6 years ago
Was this helpful?