This release adds support for the applyOps command which contains an array of Operation
s to apply at once:
Operation::ApplyOps {
/// A unique identifier for this operation.
id: i64,
/// The time of the operation.
timestamp: DateTime<UTC>,
/// The full namespace of the operation including its database and collection.
namespace: String,
/// A vector of operations to apply.
operations: Vec<Operation>,
}
Install by adding the following to your Cargo.toml
:
oplog = "0.2.0"
Full API documentation can be found here.