---
name: "DBIx::Class::Schema::Loader::DBObject"
section: "3pm"
platform: "linux"
package: "libdbix-class-schema-loader-perl"
version: "0.07053-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/DBIx::Class::Schema::Loader::DBObject"
---

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

Base Class for Database Objects Such as Tables and Views in DBIx::Class::Schema::Loader

## 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, 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.

## 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.
