diff options
| author | Robin Edwards <robin.ge@gmail.com> | 2013-03-01 12:53:58 +0000 |
|---|---|---|
| committer | Robin Edwards <robin.ge@gmail.com> | 2013-03-01 12:53:58 +0000 |
| commit | 7f1adb8497d63200ecebd3cf229cf240ab0eaf21 (patch) | |
| tree | e60631e6bc517d3d40ad4929da5935065e254a12 /lib/Net/Riak.pm | |
| parent | Remove deprecations (diff) | |
| download | net-riak-7f1adb8497d63200ecebd3cf229cf240ab0eaf21.tar.gz | |
Fix ws
Diffstat (limited to 'lib/Net/Riak.pm')
| -rw-r--r-- | lib/Net/Riak.pm | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/lib/Net/Riak.pm b/lib/Net/Riak.pm index 1fd23a6..243244f 100644 --- a/lib/Net/Riak.pm +++ b/lib/Net/Riak.pm @@ -66,23 +66,23 @@ sub bucket { q => 'field:value' ); - # Secondary index setup (REST interface) + # Secondary index setup (REST interface) my $obj3 = $bucket->new_object('foo3', {...}); $obj3->add_index('myindex_bin','myvalue' ); $obj3->add_index('number_int', 1001); $obj3->store; - # Get all keys for a specific index/value pair - my @keys = $client->index('mybucket', 'myindex_bin', 'myvalue' ); - - # Get all keys for a range of index value pairs - my @keys = $client->index('mybucket', 'number_int', 500, 1500); - - # Removing a secondary index (REST interface) - my $new_obj = $bucket->get('foo3'); - $new_obj->remove_index('number_int', 1001); - $new_obj->store; - + # Get all keys for a specific index/value pair + my @keys = $client->index('mybucket', 'myindex_bin', 'myvalue' ); + + # Get all keys for a range of index value pairs + my @keys = $client->index('mybucket', 'number_int', 500, 1500); + + # Removing a secondary index (REST interface) + my $new_obj = $bucket->get('foo3'); + $new_obj->remove_index('number_int', 1001); + $new_obj->store; + =head1 DESCRIPTION =head2 ATTRIBUTES |
