Class: MarkLogic::Queries::NotInQuery
Instance Method Summary
collapse
Methods inherited from BaseQuery
#add_sub_query, #query_value
Constructor Details
#initialize(positive_query, negative_query) ⇒ NotInQuery
4
5
6
7
|
# File 'lib/marklogic/queries/not_in_query.rb', line 4
def initialize(positive_query, negative_query)
@positive_query = positive_query
@negative_query = negative_query
end
|
Instance Method Details
#to_xqy ⇒ Object
9
10
11
|
# File 'lib/marklogic/queries/not_in_query.rb', line 9
def to_xqy
%Q{cts:not-in-query(#{@positive_query.to_xqy},#{@negative_query.to_xqy})}
end
|