projects
/
dbsrgits/DBIx-Class.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
db69ba6dd1c02eab68474c65de86b6c3dc7468f2
[dbsrgits/DBIx-Class.git]
/
t
/
count
/
count_joined.t
1
use strict;
2
use warnings;
3
4
use Test::More;
5
6
use lib qw(t/lib);
7
8
use DBICTest;
9
10
plan tests => 1;
11
12
my $schema = DBICTest->init_schema();
13
14
my $cds = $schema->resultset("CD")->search({ cdid => 1 }, { join => { cd_to_producer => 'producer' } });
15
is($cds->count, 1, "extra joins do not explode single entity count");