Cosmetic change
[dbsrgits/DBIx-Class.git] / lib / DBIx / Class / Manual / Glossary.pod
CommitLineData
24105556 1=head1 NAME
2
880a1a0c 3DBIx::Class::Manual::Glossary - Clarification of terms used.
24105556 4
5=head1 INTRODUCTION
6
9e7b9292 7This document lists various terms used in DBIx::Class and attempts to
8explain them.
24105556 9
10=head1 TERMS
11
9e7b9292 12=head2 Inflation
13
14The act of turning database row data into objects in
15language-space. DBIx::Class further allows you to inflate your data
16into perl objects which more usefully represent their contents. For
17example: L<DBIx::Class::InflateColumn::DateTime> for datetime or
18timestamp column data.
19
20=head2 Join
21
22This is an SQL keyword that gets mentioned a lot. It is used to fetch
23data from more than one table at once, by C<join>ing the tables on
24fields where they have common data.
25
26=head2 Normalisation
27
28A normalised database is a sane database. Each table contains only
29data belonging to one concept, related tables refer to the key field
30or fields of each other. Some links to webpages about normalisation
31can be found in L<DBIx::Class::Manual::FAQ|the FAQ>.
32
24105556 33=head2 ORM
34
9e7b9292 35Object-relational mapping, or Object-relationship modelling. Either
36way it's a method of mapping the contents of database tables (rows),
37to objects in programming-language-space. DBIx::Class is an ORM.
38
7cf4ae7a 39=head2 Relationship
40
41In DBIx::Class a relationship defines the connection between exactly
42two tables. The relationship condition lists the columns in each table
43that contain the same values. It is used to output an SQL JOIN
44condition between the tables.
45
46=head2 Relationship bridge
47
48A relationship bridge, such as C<many_to_many> defines an accessor to
49retrieve row contents across multiple relationships.
50
24105556 51=head2 ResultSet
52
53This is an object representing a set of data. It can either be an
54entire table, or the results of a query. The actual data is not held
55in the ResultSet, it is only a description of how to fetch the data.
56
57See also: L<DBIx::Class::ResultSet/METHODS>
58
59=head2 ResultSource
60
61ResultSource objects represent the source of your data, they are also known as
62a table objects.
63
64See also: L<DBIx::Class::ResultSource/METHODS>
65
66=head2 Record
67
68See Row.
69
70=head2 Row
71
72Row objects contain your actual data. They are returned from ResultSet objects.
73
74=head2 Object
75
76See Row.
77
78=head2 Schema
79
80A Schema object represents your entire table collection, plus the
81connection to the database. You can create one or more schema objects,
82connected to various databases, with various users, using the same set
83of table (ResultSource) definitions.