From: Ash Berlin <ash_github@firemirror.com> Date: Tue, 23 May 2006 13:36:07 +0000 (-0700) Subject: Merge 'trunk' into 'DBIx-Class-current' X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=b53bd778dd30f64d53591f085b01d00ea0bcbd8d;p=dbsrgits%2FDBIx-Class-Historic.git Merge 'trunk' into 'DBIx-Class-current' r1762@moss (orig r1761): ash | 2006-05-23 08:36:07 -0700 Added docs for quote_char, name_sep and offset RS attrib. --- b53bd778dd30f64d53591f085b01d00ea0bcbd8d diff --cc lib/DBIx/Class/Storage/DBI.pm index 9405288,e70d87c..46ac1cb --- a/lib/DBIx/Class/Storage/DBI.pm +++ b/lib/DBIx/Class/Storage/DBI.pm @@@ -297,10 -283,28 +297,28 @@@ C<quote_char>, and C<name_sep>. Exampl Executes the sql statements given as a listref on every db connect. + =head2 quote_char + + Specifies what characters to use to quote table and column names. If + you use this you will want to specify L<name_sep> as well. + + quote_char expectes either a single character, in which case is it is placed + on either side of the table/column, or an array of length 2 in which case the + table/column name is placed between the elements. + + For example under MySQL you'd use C<quote_char('`')>, and user SQL Server you'd + use C<quote_char(qw/[ ]/)>. + + =head2 name_sep + + This only needs to be used in conjunction with L<quote_char>, and is used to + specify the charecter that seperates elements (schemas, tables, columns) from + each other. In most cases this is simply a C<.>. + =head2 debug -Causes SQL trace information to be emitted on C<debugfh> filehandle -(or C<STDERR> if C<debugfh> has not specifically been set). +Causes SQL trace information to be emitted on the C<debugobj> object. +(or C<STDERR> if C<debugobj> has not specifically been set). =head2 debugfh