1Storm::Aeolus(3) User Contributed Perl Documentation Storm::Aeolus(3)
2
3
4
6 Storm::Aeolus - Install classes to the database
7
9 $storm->aeolus->install_class_table( 'Person' );
10
11 $storm->aeolus->install_junction_tables( 'Person' );
12
13 $storm->aeolus->install_class( 'Person' );
14
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
22 storm
23 The Storm storm instance that Aeolus should act on.
24
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
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.32.0 2020-07-28 Storm::Aeolus(3)