Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Activity ¶
type Activity struct {
// contains filtered or unexported fields
}
Activity is a stub for your Activity implementation
type Input ¶
type Input struct {
Input interface{} `md:"criteria,required"` // The JSON Request Object that will serve as search parameter for deciding which documents to delete
}
Input structure
type Output ¶
type Output struct {
DeletedCount int64 `md:"deletedCount"` // A number indicating total Documents that were deleted by this activity
}
Output structure
type Settings ¶
type Settings struct { Connection string `md:"connection,required"` // The MongoDB connection Operation string `md:"operation,required,allowed(Remove One Document,Remove Many Documents)"` // Operation to perform CollectionName string `md:"collectionName,required"` // The collection within the MongoDB database to Remove Documents Database string `md:"databaseName,required"` // MongoDB databse to Remove Documents Timeout int32 `md:"timeout"` // Timeout in seconds for the activity's operations }
Settings structure
Click to show internal directories.
Click to hide internal directories.