
AnnoCPAN::DBI - AnnoCPAN model class (database access module)

use AnnoCPAN::DBI;
my @pods = AnnoCPAN::DBI::Pod->search(name => 'My::Module');
# etc...

This is a collection of classes based on Class::DBI, used for representing the AnnoCPAN data. Warning: Some of the documentation here is incomplete.

The base class; based on Class::DBI.
Represents a distribution (regardless of version); has the following columns:
id
name
rating
review_count
creation_time
Represents a document (typically a module, but it may be some other .pod file), regardless of version. Columns:
id
name
Links a pod with a dist (its a many-to-many relationship). Columns:
id
dist
pod
Represents a specific version of a distribution Columns:
id
dist
version
path
pause_id
distver
mtime
Represents a specific version of a document (a "pod"). Columns:
id
pod
distver
path
description
html
Represents a paragraph in a POD document. Columns:
id
podver
pos
content
type
Represents an AnnoCPAN user. Columns:
id
username
password
name
email
profile
reputation
member_since
last_visit
privs
Note that some of these columns are unused, but they exist for historical reasons.
Other Methods:
Return true if the user has the authority to delete $note (an AnnoCPAN::DBI::Note object).
Return true if the user has the authority to edit $note (an AnnoCPAN::DBI::Note object).
Return true if the user has the authority to move $note (an AnnoCPAN::DBI::Note object).
Represents a note. Columns:
id
pod
min_ver
max_ver
note
ip
time
score
user
section
Note that some of these columns are unused, but they exist for historical reasons.

AnnoCPAN::Control, AnnoCPAN::Config

Ivan Tubert-Brohman <itub@cpan.org>

Copyright (c) 2005 Ivan Tubert-Brohman. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.