struct Mongo::Bulk::ReplaceOne

Overview

Replace one document.

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

[View source]

Instance Method Detail

def collation : Collation | Nil #

[View source]
def filter : BSON #

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

[View source]
def replacement : BSON #

[View source]
def upsert : Bool | Nil #

[View source]