Class: Couchbase::SearchQuery::MatchAllQuery
- Inherits:
-
Couchbase::SearchQuery
- Object
- Couchbase::SearchQuery
- Couchbase::SearchQuery::MatchAllQuery
- Defined in:
- 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>
Methods inherited from Couchbase::SearchQuery
boolean_field, booleans, conjuncts, date_range, disjuncts, doc_id, geo_bounding_box, geo_distance, geo_polygon, match, match_all, match_none, match_phrase, numeric_range, phrase, prefix, query_string, regexp, term, term_range, #to_json, wildcard
Constructor Details
#initialize {|self| ... } ⇒ MatchAllQuery
Returns a new instance of MatchAllQuery.
1014 1015 1016 1017 |
# File 'lib/couchbase/search_options.rb', line 1014 def initialize super yield self if block_given? end |
Instance Method Details
#to_h ⇒ Hash<Symbol, #to_json>
1020 1021 1022 |
# File 'lib/couchbase/search_options.rb', line 1020 def to_h {:match_all => nil} end |