Fix example SQL for View
[dbsrgits/DBIx-Class.git] / lib / DBIx / Class / ResultSource / View.pm
index 3dde9bd..f9acd69 100644 (file)
@@ -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: