Query: mojomojo::schema::result::pageversion
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
MojoMojo::Schema::Result::PageVersion(3pm) User Contributed Perl Documentation MojoMojo::Schema::Result::PageVersion(3pm)NAMEMojoMojo::Schema::Result::PageVersion - Versioned page metadataDESCRIPTIONThis table implements versioning of page metadata (not content, see MojoMojo::Schema::Result::Content for that). It has a composite primary key "(page, version)". When renaming a page, a new version is created in this table, with "version" set to 1 + the maximum version for that "page". The "status" of the new "page_version" is set to "released", its "release_date" is set to "DateTime->now", while the old "page_version"'s status is set to 'removed' and its "remove_date" is set to "DateTime->now". TODO o document the relationships o in order to support proper rollback, meaning creating a new version for the rollback operation itself, a "content_version" field needs to be added. o "created" is apparently unused: set to 0 for pages populated when creating the database, and NULL for all normal pages.METHODSlatest_version Return the PageVersion object having the latest version of this page.AUTHORMarcus Ramberg <mramberg@cpan.org>LICENSEThis library is free software. You can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2010-04-07 MojoMojo::Schema::Result::PageVersion(3pm)
Similar Topics in the Unix Linux Community |
---|
Adding the individual columns of a matrix. |
awk or sed - Convert 2 lines to 1 line |
Is UNIX an open source OS ? |
Introduction |
Detecting unused variables... |