Skip to content

Commit

Permalink
differentiate deployment types for change events
Browse files Browse the repository at this point in the history
  • Loading branch information
MongoCaleb committed Oct 17, 2023
1 parent 90edce6 commit 254fb2b
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions source/triggers/database-triggers.txt
Original file line number Diff line number Diff line change
Expand Up @@ -275,46 +275,46 @@ following operation types:
* - Operation Type
- Description

* - **Insert**
* - **Insert Document** (All trigger types)
- Represents a new document added to the collection.

* - **Update**
* - **Update Document** (All trigger types)
- Represents a change to an existing document in the collection.

* - **Delete**
* - **Delete Document** (All trigger types)
- Represents a document deleted from the collection.

* - **Replace**
* - **Replace Document** (All trigger types)
- Represents a new document that replaced a document in the collection.

* - **Create_Collection**
* - **Create_Collection** (Database and Deployment trigger types only)
- Represents the creation of a new collection.

* - **Modify_Collection**
* - **Modify_Collection** (Database and Deployment trigger types only)
- Represents the modification collection.

* - **Rename_Collection**
* - **Rename_Collection** (Database and Deployment trigger types only)
- Represents collection being renamed.

* - **Drop_Collection**
* - **Drop_Collection** (Database and Deployment trigger types only)
- Represents a collection being dropped.

* - **Shard_Collection**
* - **Shard_Collection** (Database and Deployment trigger types only)
- Represents a collection changing from unsharded to sharded.

* - **Reshard_Collection**
* - **Reshard_Collection** (Database and Deployment trigger types only)
- Represents a change to a collection's sharding.

* - **Refine_Collection_Shard_Key**
* - **Refine_Collection_Shard_Key** (Database and Deployment trigger types only)
- Represents a change in the shard key of a collection.

* - **Create_Indexes**
* - **Create_Indexes** (Database and Deployment trigger types only)
- Represents the creation of a new index.

* - **Drop_Indexes**
* - **Drop_Indexes** (Database and Deployment trigger types only)
- Represents an index being dropped.

* - **Drop_Database**
* - **Drop_Database** (Deployment trigger type only)
- Represents a database being dropped.

Database change event objects have the following general form:
Expand Down

0 comments on commit 254fb2b

Please sign in to comment.