Couchbase::Couch::Design - Object representing a design document
This manual page describes several convenience methods.
Given the name of a view belonging to this design document, yields a path appropriate for executing the view, e.g.
my $design = $cbo->couch_design_get("a_design"); my $vpath = $design->get_view_path("a_view"); print $vpath; # => "_design/a_design/_view/a_view"
Given a view name, get the Couchbase::Couch::Handle object appropriate for it.
Equivalent to:
$cbo->couch_view_iterator($design->get_view_path($view_name))
$cbo->couch_view_slurp($design->get_view_path($view_name));
To install Couchbase::Client, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Couchbase::Client
CPAN shell
perl -MCPAN -e shell install Couchbase::Client
For more information on module installation, please visit the detailed CPAN module installation guide.