Practical 4
Practical 4
Urmil Pawaskar
Roll No. 58
Date: -
Practical 4
Query Operator - ii
1) Create new collection with ther name inventory having atleast 10 docs with the fields
item_id, item_name, item_quatity and item_tags(A-E)in item_details
10) Descending
11) Display all docs sorted on item quantity in ascending order (only details and quantity)
12) Descending
13) Display the documents in collection inventory where the tags field as only three elements
14) Display the docs in collection where item tag array fields A and C
15) Where atleast a single value in the result array field is greater than 82