Metadata-Version: 2.1
Name: tracardi-mongodb-connector
Version: 0.6.0
Summary: The purpose of this plugin is to connect to mongo and retrieve data.
Home-page: UNKNOWN
Author: Risto Kowaczewski
Author-email: risto.kowaczewski@gmail.com
License: UNKNOWN
Keywords: tracardi,plugin
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE.md
Requires-Dist: tracardi-plugin-sdk (>=0.6.22)
Requires-Dist: pydantic
Requires-Dist: tracardi (>=0.6.5)
Requires-Dist: motor (~=2.5.0)

# Mongo connector

This plugin connects to mongo and queries this database.

# Configuration

```json
{
  "source": {
    "name": "MongoDB",
    "id": "fbabb00e-a724-40bf-b889-bd8d6a7f25e2"
  },
  "database": "my_database",
  "collection": "my_collection",
  "query": "{}"
}
```

* *database* - database name.
* *collection* - mongodb collection.
* *query* - mongodb query.

# Input

This node does not process input payload.

# Output

Query result.


