Class: Couchbase::Management::QueryIndexManager::WatchIndexesOptions

Inherits:
Object
  • Object
show all
Defined in:
lib/couchbase/management/query_index_manager.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of WatchIndexesOptions.

Yield Parameters:

[View source]

239
240
241
# File 'lib/couchbase/management/query_index_manager.rb', line 239

def initialize
  yield self if block_given?
end

Instance Attribute Details

#watch_primaryBoolean

Returns whether or not to watch the primary index.

Returns:

  • (Boolean)

    whether or not to watch the primary index


236
237
238
# File 'lib/couchbase/management/query_index_manager.rb', line 236

def watch_primary
  @watch_primary
end