0
我正在努力在mongodb中繼續索引數字,但是我找不到如何去做。我試圖保持文本在下列方式 db.user.createIndex( { 內容: 「文本」, 「users.comments」: 「文本」, 「users.profiles」: 「文本」 } )Mongo中的數字索引
如此類似於文本(即字符串)是否有任何類型的數字。 我已經搜查https://docs.mongodb.com/manual/reference/method/db.collection.createIndex/