Class: MarkLogic::Queries::DocumentFragmentQuery
- Inherits:
-
BaseQuery
- Object
- BaseQuery
- MarkLogic::Queries::DocumentFragmentQuery
show all
- Defined in:
- lib/marklogic/queries/document_fragment_query.rb
Instance Method Summary
collapse
Methods inherited from BaseQuery
#add_sub_query, #query_value
Constructor Details
4
5
6
|
# File 'lib/marklogic/queries/document_fragment_query.rb', line 4
def initialize(query)
@query = query
end
|
Instance Method Details
#to_xqy ⇒ Object
8
9
10
|
# File 'lib/marklogic/queries/document_fragment_query.rb', line 8
def to_xqy
%Q{cts:document-fragment-query(#{@query.to_xqy})}
end
|