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)?
- #collation : Collation?
- #filter : BSON
- #hint : String | BSON | Nil
- #update : BSON | Array(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, update : Array(BSON) | BSON, array_filters : Array(BSON)? = nil, collation : Mongo::Collation? = nil, hint : BSON | String | Nil = nil, upsert : Bool? = nil)
#