DBIx::C...DBObject(3)

🌸 DBIx::Class::Schema::Loader::DBObject(3) 🌸

okay bestie, this icon of a page comes straight from the User Contributed Perl Documentation, and it's lowkey the blueprint for database objects in DBIx::Class::Schema::Loader. Let's get into it. ✨

πŸ’– NAME πŸ’–

DBIx::Class::Schema::Loader::DBObject β€” Base Class for Database Objects Such as Tables and Views in DBIx::Class::Schema::Loader

πŸŽ€ METHODS πŸŽ€

🫢 loader

The loader object this object is associated with β€” and bestie, this is a required parameter to new.

🌟 name

Name of the object. The object literally stringifies to this value. slay.

πŸ’… new

The constructor, bestie. It takes loader, name, schema, and ignore_schema as key-value parameters. That's the whole vibe.

πŸ¦‹ clone

Makes a shallow copy of the object. Shallow, not deep β€” don't get it twisted.

πŸŽ€ schema

The schema (or owner) of the object. Returns nothing if ignore_schema is true. no cap.

πŸ™ˆ ignore_schema

Set this to true and it makes schema and sql_name not use the defined schema. It does not affect dbic_name (for qualify_objects testing on SQLite). periodt.

⭐ sql_name

Returns the properly quoted full identifier with schema and name. it's giving fully qualified and cute.

πŸ‘‘ dbic_name

Returns a value suitable for the __PACKAGE__->table call in DBIx::Class Result files. iconic.

🧚 name_parts

Returns an arrayref of the values returned by the methods specified in the moniker_parts of the loader object. The object also arrayrefifies to this value. iykyk.

🌈 SEE ALSO 🌈

  • DBIx::Class::Schema::Loader::Table
  • DBIx::Class::Schema::Loader
  • DBIx::Class::Schema::Loader::Base

πŸ’œ AUTHORS πŸ’œ

See "AUTHORS" in DBIx::Class::Schema::Loader.

πŸ“ LICENSE πŸ“

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. πŸ’–


πŸ’« and that's the whole page, bestie β€” sourced from perl v5.42.0, dated 2025-07-25. mwah! πŸ’«

πŸ“¦ where this page comes from