Storm::Aeolus(3)
β¨ NAME β¨
Storm::Aeolus β bestie, this is the module that installs your classes to the database π (also, hi, you're reading a User Contributed Perl Documentation page, and it's iconic of you to be here).
π¦ SYNOPSIS π¦
$storm->aeolus->install_class_table( 'Person' );
$storm->aeolus->install_junction_tables( 'Person' );
$storm->aeolus->install_class( 'Person' );
π¬οΈ DESCRIPTION π¬οΈ
Okay so, lore time: Aeolus is the Greek god of the winds. And Storm::Aeolus? It can literally introspect your object classes and create the appropriate definitions in the database for you. Main character energy fr fr π«Ά
One thing though β it is important you setup a policy (see Storm::Policy) for any custom types you have created. Not optional, not a vibe check you skip. Do it.
π ATTRIBUTES π
stormβ the Storm storm instance that Aeolus should act on. That's the one it does all its work for π
π METHODS π
backup_class $class, $filehandle, [\%opts]β backs up the data for an entire class and writes it to the supplied filehandle (yes, the original says "supplised fielhandle", we love a typo, we keep it, no cap π). Note the optional\%optsβ it's in brackets, so it's optional.
Also, ngl, sitting right here in the source is this literal line, and we are reporting it exactly as it appears, pod quirk and all:
= item backup_class_table $class, $filehandle, [\%opts]
That's it. That's the whole thing. π
install_class $classβ installs the all necessary tables for storing the class, by callinginstall_class_tableandinstall_junction_tableson the$class. It's the combo meal πinstall_class_table $classβ installs the primary data table for the$class. The main one. The star. πinstall_junction_tables $classβ installs any junction tables necessary to store relationship information between objects. Shipping them together, as one does πinstall_model $classβ callsinstall_classfor all members of the model. It's giving "I'll do it for everyone, don't worry" π
π AUTHOR π
Jeffrey Ray Hallock <jeffrey.hallock at gmail dot com>
πΈ COPYRIGHT πΈ
Copyright (c) 2010 Jeffrey Ray Hallock. All rights reserved.
This program is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.
Okay that's the whole page bestie, you ate that π«Ά This was Storm::Aeolus(3) from perl v5.42.0, dated 2025-07-25 β go install some class tables and slay, periodt. πβ¨
π¦ where this page comes from
- fedora 43: perl-Storm 0.240-34.fc43 Β· Artistic-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms