struct Mongo::Bulk::ReplaceOne
- Mongo::Bulk::ReplaceOne
- Mongo::Bulk::WriteModel
- Struct
- Value
- Object
Overview
Replace one document.
Defined in:
cryomongo/bulk.crConstructors
Instance Method Summary
- #collation : Collation | Nil
- #filter : BSON
- #hint : String | BSON | Nil
- #replacement : BSON
- #upsert : Bool | Nil
Instance methods inherited from struct Mongo::Bulk::WriteModel
<=>(other)
<=>,
initialize
initialize
Constructor methods inherited from struct Mongo::Bulk::WriteModel
new
new
Constructor Detail
def self.new(filter, replacement, collation : Mongo::Collation | Nil = nil, hint : BSON | String | Nil = nil, upsert : Bool | Nil = nil)
#