struct Mongo::Bulk::UpdateOne
- Mongo::Bulk::UpdateOne
- Mongo::Bulk::WriteModel
- Struct
- Value
- Object
Overview
Update one document.
Defined in:
cryomongo/bulk.crConstructors
Instance Method Summary
- #array_filters : Array(BSON) | Nil
- #collation : Collation | Nil
- #filter : BSON
- #hint : String | BSON | Nil
- #update : BSON | Array(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, update : Array(BSON) | BSON, array_filters : Nil | Array(BSON) = nil, collation : Mongo::Collation | Nil = nil, hint : BSON | String | Nil = nil, upsert : Bool | Nil = nil)
#