DBIx::NoSQL::Store::Manager::StoreKey - Marks attributes defining the object's key in the store
# 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 <firstname.lastname@example.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.