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 { Criteria interface{} `md:"criteria,required"` // The JSON Request Object that will serve as search parameter for deciding which documents to update UpdateData interface{} `md:"updateData,required"` // The JSON Request Object that will serve as the update data }
Input structure
type Output ¶
type Output struct { MatchedCount int64 `md:"matchedCount"` // A number indicating total Documents that were matched for update UpdatedCount int64 `md:"updatedCount"` // A number indicating total Documents that were updated by this activity }
Output structure
type Settings ¶
type Settings struct { Connection string `md:"connection,required"` // The MongoDB connection Operation string `md:"operation,required,allowed(Update One Document,Update Many Documents,Replace One Document)"` // Operation to perform CollectionName string `md:"collectionName,required"` // The collection within the MongoDB database to Update Documents Database string `md:"databaseName,required"` // MongoDB databse to Update 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.