NAME
Biblio::Zotero::DB::Schema::Result::Collection
VERSION
version 0.003
ATTRIBUTES
name
TODO
METHODS
items
TODO
NAME
Biblio::Zotero::DB::Schema::Result::Collection
TABLE: collections
ACCESSORS
collectionid
data_type: 'integer'
is_auto_increment: 1
is_nullable: 0
collectionname
data_type: 'text'
is_nullable: 0
parentcollectionid
data_type: 'int'
default_value: null
is_foreign_key: 1
is_nullable: 1
dateadded
data_type: 'timestamp'
default_value: current_timestamp
is_nullable: 0
datemodified
data_type: 'timestamp'
default_value: current_timestamp
is_nullable: 0
clientdatemodified
data_type: 'timestamp'
default_value: current_timestamp
is_nullable: 0
libraryid
data_type: 'int'
is_nullable: 1
key
data_type: 'text'
is_nullable: 0
PRIMARY KEY
UNIQUE CONSTRAINTS
libraryid_key_unique
RELATIONS
collection_items
Type: has_many
Related object: Biblio::Zotero::DB::Schema::Result::CollectionItem
collections
Type: has_many
Related object: Biblio::Zotero::DB::Schema::Result::Collection
parentcollectionid
Type: belongs_to
Related object: Biblio::Zotero::DB::Schema::Result::Collection
SUMMARY
This represents the collection and subcollections (folder) structure of Zotero.
This class uses a Tree::AdjacencyList component to represent the parent-child relationship between collections.
AUTHOR
Zakariyya Mughal <zmughal@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2013 by Zakariyya Mughal.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.