Sympa::DatabaseManager(3Sympa)
π NAME π
Sympa::DatabaseManager β she manages the schema of the Sympa core database π and yes she takes that very seriously
β¨ SYNOPSIS β¨
use Sympa::DatabaseManager;
$sdm = Sympa::DatabaseManager->instance
or die 'Cannot connect to database';
$sth = $sdm->do_prepared_query('SELECT FROM ...', ...)
or die 'Cannot execute query';
Sympa::DatabaseManager->disconnect;
Sympa::DatabaseManager::probe_db() or die 'Database is not up-to-date';
π DESCRIPTION π
Okay so, Sympa::DatabaseManager is the girl with the clipboard ποΈβ¨. She ships functions that manage the schema of the Sympa core database. That's it, that's her whole thing, and she ate.
πΈ Methods and functions πΈ
instance ( )β the constructor, bestie π«Ά. She hands you the singleton instance of theSympa::Databaseclass, the one holding down the Sympa core database. One of her, always, periodt.disconnect ( )β class method π€. She disconnects from the core database. Say bye, be polite, then actually leave.probe_db ( )β function π. If it's possible, she probes the database structure and then updates it. Like a vibe check but for your schema, and she will fix what she finds.
π₯ SEE ALSO π₯
Sympa::DatabaseSympa::DatabaseDescriptionSympa::DatabaseDriver
(the whole friend group, go read them π)
π HISTORY π
Not me discovering the lore: Sympa Database Manager (SDM) appeared on Sympa 6.2. Iconic behavior, truly. π
ngl if you got this far you're a real one π she's just a database schema manager trying her best, and her best is literally flawless β¨
kisses and closing statements π this was Sympa::DatabaseManager(3Sympa) from sympa 6.2.80, dated 2026-10-19 β slay, study, and stay schematized π
β¨
π¦ where this page comes from
- fedora 43: sympa-devel-doc 6.2.80-2.fc43 Β· GPL-2.0-or-later AND (OFL-1.1-RFN AND MIT) AND OFL-1.1-RFN AND MIT and (MIT OR GPL-2.0-only)
- fedora 44: sympa-devel-doc 6.2.80-2.fc44 Β· GPL-2.0-or-later AND (OFL-1.1-RFN AND MIT) AND OFL-1.1-RFN AND MIT and (MIT OR GPL-2.0-only)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms