logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Search::GIN::Query::Class - Create class-based GIN queries

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>

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.

Name

       Search::GIN::Query::Class - Create class-based GIN queries

Synopsis

           use Search::GIN::Query::Class;

           my $query = Search::GIN::Query::Class->new(
               class => 'Person',
           );

Version

       version 0.11

See Also