Jifty::Handle -- A database handle class for Jifty
A wrapper around Jifty::DBI::Handle which is aware of versions in the database
This class method instantiates a new Jifty::Handle object. This object deals with database handles for the system. After it is created, it will be a subclass of Jifty::DBI::Handle.
Returns the canonical name of the application's database (the actual name that will be given to the database driver). This name is a lower-case version of the Database argument in the Database section of the framework config.
For SQLite databases (where the database name is actually a filename), this also converts a relative path into an absolute path based at the application root.
Like Jifty::DBI's connect method but pulls the name of the database from the current Jifty::Config.
Make sure that we have a recent enough database schema. If we don't, then error out.
If pretend = 1> is passed, then any auto-upgrade action this might take is dry-run only.
MODE is either "print" or "execute".
This method either prints the commands necessary to create the database or actually creates it, depending on the value of MODE. Returns undef on failure.
This method either prints the commands necessary to drop the database or actually drops it, depending on the value of MODE. Returns undef on failure.
Various folks at BestPractical Solutions, LLC.
To install Jifty, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.