Couchbase
view release on metacpan or search on metacpan
lib/Couchbase/Bucket.pm view on Meta::CPAN
'SELECT *, META().id FROM travel WHERE travel.country = $country ',
# Placeholder values
{ country => "Ecuador", },
# Query options
{ _host => "localhost:8093" }
);
foreach my $row (@{$rv->rows}) {
# do something with decoded JSON
}
The C<queryargs> parameter can either be a hashref of named placeholders
(omiting of course, the leading C<$> which is handled internally), or it can
be an arrayref of positional placeholders (if your query uses positional
placeholders).
The C<queryopts> is a set of other modifiers for the query. Most of these
are sent to the server. One special parameter is the C<_host> parameter, which
( run in 0.227 second using v1.01-cache-2.11-cpan-26ccb49234f )