Florian Ragwitz > Data-Riak-2.0 > Data::Riak::Result::WithLinks

Download:
Data-Riak-2.0.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  1
View/Report Bugs
Module Version: 2.0   Source  

NAME ^

Data::Riak::Result::WithLinks - Results with links

VERSION ^

version 2.0

ATTRIBUTES ^

links

This object's list of Data::Riak::Links.

METHODS ^

create_link

  my $link = $obj->create_link(
      riaktag => 'buddy',
  );

Create a new Data::Riak::Link for this object's key within its bucket.

This only instanciates a new link. It won't automatically be added to the object's list of links. Use "add_link" for that.

add_link

  my $obj_with_links = $obj->add_link(
      $obj->create_link(riaktag => 'buddy'),
  );

Returns a clone of the instance, with the new link added to its list of links.

remove_link

AUTHORS ^

COPYRIGHT AND LICENSE ^

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.

syntax highlighting: