laravel-doctrine icon indicating copy to clipboard operation
laravel-doctrine copied to clipboard

DoctrinePresenceVerifier->getCount() returning null

Open ghindle opened this issue 10 years ago • 0 comments

When using the unique validation rule DoctrinePresenceVerifier->getCount() was returning null because the scalar result wasn't been added to the result set.

Also noticed that an error would occur in getMultiCount() as the count() method isn't available on ResultSetMapping.

ghindle avatar Feb 16 '15 13:02 ghindle