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::Attributes - Create attributes-based GIN queries

Attributes

attributes
       Attributes of the object you want to find.

           my $query = Search::GIN::Query::Attributes->new(
               attributes => {
                   name => 'Homer',
                   city => 'Springfield',
               },
           );

Author

       XXXX XXX'XX (Yuval Kogman) <nothingmuch@woobling.org>

Description

       Creates an attributes-based GIN query that can be used to search records in a storage.

       This is a ready-to-use query that uses an object's attributes to search through the storage.

Methods/Subroutines

new
       Creates a new query.

Name

       Search::GIN::Query::Attributes - Create attributes-based GIN queries

Synopsis

           use Search::GIN::Query::Attributes;

           my $query = Search::GIN::Query::Attributes->new(
               attributes => {
                   name => 'Homer',
               },
           );

Version

       version 0.11

See Also