Net::MarkLogic::XDBCNet::MarkLogic::XDBC is a Perl module with XDBC connectivity for MarkLogic CIS servers. | |
Download |
Net::MarkLogic::XDBC Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Tony Stubblebine
- Publisher web site:
- http://search.cpan.org/~stub/Net-MarkLogic-XDBC-0.11/lib/Net/MarkLogic/XDBC.pm
Net::MarkLogic::XDBC Tags
Net::MarkLogic::XDBC Description
Net::MarkLogic::XDBC is a Perl module with XDBC connectivity for MarkLogic CIS servers. Net::MarkLogic::XDBC is a Perl module with XDBC connectivity for MarkLogic CIS servers.SYNOPSIS use Net::MarkLogic::XDBC $xdbc = Net::MarkLogic::XDBC->new( "user:pass@localhost:9000" ); $xdbc = Net::MarkLogic::XDBC->new(host => $host, port => $port, username => $user, password => $pass, ); $result = $agent->query($xquery); print $result->content; @items = $result->items; print $item->content;METHODSnew() $xdbc = Net::MarkLogic::XDBC->new( "user:pass@localhost:9000" ); $xdbc = Net::MarkLogic::XDBC->new( host => $hostname, port => $port, username => $user, password => $pass, );Connect using a connection string or named host, port, username, and password parameters.query() $result = $xdbc->query($xquery);Execute XQUERY code on XDBC server.query_from_template() $result = $xdbc->query_from_template($template, $args);Generate XQUERY code from a template toolkit template and arguments, then execute on XDBC server.This might be overkill, but it's definitely a feature you're not going to find in the Java API. Requirements: · Perl
Net::MarkLogic::XDBC Related Software