Class: Couchbase::Bucket::ViewResult

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of ViewResult.

Yield Parameters:



62
63
64
# File 'lib/couchbase/view_options.rb', line 62

def initialize
  yield self if block_given?
end

Instance Attribute Details

#meta_dataViewMetaData

Returns object representing additional metadata associated with this query

Returns:

  • (ViewMetaData)

    returns object representing additional metadata associated with this query



56
57
58
# File 'lib/couchbase/view_options.rb', line 56

def 
  @meta_data
end

#rowsArray<ViewRow>

Returns:



59
60
61
# File 'lib/couchbase/view_options.rb', line 59

def rows
  @rows
end