Sha256: d68774d18174d27a149b7bd1f29098e0f1346294c7100903986d923918a6044e

Contents?: true

Size: 243 Bytes

Versions: 10

Compression:

Stored size: 243 Bytes

Contents

module MarkLogic
  module Queries
    class DocumentFragmentQuery < BaseQuery
      def initialize(query)
        @query = query
      end

      def to_xqy
        %Q{cts:document-fragment-query(#{@query.to_xqy})}
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
marklogic-0.0.11 lib/marklogic/queries/document_fragment_query.rb
marklogic-0.0.10 lib/marklogic/queries/document_fragment_query.rb
marklogic-0.0.9 lib/marklogic/queries/document_fragment_query.rb
marklogic-0.0.8 lib/marklogic/queries/document_fragment_query.rb
marklogic-0.0.7 lib/marklogic/queries/document_fragment_query.rb
marklogic-0.0.6 lib/marklogic/queries/document_fragment_query.rb
marklogic-0.0.5 lib/marklogic/queries/document_fragment_query.rb
marklogic-0.0.4 lib/marklogic/queries/document_fragment_query.rb
marklogic-0.0.3 lib/marklogic/queries/document_fragment_query.rb
marklogic-0.0.1 lib/marklogic/queries/document_fragment_query.rb