Class: Couchbase::SearchQuery::MatchAllQuery
- Inherits:
-
SearchQuery
- Object
- SearchQuery
- Couchbase::SearchQuery::MatchAllQuery
- Defined in:
- lib/couchbase/search_options.rb,
/home/runner/work/couchbase-ruby-client/couchbase-ruby-client/lib/couchbase/search_options.rb
Overview
A query that matches all indexed documents.
Instance Method Summary collapse
-
#initialize {|self| ... } ⇒ MatchAllQuery
constructor
A new instance of MatchAllQuery.
- #to_h ⇒ Hash<Symbol, #to_json>
Constructor Details
#initialize {|self| ... } ⇒ MatchAllQuery
Returns a new instance of MatchAllQuery.
1010 1011 1012 1013 |
# File 'lib/couchbase/search_options.rb', line 1010 def initialize super yield self if block_given? end |
Instance Method Details
#to_h ⇒ Hash<Symbol, #to_json>
1016 1017 1018 |
# File 'lib/couchbase/search_options.rb', line 1016 def to_h {:match_all => nil} end |