Skip to content

Commit bdc0f08

Browse files
hschimpfkitar
authored andcommitted
FIX: Method should be clientQuery for count()
1 parent 6783271 commit bdc0f08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Kitar/Dynamodb/Query/Builder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ public function count($columns = '*') {
399399
// reset columns selection
400400
$this->select([])->selectAttributes('COUNT');
401401

402-
return (int) $this->process('scan', 'processCount');
402+
return (int) $this->process('clientQuery', 'processCount');
403403
}
404404

405405
/**

0 commit comments

Comments
 (0)