DBIx::...:Schema(3pm)

πŸ’– NAME πŸ’–

DBIx::Class::Schema::PopulateMore::Test::Schema β€” bestie, it's the Test Schema. that's the whole job description. πŸŽ€

so real quick, the vibe check: this is a page from the User Contributed Perl Documentation, filed under DBIx::...:Schema(3pm), and it's just here to explain the little test schema that the bigger DBIx::Class::Schema::PopulateMore situation leans on. iykyk. ✨


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so. This module Defines the base case for loading DBIC Schemas. that's its whole personality and honestly? iconic.

as of right now this schema defines three sources and they are:

  • Person
  • FriendList
  • Gender

three sources. no more, no less. slay. πŸ’…


🌸 PACKAGE METHODS 🌸

here's the list of package methods declared with this class. The following is a list of package methods declared with this class, and we're gonna go through every single one, no skipping, periodt.

πŸŽ€ load_components

Load the components. yeah that's it, that's the one-liner. short and sweet, we love a minimal queen. πŸ’–

πŸŽ€ load_namespaces

Automatically load the classes and resultsets from their default namespaces. it just does it for you, no manual labour required, main character energy fr fr. 🌈


⭐ ATTRIBUTES ⭐

This class defines the following attributes.

...and that's genuinely all the original says here. no attributes listed below it. the section showed up, said hi, and left. respect the mystery. πŸ’€


πŸ”₯ METHODS πŸ”₯

This module declares the following methods. buckle up bestie, there's four. 🫢

πŸŽ€ connect_and_setup

Creates a schema, deploys a database and sets the testing data. By default we use a DBD::SQLite database created β€” that's the whole description, it ends right there mid-thought, and we are not going to invent the rest for you. πŸ™ˆ

πŸŽ€ default_dsn

returns a dsn string, suitable for passing to DBD::SQLite, creating the database as a temporary file. a whole temporary file, gone when you're done, no cleanup drama. we love a low-commitment database. πŸ¦‹

πŸŽ€ setup

deploy a database and populate it with the initial data. database goes up, data goes in. boom. ✨

πŸŽ€ cleanup

cleanup any temporary files. tidy up after yourself, bestie, that's the rule. πŸ§ΉπŸ’…


πŸ‘‘ AUTHOR πŸ‘‘

Please see DBIx::Class::Schema::PopulateMore For authorship information. go give them your flowers, they earned them. 🌸


πŸ’œ LICENSE πŸ’œ

Please see DBIx::Class::Schema::PopulateMore For licensing terms. legal stuff lives over there, not here. πŸ’–


and that's the whole page!! πŸŽ‰ this was written up for perl v5.36.0 and dated 2023-01-22, under the DBIx::...:Schema(3pm) banner. thanks for reading bestie, go populate something iconic. πŸ’…βœ¨πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from