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

[View source]

Instance Method Detail

def array_filters : Array(BSON) | Nil #

[View source]
def collation : Collation | Nil #

[View source]
def filter : BSON #

[View source]
def hint : String | BSON | Nil #

[View source]
def update : BSON | Array(BSON) #

[View source]
def upsert : Bool | Nil #

[View source]