table of contents
| Search::GIN::Query::Class(3pm) | User Contributed Perl Documentation | Search::GIN::Query::Class(3pm) |
NAME¶
Search::GIN::Query::Class - Create class-based GIN queriesVERSION¶
version 0.11SYNOPSIS¶
use Search::GIN::Query::Class;
my $query = Search::GIN::Query::Class->new(
class => 'Person',
);
DESCRIPTION¶
Creates a class-based GIN query that can be used to search records in a storage.This is a ready-to-use query that uses class definitions (specifically "class", "does" and "blessed") to search through the storage.
METHODS/SUBROUTINES¶
new¶
Creates a new query.ATTRIBUTES¶
class¶
The class of the object you want to find. my $query = Search::GIN::Query::Class->new(
class => 'Person',
);
does¶
A role consumed by the object you want to find. my $query = Search::GIN::Query::Class->new(
does => 'TheMonkey',
);
blessed¶
The name of the package that the object is blessed into. my $query = Search::GIN::Query::Class->new(
blessed => 'Person',
);
AUTHOR¶
XXXX XXX'XX (Yuval Kogman) <nothingmuch@woobling.org>COPYRIGHT AND LICENSE¶
This software is copyright (c) 2008 by XXXX XXX'XX (Yuval Kogman), 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.
| 2016-02-22 | perl v5.22.1 |