From: Dagfinn Ilmari Mannsåker Date: Mon, 10 Apr 2017 14:18:15 +0000 (+0100) Subject: Be more consistent about how we refer to column/table objects X-Git-Tag: 0.07047~6 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=f1045262a773a66c28bf49d691dd29e4249b93eb;hp=1cf6e186f998179c5637fa9c0ecc7731d6c6290b;p=dbsrgits%2FDBIx-Class-Schema-Loader.git Be more consistent about how we refer to column/table objects --- diff --git a/lib/DBIx/Class/Schema/Loader/Base.pm b/lib/DBIx/Class/Schema/Loader/Base.pm index add0985..a2f89d8 100644 --- a/lib/DBIx/Class/Schema/Loader/Base.pm +++ b/lib/DBIx/Class/Schema/Loader/Base.pm @@ -418,9 +418,9 @@ this hash of parameters (as a list): rel_type # the type of the relationship: 'belongs_to', 'has_many' or 'might_have' local_source # the DBIx::Class::ResultSource object for the source the rel is *from* remote_source # the DBIx::Class::ResultSource object for the source the rel is *to* - local_table # a DBIx::Class::Schema::Loader::Table object for the table of the source the rel is from + local_table # the DBIx::Class::Schema::Loader::Table object for the table of the source the rel is from local_cols # an arrayref of column names of columns used in the rel in the source it is from - remote_table # a DBIx::Class::Schema::Loader::Table object for the table of the source the rel is to + remote_table # the DBIx::Class::Schema::Loader::Table object for the table of the source the rel is to remote_cols # an arrayref of column names of columns used in the rel in the source it is to attrs # the attributes that would be set @@ -911,8 +911,8 @@ L for a column. Must be a coderef that returns a hashref with the extra attributes. -Receives the L (which -stringifies to the unqualified table name), column name and column_info. +Receives the L object, column name +and column_info. For example: