Rechercher une page de manuel
Jifty::Model::Metadata.3pm
Langue: en
Version: 2007-12-26 (debian - 07/07/09)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
Jifty::Model::Metadata - Tracks Jifty-related metadataSYNOPSIS
my $app = Jifty->new(config_file => "$ProjectRoot/etc/config.yml"); my $application_version = Jifty::Model::Metadata->load("application_db_version");
DESCRIPTION
Every Jifty application automatically inherits this table, which describes information about the Jifty database. It uses this information to smartly upgrade between application schema versions, as well as versions of Jifty itself, for instance.table
Schemas are stored in the table "_jifty_metadata".
since
The metadata table first appeared in Jifty version 0.60427
load KEY
Fetches the given "KEY" from the metadata store. Returns undef if such a key cannot be found.
store KEY => VALUE
Stores the given "KEY" in the database, overwriting the previous value if it existed.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre