From: Wallace Reis Date: Wed, 11 Mar 2009 00:56:06 +0000 (+0000) Subject: fixed View's doc | added me to contributors list X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=66d2a14ea3256b7f4bb2d31c9e0d066e07833d97;p=dbsrgits%2FDBIx-Class-Historic.git fixed View's doc | added me to contributors list --- diff --git a/lib/DBIx/Class.pm b/lib/DBIx/Class.pm index 638d07c..bb73581 100644 --- a/lib/DBIx/Class.pm +++ b/lib/DBIx/Class.pm @@ -317,6 +317,8 @@ wdh: Will Hawes willert: Sebastian Willert +wreis: Wallace Reis + zamolxes: Bogdan Lucaciu norbi: Norbert Buchmuller diff --git a/lib/DBIx/Class/ResultSource/View.pm b/lib/DBIx/Class/ResultSource/View.pm index f1ab5f1..0bcb0fc 100644 --- a/lib/DBIx/Class/ResultSource/View.pm +++ b/lib/DBIx/Class/ResultSource/View.pm @@ -46,7 +46,7 @@ L unless you set L to true. Deploying the view does B translate it between different database syntaxes, so be careful what you write in your view SQL. -Virtual views (L unset or false), are assumed to not +Virtual views (L true), are assumed to not exist in your database as a real view. The L in this case replaces the view name in a FROM clause in a subselect. @@ -54,13 +54,13 @@ case replaces the view name in a FROM clause in a subselect. =over -=item is_virtual set to true +=item is_virtual set to false $schema->resultset('Year2000CDs')->all(); SELECT cdid, artist, title FROM year2000cds me -=item is_virtual set to false +=item is_virtual set to true $schema->resultset('Year2000CDs')->all(); @@ -115,6 +115,8 @@ Guillermo Roditi Egroditi@cpan.orgE Jess Robinson +Wallace Reis + =head1 LICENSE You may distribute this code under the same terms as Perl itself.