Class: Couchbase::Collection::LookupInOptions

Inherits:
Couchbase::CommonOptions show all
Defined in:
lib/couchbase/collection_options.rb,
/Users/sergey.auseyau/code/couchbase-ruby-client/lib/couchbase/collection_options.rb
more...

Instance Attribute Summary collapse

Attributes inherited from Couchbase::CommonOptions

#client_context, #parent_span, #retry_strategy, #timeout

Instance Method Summary collapse

Constructor Details

#initialize {|self| ... } ⇒ LookupInOptions

Returns a new instance of LookupInOptions.

Yield Parameters:

[View source]

310
311
312
313
314
# File 'lib/couchbase/collection_options.rb', line 310

def initialize
  super
  @transcoder = JsonTranscoder.new
  yield self if block_given?
end

Instance Attribute Details

#access_deletedBoolean

Returns For internal use only: allows access to deleted documents that are in ‘tombstone’ form.

Returns:

  • (Boolean)

    For internal use only: allows access to deleted documents that are in ‘tombstone’ form


304
305
306
# File 'lib/couchbase/collection_options.rb', line 304

def access_deleted
  @access_deleted
end

#transcoderJsonTranscoder

Returns transcoder used for decoding.

Returns:


307
308
309
# File 'lib/couchbase/collection_options.rb', line 307

def transcoder
  @transcoder
end