Class: MarkLogic::Queries::DocumentQuery
- Inherits:
-
BaseQuery
- Object
- BaseQuery
- MarkLogic::Queries::DocumentQuery
show all
- Defined in:
- lib/marklogic/queries/document_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_query.rb', line 4
def initialize(uris)
@uris = uris
end
|
Instance Method Details
#to_xqy ⇒ Object
8
9
10
11
|
# File 'lib/marklogic/queries/document_query.rb', line 8
def to_xqy
uris = query_value(@uris)
%Q{cts:document-query((#{uris}))}
end
|