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::TableDBIx::Class::Schema::LoaderDBIx::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
- fedora 43: perl-DBIx-Class-Schema-Loader 0.07053-2.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms