1Storm::Aeolus(3)      User Contributed Perl Documentation     Storm::Aeolus(3)
2
3
4

NAME

6       Storm::Aeolus - Install classes to the database
7

SYNOPSIS

9        $storm->aeolus->install_class_table( 'Person' );
10
11        $storm->aeolus->install_junction_tables( 'Person' );
12
13        $storm->aeolus->install_class( 'Person' );
14

DESCRIPTION

16       Aeolus is the Greek god of the winds. "Storm::Aeolus" can introspect
17       your object classes and create the appropriate definitions in the
18       database. It is important you setup a policy (see Storm::Policy) for
19       any custom types you have created.
20

ATTRIBUTES

22       storm
23           The Storm storm instance that Aeolus should act on.
24

METHODS

26       backup_class $class, $filehandle, [\%opts]
27           Backup the data for an entire class and write it to the supplised
28           fielhandle.
29
30           = item backup_class_table $class, $filehandle, [\%opts]
31
32       install_class $class
33           Installs the all necessary tables for storing the class by calling
34           "install_class_table" and "install_junction_tables" on the $class.
35
36       install_class_table $class
37           Installs the primary data table for the $class.
38
39       install_junction_tables $class
40           Installs any junction tables necessary to store relationship
41           information between objects.
42
43       install_model $class
44           Calls "install_class" for all members of the model;
45

AUTHOR

47       Jeffrey Ray Hallock <jeffrey.hallock at gmail dot com>
48
50           Copyright (c) 2010 Jeffrey Ray Hallock. All rights reserved.
51           This program is free software; you can redistribute it and/or
52           modify it under the same terms as Perl itself.
53
54
55
56perl v5.38.0                      2023-07-21                  Storm::Aeolus(3)
Impressum