MongoDB-3.215.1300

MongoDB


Author: Jerry Chae


Description and prerequisite

MongoDB plugin is based on Python MongoDB/PyMongo. User must have a basic knowledge about the mongoDB solution.

For more detailed explanations, please refer to the link below.


https://www.w3schools.com/python/python_mongodb_getstarted.asp



Need help?

Technical contact to tech@argos-labs.com


May you search all operations,



Input (Required)

  •  Function (choose one from the 9 pull-down options)
  • Host IP address
  • Port number



Input (Optional)

  • DB Name
  • Collection Name
  • User ID
  • Password


 

Input (Advanced)

  • See parameter settings section below

 

Output – Return Value

  • See parameter settings section below


 


How to set parameters for different functions


A. Find

In this example, we assume following data (3 documents (records)) is stored in the mongoDB.



A -1. Find all






A - 2. Find with one filter






A - 3. Find with multiple filters






A - 4. Find with "Sort" option





A - 5. Find with "Skip" and "Limit" options





A - 6. Find with "Projection" option







B. Insert


B - 1. Insert one document







B - 2. Insert multiple documents







C. Update


C - 1. Update one document







C - 2. Update multiple documents







C - 3. Update with "Upsert" flag checked








D. Delete


D - 1. Delete one document







D - 2. Delete multiple documents








E. Count


E - 1. Count one document








F. Collection_names


F - 1. Listing collection names








G. List_database_names


G - 1. Listing database names








H. Drop_database


H - 1. Dropping(removing) database








I. Drop_collection


I - 1. Dropping(removing) collection





Return Code

Code
Meaning
0Execution successful
99Execution failed