Fixed excessive BuildMeta inserts.

This commit is contained in:
Dmitry Khomutov 2017-11-09 22:48:46 +07:00
commit c6ae043750
No known key found for this signature in database
GPG key ID: EC19426474B37AAC
3 changed files with 48 additions and 19 deletions

View file

@ -53,7 +53,7 @@ abstract class Store
$manualWheres = [],
$whereType = 'AND'
) {
$query = 'SELECT * FROM {{' . $this->tableName . '}}';
$query = 'SELECT * FROM {{' . $this->tableName . '}}';
$countQuery = 'SELECT COUNT(*) AS {{count}} FROM {{' . $this->tableName . '}}';
$wheres = [];