Yanick Champoux > DBIx-NoSQL-Store-Manager-0.1.0 > DBIx::NoSQL::Store::Manager::StoreKey

Download:
DBIx-NoSQL-Store-Manager-0.1.0.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: v0.1.0   Source   Latest Release: DBIx-NoSQL-Store-Manager-0.2.2

NAME ^

DBIx::NoSQL::Store::Manager::StoreKey - Marks attributes defining the object's key in the store

VERSION ^

version 0.1.0

SYNOPSIS ^

    # in a class consuming the DBIx::NoSQL::Store::Manager::Model role

    has my_id => (
        traits => [ 'StoreKey' ],
        is => 'ro',
    );

DESCRIPTION ^

DBIx::NoSQL::Store::Manager::StoreKey (also aliased to StoreKey) is used to mark attributes that will be used as the object id in the DBIx::NoSQL::Store::Manager store.

If more than one attribute has the trait, the id will be the concatenated values of those attributes.

AUTHOR ^

Yanick Champoux <yanick@babyl.dyndns.org>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2012 by Yanick Champoux.

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: