lib/mongo/bulk_write.rb
# Get the write concern for the bulk write.
#
# @api private
#
# @example Get the write concern.
#   bulk_write.write_concern
#
# @return [ WriteConcern ] The write concern.
#
# @since 2.1.0
Get the write concern for the bulk write.
Get the write concern for the bulk write .
def write_concern(session = nil)
      @write_concern ||= options[:write_concern] ?
        WriteConcern.get(options[:write_concern]) :
        collection.write_concern_with_session(session)
    end
def write_concern ( session = nil ) @write_concern ||= options [ :write_concern ] ? WriteConcern . get ( options [ :write_concern ] ) : collection . write_concern_with_session ( session ) end
Get the write concern for the bulk write.
Get the write concern for the bulk write .
The write concern.
The write concern .
 WriteConcern 
session
<not_specific>
api
None
example
Get the write concern.
Get the write concern .
since
None