- Description
- Credentials
- Actions
- Aggregation from Sync using Data API
- Delete multiple Document from Sync using Data API
- Delete One Document from Sync using Data API
- Find a Single Document from Sync using Data API
- Find multiple Document from Sync using Data API
- Insert a Document from Sync using Data API
- Insert multiple Document from Sync using Data API
- Replace a Document from Sync using Data API
- Update single Document froms Sync using Data API
- Upsert using Data API
This component connects to ThatApp.io Database using Data API Resources
Component credentials configuration fields:
- APIKey - (string, required): Api key is gotten from the your MongoDB dashboard
- API Version - (string, optional,
beta
by default): Provide the API version - Data API App ID - (string, optional,
data-maqtf
by default): Your Data API App ID, which you can find in the URL Endpoint section of the MongoDB UI - Cluster Name - (string, optional,
MigrateCluster0
by default): The name of a cluster with the Data API enabled
Execute aggregation pipeline and returns the result set of the final stage of the pipeline
none
- Database - (string, required): Database name
- Collection - (string, required): Collection name
- Pipeline - (array, required): One or more stages that process documents
- documents - (array, required): Results for groups of documents
Deletes all documents in the collection that match filter
none
- Database - (string, required): Database name
- Collection - (string, required): Collection name
- Condition - (object, required): Filter for records in collection
- deletedCount - (number, required): number of deleted documents
Deletes the first document in the collection that matches filter
none
- Database - (string, required): Database name
- Collection - (string, required): Collection name
- Condition - (object, required): Filter for records in collection
- deletedCount - (number, required): number of deleted documents
Returns the first document in the collection that matches filter
none
- Database - (string, required): Database name
- Collection - (string, required): Collection name
- Condition - (object, required): Filter for records in collection
- document - (object, required): The matched document
Returns documents in the collection that match filter
- Emit Behavior - (dropdown, required): Select how to proceed documents:
- Emit Individually - Each document in separate message
- Emit Batch - All documents in one message
- Database - (string, required): Database name
- Collection - (string, required): Collection name
- Condition - (object, required): Filter for records in collection
- Sort - (object, required): Matched documents are returned in ascending or descending order of the fields specified in the expression
- Limit - (number, required): The maximum number of matched documents to include in the returned result set. Each request may return up to 50,000 documents.
- Skip - (number, required): The number of matched documents to skip before adding matched documents to the result set.
- documents - (array, required): Array of matched document
Insert document into collection
none
- Database - (string, required): Database name
- Collection - (string, required): Collection name
- JSON Data to insert - (object, required): Document to insert into the collection
- insertedId - (string, required):
_id
value of the inserted document
Insert multiple documents into collection
none
- Database - (string, required): Database name
- Collection - (string, required): Collection name
- Array of JSON Data to insert - (array, required): Array of documents to insert into the collection
- insertedIds - (array, required):
_id
values of all inserted documents as an array of strings
Overwrites the first document in the collection that matches this filter or create new one
none
- Database - (string, required): Database name
- Collection - (string, required): Collection name
- Condition for Update - (object, required): Filter for records in collection
- JSON Data to insert - (object, required): Document that overwrites the matched document or to be created if record not found
- matchedCount - (number, required): Number of object that matched
- modifiedCount - (number, required): Number of updated objects
- upsertedId - (string, optional):
_id
value of inserted object if it wasn't found byCondition for Update
Modifies the first document in the collection that matches filter
none
- Database - (string, required): Database name
- Collection - (string, required): Collection name
- Condition for Update - (object, required): Filter for records in collection
- JSON Data to upsert - (object, required): Update Expression that specifies how to modify the matched document
- matchedCount - (number, required): Number of object that matched
- modifiedCount - (number, required): Number of updated objects
- upsertedId - (string, optional):
_id
value of inserted object if it wasn't found byCondition for Update
Modifies all documents in the collection that match this filter
none
- Database - (string, required): Database name
- Collection - (string, required): Collection name
- Condition - (object, required): Filter for records in collection
- JSON Data to upsert - (object, required): Update Expression that specifies how to modify the matched document
- matchedCount - (number, required): Number of object that matched
- modifiedCount - (number, required): Number of updated objects
- upsertedId - (string, optional):
_id
value of inserted object if it wasn't found byCondition