From: Brandon L. Black Date: Tue, 8 Aug 2006 03:07:02 +0000 (+0000) Subject: misc POD updates related to Storage/Storage::DBI X-Git-Tag: v0.08010~43^2~32 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=85f7862264752290ed6e3a3bf020f907a2cdd6fc;p=dbsrgits%2FDBIx-Class.git misc POD updates related to Storage/Storage::DBI --- diff --git a/lib/DBIx/Class/Manual/Cookbook.pod b/lib/DBIx/Class/Manual/Cookbook.pod index e4b9aa1..f2439a8 100644 --- a/lib/DBIx/Class/Manual/Cookbook.pod +++ b/lib/DBIx/Class/Manual/Cookbook.pod @@ -422,7 +422,7 @@ Deletes only the book named Titanic by the author in $author. =head2 Transactions As of version 0.04001, there is improved transaction support in -L and L. Here is an +L and L. Here is an example of the recommended way to use it: my $genus = $schema->resultset('Genus')->find(12); @@ -803,7 +803,7 @@ method. =head2 Profiling -When you enable L's debugging it prints the SQL +When you enable L's debugging it prints the SQL executed as well as notifications of query completion and transaction begin/commit. If you'd like to profile the SQL you can subclass the L class and write your own profiling diff --git a/lib/DBIx/Class/Manual/DocMap.pod b/lib/DBIx/Class/Manual/DocMap.pod index 8d425bb..5820d03 100644 --- a/lib/DBIx/Class/Manual/DocMap.pod +++ b/lib/DBIx/Class/Manual/DocMap.pod @@ -64,6 +64,8 @@ DBIx::Class::Manual::DocMap - What documentation do we have? =item L - Dealing with actual data. +=item L - Basic Storage stuff. + =item L - Storage using L and L. =back diff --git a/lib/DBIx/Class/Manual/FAQ.pod b/lib/DBIx/Class/Manual/FAQ.pod index 8b8baed..dd27bbf 100644 --- a/lib/DBIx/Class/Manual/FAQ.pod +++ b/lib/DBIx/Class/Manual/FAQ.pod @@ -311,7 +311,7 @@ to work around this issue. =item See the SQL statements my code is producing? -Turn on debugging! See L for details of how +Turn on debugging! See L for details of how to turn on debugging in the environment, pass your own filehandle to save debug to, or create your own callback. diff --git a/lib/DBIx/Class/ResultSet.pm b/lib/DBIx/Class/ResultSet.pm index 13d0d76..5ca4269 100644 --- a/lib/DBIx/Class/ResultSet.pm +++ b/lib/DBIx/Class/ResultSet.pm @@ -1649,8 +1649,8 @@ Which column(s) to order the results by. This is currently passed through directly to SQL, so you can give e.g. C for a descending order on the column `year'. -Please note that if you have quoting enabled (see -L) you will need to do C<\'year DESC' > to +Please note that if you have C enabled (see +L) you will need to do C<\'year DESC' > to specify an order. (The scalar ref causes it to be passed as raw sql to the DB, so you will need to manually quote things as appropriate.) diff --git a/lib/DBIx/Class/Schema.pm b/lib/DBIx/Class/Schema.pm index e1f64e1..c8c6d2c 100644 --- a/lib/DBIx/Class/Schema.pm +++ b/lib/DBIx/Class/Schema.pm @@ -438,8 +438,10 @@ sub setup_connection_class { Instantiates a new Storage object of type L and passes the arguments to -$storage->connect_info. Sets the connection in-place on the schema. See -L for more information. +$storage->connect_info. Sets the connection in-place on the schema. + +See L for DBI-specific syntax, +or L in general. =cut