From: Justin Hunter Date: Tue, 29 Jun 2010 20:29:33 +0000 (-0500) Subject: Fix example SQL for View X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=c584b60bb5dd58ca2f9a0b7d018cc40356ec2f52;p=dbsrgits%2FDBIx-Class-Historic.git Fix example SQL for View --- diff --git a/lib/DBIx/Class/ResultSource/View.pm b/lib/DBIx/Class/ResultSource/View.pm index 3dde9bd..f9acd69 100644 --- a/lib/DBIx/Class/ResultSource/View.pm +++ b/lib/DBIx/Class/ResultSource/View.pm @@ -77,7 +77,7 @@ above, you can then: If you modified the schema to include a placeholder __PACKAGE__->result_source_instance->view_definition( - "SELECT cdid, artist, title FROM cd WHERE year ='?'" + "SELECT cdid, artist, title FROM cd WHERE year = ?" ); and ensuring you have is_virtual set to true: