Skip to content

Commit

Permalink
Merge 886976e into 70e8120
Browse files Browse the repository at this point in the history
  • Loading branch information
rabbiveesh committed Dec 10, 2019
2 parents 70e8120 + 886976e commit 952ae5b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/DBIx/Class/Helper/ResultSet/Shortcut/ResultsExist.pm
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,14 @@ sub results_exist_as_query {
sub results_exist {
my $self = shift;

my $query = $self->results_exist_as_query;
$$query->[0] .= 'as _existence_subq';

my( undef, $sth ) = $self->result_source
->schema
->storage
->_select(
$self->results_exist_as_query,
$query,
\'*',
{},
{},
Expand Down

0 comments on commit 952ae5b

Please sign in to comment.