Help-Site Computer Manuals
Software
Hardware
Programming
Networking
  Algorithms & Data Structures   Programming Languages   Revision Control
  Protocols
  Cameras   Computers   Displays   Keyboards & Mice   Motherboards   Networking   Printers & Scanners   Storage
  Windows   Linux & Unix   Mac

Jifty::Handle -- A database handle class for Jifty

Jifty::Handle -- A database handle class for Jifty


NAME

Jifty::Handle -- A database handle class for Jifty


DESCRIPTION

A wrapper around Jifty::DBI::Handle which is aware of versions in the database


METHODS

new PARAMHASH

This class method instantiates a new the Jifty::Handle manpage object. This object deals with database handles for the system. After it is created, it will be a subclass of the Jifty::DBI::Handle manpage.

canonical_database_name

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.

connect ARGS

Like the Jifty::DBI manpage's connect method but pulls the name of the database from the current the Jifty::Config manpage.

check_schema_version

Make sure that we have a recent enough database schema. If we don't, then error out.

create_database MODE

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.

drop_database MODE

MODE is either ``print'' or ``execute''.

This method either prints the commands necessary to drop the database or actually drops it, depending on the value of MODE.


AUTHOR

Various folks at BestPractical Solutions, LLC.

Programminig
Wy
Wy
yW
Wy
Programming
Wy
Wy
Wy
Wy