Search::GIN::Query::Class(3pm)

Search::GIN::Query::Class3pm

Create class-based gin queries

Usage

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

Version

version 0.11

Overview

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',
    );

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 4 times.

  1. 6.0
  2. 7
  3. 8
  4. 9–11
  5. 12–13

Author

XXXX XXX'XX (Yuval Kogman) <[email protected]>

From libsearch-gin-perl 0.11-3 in Debian 13 (Trixie). Parsed by carta from the page's man source.