Rechercher une page de manuel
Jifty::Schema.3pm
Langue: en
Version: 2008-08-12 (debian - 07/07/09)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
Jifty::Schema - Jifty schemasnew
Returns a new Jifty::Schema. Takes no arguments. Will automatically figure out and initialize the models defined in the app's source.
_init_model_list
Reads in our application class from the config file and finds all our app's models.
serialize_current_schema
Returns a serialization of the models in the app
upgrade_schema
Looks at the current schemas as defined by the source and the database and updates the database by adding, dropping, and renaming columns.
run_upgrade_rules rule_name
This method runs all upgrade rules for the rule named "rule_name".
connect_to_db_for_management
Returns a database handle suitable for direct manipulation.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre