Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The syntax for running directly on MongoDB shell is different from using Python library (e.g. PyMongo)


In used lambda functions, you would see two queries:

  • QUERY : This can run directly on MongoDB shell (e.g. Mongo Compass > Connect > Click the button shell)
  • PIPELINE : This is the equivalent (almost, date calculation might differ a bit) query to run with Python library (e.g. PyMongo)

...


Some useful tutorials:

https://docs.aws.amazon.com/lambda/latest/dg/getting-started.html

...