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?
- #filter : BSON
- #hint : String | BSON | Nil
- #replacement : BSON
- #upsert : Bool?
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, hint : BSON | String | Nil = nil, upsert : Bool? = nil)
#