C100DEV 試験問題 86
データベースには、次のドキュメント構造を持つ sales というコレクションがあります: { _id: ObjectId("5bd761dcae323e45a93ccfe8"), saleDate: ISODate("2015-03-23T21:06:49.506Z"), items: [ { name: 'printer paper', tags: [ 'office', 'stationary' ], price: Decimal128("40.01"), quantity: 2 }, { name: 'notepad', tags: [ 'office', 'writing', 'school' ], price: Decimal128("35.29"), quantity: 2 }, { name: 'pens', tags: [ 'writing', 'school', 'stationary' ], price: Decimal128("56.12"), quantity: 5 } ], storeLocation: 'デンバー', customer: { 性別: '男性', age: 42, email: '[email protected]', 満足度: 4 }, purchaseMethod: 'オンライン' } { _id: ObjectId("5bd761dcae323e45a93ccfe9"), saleDate: ISODate("2015-08-25T10:01:02.918Z"), items: [ { name: 'バインダー', tags: [ '学校', '一般', '組織' ], price: Decimal128("28.31"), quantity: 9 }, { name: 'バックパック', tags: [ '学校', '旅行', '子供用' ], price: Decimal128("83.28"), quantity: 2 } ]、storeLocation: 'Seattle'、customer: { 性別: 'M'、年齢: 50、メール: '[email protected]'、満足度: 5 }、couponUsed: false、purchaseMethod: 'Phone' } このコレクションから、タグ フィールド (配列) の最初のタグが少なくとも 1 つの項目で 'office' であるすべてのドキュメントを抽出するにはどうすればよいですか?
C100DEV 試験問題 87
以下の文を完成させてください。
C100DEV 試験問題 88
MongoDB にクエリの特定のインデックスを強制的に使用させるには、どのカーソル メソッドを使用する必要がありますか?
C100DEV 試験問題 89
MongoDB のトランザクションでサポートされている読み取り懸念レベルを選択します。

