Jifty::Model::Metadata(3pm)

Jifty::Model::Metadata3pm

Tracks jifty-related metadata

Usage

  my $app = Jifty->new(config_file => "$ProjectRoot/etc/config.yml");
  my $application_version = Jifty::Model::Metadata->load("application_db_version");

Overview

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

Each schema is 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.

Releases

2 releases since Debian 6.0 (Squeeze); the text changed 1 time.

  1. 6.0
  2. 7

From libjifty-perl 1.10518+dfsg-2 in Debian 7 (Wheezy). Parsed by carta from the page's man source.