Class: Couchbase::SearchQuery::MatchNoneQuery
- Inherits:
-
SearchQuery
- Object
- SearchQuery
- Couchbase::SearchQuery::MatchNoneQuery
- Defined in:
- lib/couchbase/search_options.rb
Overview
A query that matches nothing.
Instance Method Summary collapse
-
#initialize {|self| ... } ⇒ MatchNoneQuery
constructor
A new instance of MatchNoneQuery.
- #to_h ⇒ Hash<Symbol, #to_json>
Constructor Details
#initialize {|self| ... } ⇒ MatchNoneQuery
Returns a new instance of MatchNoneQuery.
1037 1038 1039 1040 |
# File 'lib/couchbase/search_options.rb', line 1037 def initialize super yield self if block_given? end |
Instance Method Details
#to_h ⇒ Hash<Symbol, #to_json>
1043 1044 1045 |
# File 'lib/couchbase/search_options.rb', line 1043 def to_h {:match_none => nil} end |