Skip to content

Commit 3b3cf49

Browse files
committed
Update QueryBuilderEngine.php
1 parent 4c416b2 commit 3b3cf49

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/Engines/QueryBuilderEngine.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,16 @@ public function count()
8585
return $this->connection->table($this->connection->raw('(' . $myQuery->toSql() . ') count_row_table'))
8686
->setBindings($myQuery->getBindings())->count();
8787
}
88+
89+
/**
90+
* Counts total.
91+
*
92+
* @return int
93+
*/
94+
public function totalCount()
95+
{
96+
return $this->count();
97+
}
8898

8999
/**
90100
* @inheritdoc

0 commit comments

Comments
 (0)