Fedora::Bugzilla::QueriedBugs - A set of bugs resulting from a query/search


Fedora-Bugzilla documentation  | view source Contained in the Fedora-Bugzilla distribution.

Index


NAME

Top

Fedora::Bugzilla::QueriedBugs - A set of bugs resulting from a query/search

SYNOPSIS

Top

    # from known #'s/aliases
    $bugs = $bz->bugs(123456, 789012, ...);

    # from a query
    $bugs = $bz->query(...);

    # ...

    print $bugs->count . " bugs found: $bugs";

DESCRIPTION

Top

This class represents a collection of bugs, either returned from a query or pulled via get_bugs().

SUBROUTINES/METHODS

Top

new()

You'll never need to call this yourself, most likely. Fedora::Bugzilla tends to handle the messy bits for you.

raw()

The raw array ref of hashes returned.

sql()

The SQL Bugzilla executed to run this query.

as_string()

Stringifies. The "" operator is also overloaded, so you can just use the reference in a string context.

ACCESSORS

Top

All accessors are r/o, and are pretty self-explanitory.

bz

A reference to the parent Fedora::Bugzilla instance.

num_bugs
first_bug
last_bug
map_over_bugs
get_bug

SEE ALSO

Top

Fedora::Bugzilla

AUTHOR

Top

Chris Weyl <cweyl@alumni.drew.edu>

LICENSE AND COPYRIGHT

Top


Fedora-Bugzilla documentation  | view source Contained in the Fedora-Bugzilla distribution.