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

Constructor methods inherited from struct Mongo::Bulk::WriteModel

new new

Constructor Detail

def self.new(filter, replacement, collation = nil, hint = nil, upsert = nil) #

Instance Method Detail

def collation : Collation? #

def filter : BSON #

def hint : String | BSON | Nil #

def replacement : BSON #

def upsert : Bool? #