
Data::Riak::Result::WithLocation - Results with a Location

version 1.4

The location URI as provided by Riak.
The Data::Riak::Bucket this result was retrieved from.
The name of the bucket this result was retrieved from.
The key this object is stored under within its bucket.

Re-fetches the object from its bucket and returns a new instance representing the latest version of the object in storage.
$obj->save(
new_value => $new_value,
new_links => $new_links,
);
Saves the object back into its bucket, possibly with a different set of links or a different value.
If the new_value option isn't given, the current ->value won't be altered.
If the new_links option isn't given, the current ->links won't be altered.
The updated object is returned.
$obj->save_unless_modified(
new_value => $new_value,
new_links => $new_links,
);
Line "save", but will throw an exception when attempting to overwrite changes that have been made to this object within Riak since the current $obj has been retrieved.
See "LINKWALKING" in Data::Riak.


This software is copyright (c) 2013 by Infinity Interactive.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.