DBIx::NoSQL::Store::Manager::StoreKey - Marks attributes defining the object's key in the store
version 0.2.0
# in a class consuming the DBIx::NoSQL::Store::Manager::Model role has my_id => ( traits => [ 'StoreKey' ], is => 'ro', );
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.
Yanick Champoux <yanick@babyl.dyndns.org>
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.
To install DBIx::NoSQL::Store::Manager, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DBIx::NoSQL::Store::Manager
CPAN shell
perl -MCPAN -e shell install DBIx::NoSQL::Store::Manager
For more information on module installation, please visit the detailed CPAN module installation guide.