struct Mongo::Bulk::UpdateMany

Overview

Update one or more documents.

Defined in:

cryomongo/bulk.cr

Constructors

Instance Method Summary

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) #

Instance Method Detail

def array_filters : Array(BSON)? #

def collation : Collation? #

def filter : BSON #

def hint : String | BSON | Nil #

def update : BSON | Array(BSON) #

def upsert : Bool? #