Class: Couchbase::Bucket::ViewResult

Inherits:
Object
  • Object
show all
Defined in:
lib/couchbase/view_options.rb,
/Users/sergey.auseyau/code/couchbase-ruby-client/lib/couchbase/view_options.rb
more...

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of ViewResult.

Yield Parameters:

[View source]

150
151
152
# File 'lib/couchbase/view_options.rb', line 150

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


144
145
146
# File 'lib/couchbase/view_options.rb', line 144

def 
  @meta_data
end

#rowsArray<ViewRow>

Returns:


147
148
149
# File 'lib/couchbase/view_options.rb', line 147

def rows
  @rows
end