Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私はmongodbを学ぼうとしているmongodb初心者です...
私はこの行が英語で何を言っているのか理解しようとしています...
{ $project : { _id : { $substr : ["$_id",0,1] } } }
誰かが翻訳できますか?
この式を介して投影されるクエリへの応答では、_id各オブジェクトのフィールドを実際の値の最初の文字のみに置き換える必要があることを示しています。これは集約フレームワークの一部であり、ここに記載されています。
_id