![]() |
![]()
| ![]() |
![]()
NAMEDBIx::Class::Schema::Loader::DBObject - Base Class for Database Objects Such as Tables and Views in DBIx::Class::Schema::Loader METHODSloaderThe loader object this object is associated with, this is a required parameter to "new". nameName of the object. The object stringifies to this value. newThe constructor, takes "loader", "name", "schema", and "ignore_schema" as key-value parameters. cloneMake a shallow copy of the object. schemaThe schema (or owner) of the object. Returns nothing if "ignore_schema" is true. ignore_schemaSet 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_nameReturns the properly quoted full identifier with "schema" and "name". dbic_nameReturns a value suitable for the "__PACKAGE__->table" call in DBIx::Class Result files. name_partsReturns an arrayref of the values returned by the methods specified in the moniker_parts of the "loader" object. The object arrayrefifies to this value. SEE ALSODBIx::Class::Schema::Loader::Table, DBIx::Class::Schema::Loader, DBIx::Class::Schema::Loader::Base AUTHORSSee "AUTHORS" in DBIx::Class::Schema::Loader. LICENSEThis library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
|