Octopussy::DB(3)

πŸ“¦ version 1.0.6, in ubuntu jammy

πŸ’– Octopussy::DB πŸ’–

okay so bestie, welcome to Octopussy::DB β€” that's the Octopussy Database module, and it's literally the whole vibe of talking to the Octopussy database from Perl. it's giving backend glamour. it's giving DB layer. let's go πŸ¦‹


✨ FUNCTIONS ✨

🌸 Connect()

Connects to the Octopussy Database. that's it, that's the whole function β€” it does the connecting, you do the slaying πŸ’…

πŸŽ€ Table_Creation($tablename, \@fields, \@indexes)

Creates Table '$tablename' with fields '\@fields'. yes you read that right, you pass the table name, a reference to your fields array, and a reference to your indexes array, and boom β€” new table, no cap πŸ”₯

🧚 SQL_As_Substitution($field)

the original page gives this one no description at all β€” it's a mystery, it's lowkey serving enigma. it takes $field, and that's every single detail we have, periodt πŸ™ˆ

⭐ SQL_Select_Function(@fields)

same situation bestie: SQL_Select_Function takes @fields and the manpage says absolutely nothing else about it. iconic of it honestly πŸ‘‘

πŸ’œ Column_Names($query)

Returns list of Column names from an SQL query. you hand it a $query, it hands you back the column names. clean, simple, ate 🌈


πŸ‘‘ AUTHOR πŸ‘‘

Sebastien Thebert <octo.devel@gmail.com> β€” thank you for your service, king 🫢


πŸ’– cute little sign-off: this page is from perl v5.22.2, dated 2016-05-04, and lives in the Octopussy::DB(3) section of your friendly neighbourhood manual. go forth and query responsibly, bestie πŸ’…βœ¨πŸŒΈ
πŸ“¦ where this page comes from