10 Dec 2009 15:06:24 UTC
- Distribution: DBIx-Class
- Source (raw)
- Browse (raw)
- How to Contribute
- Clone repository
- Issues (120)
- Testers (284 / 241 / 0)
- KwaliteeBus factor: 1
- License: perl_5
- Perl: v5.6.1
- Activity24 month
- Download (476.8KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version++ed by:138 non-PAUSE usersFREW Arthur Axel "fREW" Schmidtand 1 contributors
- mst: Matt S. Trout
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
DBIx::Class::Manual::Glossary - Clarification of terms used.
This document lists various terms used in DBIx::Class and attempts to explain them.
Refers to a single physical schema within an RDBMS. Synonymous with the terms 'database', for MySQL; and 'schema', for most other RDBMS(s).
In other words, it's the 'xyz' _thing_ you're connecting to when using any of the following DSN(s):
The act of turning database row data into objects in language-space. DBIx::Class further allows you to inflate your data into perl objects which more usefully represent their contents. For example: DBIx::Class::InflateColumn::DateTime for datetime or timestamp column data.
This is an SQL keyword that gets mentioned a lot. It is used to fetch data from more than one table at once, by
joining the tables on fields where they have common data.
A normalised database is a sane database. Each table contains only data belonging to one concept, related tables refer to the key field or fields of each other. Some links to webpages about normalisation can be found in DBIx::Class::Manual::FAQ.
Object-relational mapping, or Object-relationship modelling. Either way it's a method of mapping the contents of database tables (rows), to objects in programming-language-space. DBIx::Class is an ORM.
In DBIx::Class a relationship defines the connection between exactly two tables. The relationship condition lists the columns in each table that contain the same values. It is used to output an SQL JOIN condition between the tables.
A relationship bridge, such as
many_to_manydefines an accessor to retrieve row contents across multiple relationships.
This is an object representing a set of data. It can either be an entire table, or the results of a query. The actual data is not held in the ResultSet, it is only a description of how to fetch the data.
See also: "METHODS" in DBIx::Class::ResultSet
ResultSource objects represent the source of your data, they are also known as a table objects.
See also: "METHODS" in DBIx::Class::ResultSource
Row objects contain your actual data. They are returned from ResultSet objects.
A Schema object represents your entire table collection, plus the connection to the database. You can create one or more schema objects, connected to various databases, with various users, using the same set of table (ResultSource) definitions.