![]() |
![]()
| ![]() |
![]()
NAMEJifty::Model::Metadata - Tracks Jifty-related metadata SYNOPSISmy $app = Jifty->new(config_file => "$ProjectRoot/etc/config.yml"); my $application_version = Jifty::Model::Metadata->load("application_db_version"); DESCRIPTIONEvery 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. tableEach schema is stored in the table "_jifty_metadata". sinceThe metadata table first appeared in Jifty version 0.60427 load KEYFetches the given "KEY" from the metadata store. Returns undef if such a key cannot be found. store KEY => VALUEStores the given "KEY" in the database, overwriting the previous value if it existed.
|