| 1 | package DBIx::NoSQL::Store::Manager::StoreIndex; | ||
| 2 | BEGIN { | ||
| 3 | 2 | ▶ | $DBIx::NoSQL::Store::Manager::StoreIndex::AUTHORITY = 'cpan:YANICK'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | } | ||
| 5 | { | ||
| 6 | 2 | $DBIx::NoSQL::Store::Manager::StoreIndex::VERSION = '0.2.2'; | |
| 7 | } | ||
| 8 | # ABSTRACT: Marks attributes to be indexed in the store | ||
| 9 | |||
| 10 | |||
| 11 | 2 | ▶ | use Moose::Role; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 12 | 2 | Moose::Util::meta_attribute_alias('StoreIndex'); | |
| 13 | |||
| 14 | 2 | has store_isa => ( | |
| 15 | is => 'rw', | ||
| 16 | isa => 'Str', | ||
| 17 | predicate => 'has_store_isa', | ||
| 18 | ); | ||
| 19 | |||
| 20 | 2 | 1; | |
| 21 | |||
| 22 | __END__ | ||
| 23 | |||
| 24 | =pod | ||
| 25 | |||
| 26 | =head1 NAME | ||
| 27 | |||
| 28 | DBIx::NoSQL::Store::Manager::StoreIndex - Marks attributes to be indexed in the store | ||
| 29 | |||
| 30 | =head1 VERSION | ||
| 31 | |||
| 32 | version 0.2.2 | ||
| 33 | |||
| 34 | =head1 SYNOPSIS | ||
| 35 | |||
| 36 | # in a class consuming the DBIx::NoSQL::Store::Manager::Model role | ||
| 37 | |||
| 38 | has something => ( | ||
| 39 | traits => [ 'StoreIndex' ], | ||
| 40 | is => 'ro', | ||
| 41 | ); | ||
| 42 | |||
| 43 | =head1 DESCRIPTION | ||
| 44 | |||
| 45 | I<DBIx::NoSQL::Store::Manager::StoreIndex> (also aliased to I<StoreIndex>) | ||
| 46 | is used to mark attributes that are to be indexed by the | ||
| 47 | L<DBIx::NoSQL::Store::Manager> store. | ||
| 48 | |||
| 49 | =head1 AUTHOR | ||
| 50 | |||
| 51 | Yanick Champoux <yanick@babyl.dyndns.org> | ||
| 52 | |||
| 53 | =head1 COPYRIGHT AND LICENSE | ||
| 54 | |||
| 55 | This software is copyright (c) 2012 by Yanick Champoux. | ||
| 56 | |||
| 57 | This is free software; you can redistribute it and/or modify it under | ||
| 58 | the same terms as the Perl 5 programming language system itself. | ||
| 59 | |||
| 60 | =cut | ||