DOKK / manpages / debian 12 / libsearch-gin-perl / Search::GIN::Query::Attributes.3pm.en
Search::GIN::Query::Attributes(3pm) User Contributed Perl Documentation Search::GIN::Query::Attributes(3pm)

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

version 0.11

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

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.

Creates a new query.

Attributes of the object you want to find.

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

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

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.

2022-06-17 perl v5.34.0