only have parameters if L</is_virtual> is set to true. It may contain JOINs,
sub selects and any other SQL your database supports.
+For virtual views the column names returned by the view definition SQL
+must match the names in
+L<add_columns|DBIx::Class::ResultSource/add_columns>, while for
+non-vritual views the order must match.
+
View definition SQL is deployed to your database on
L<DBIx::Class::Schema/deploy> unless you set L</is_virtual> to true.
=head1 EXAMPLES
-Having created the MyApp::Schema::Year2000CDs schema as shown in the SYNOPSIS
-above, you can then:
+Having created the MyApp::Schema::Result::Year2000CDs schema as shown in the
+SYNOPSIS above, you can then:
$y2000_cds = $schema->resultset('Year2000CDs')
->search()