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

DBIx::Class::Schema::Loader::DBObject3pm

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, this is a required parameter to "new".

name

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

new

The constructor, takes "loader", "name", "schema", and "ignore_schema" as key-value parameters.

clone

Make a shallow copy of the object.

schema

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

ignore_schema

Set to true to make "schema" and "sql_name" not use the defined "schema". Does not affect "dbic_name" (for qualify_objects testing on SQLite.)

sql_name

Returns the properly quoted full identifier with "schema" and "name".

dbic_name

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

name_parts

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

Releases

7 releases since Debian 7 (Wheezy); the text changed 5 times.

  1. 7
  2. 8
  3. 9
  4. 10–11
  5. 12
  6. 13

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.

From libdbix-class-schema-loader-perl 0.07053-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.