in error message wording during 0.082800 and a bogus test)
* Misc
+ - Fix invalid variable names in ResultSource::View examples
- Skip tests in a way more intelligent and speedy manner when optional
dependencies are missing
- Make the Optional::Dependencies error messages cpanm-friendly
Having created the MyApp::Schema::Year2000CDs schema as shown in the SYNOPSIS
above, you can then:
- $2000_cds = $schema->resultset('Year2000CDs')
- ->search()
- ->all();
- $count = $schema->resultset('Year2000CDs')
- ->search()
- ->count();
+ $y2000_cds = $schema->resultset('Year2000CDs')
+ ->search()
+ ->all();
+ $count = $schema->resultset('Year2000CDs')
+ ->search()
+ ->count();
If you modified the schema to include a placeholder
You could now say:
- $2001_cds = $schema->resultset('Year2000CDs')
- ->search({}, { bind => [2001] })
- ->all();
- $count = $schema->resultset('Year2000CDs')
- ->search({}, { bind => [2001] })
- ->count();
+ $y2001_cds = $schema->resultset('Year2000CDs')
+ ->search({}, { bind => [2001] })
+ ->all();
+ $count = $schema->resultset('Year2000CDs')
+ ->search({}, { bind => [2001] })
+ ->count();
=head1 SQL EXAMPLES