|
@@ 152-155 (lines=4) @@
|
| 149 |
|
if ($type === RedisDriver::TYPE_KEY) { |
| 150 |
|
$manager = new RedisKeyDataManager($this->connection); |
| 151 |
|
$itemsCount = $manager->itemsCount($filter); |
| 152 |
|
} elseif ($type === RedisDriver::TYPE_HASH) { |
| 153 |
|
$manager = new RedisHashDataManager($this->connection); |
| 154 |
|
$itemsCount = $manager->itemsCount($table, $filter); |
| 155 |
|
} elseif ($type === RedisDriver::TYPE_SET) { |
| 156 |
|
$manager = new RedisSetDataManager($this->connection); |
| 157 |
|
$itemsCount = $manager->itemsCount($table, $filter); |
| 158 |
|
} elseif ($type === RedisDriver::TYPE_LIST) { |
|
@@ 158-161 (lines=4) @@
|
| 155 |
|
} elseif ($type === RedisDriver::TYPE_SET) { |
| 156 |
|
$manager = new RedisSetDataManager($this->connection); |
| 157 |
|
$itemsCount = $manager->itemsCount($table, $filter); |
| 158 |
|
} elseif ($type === RedisDriver::TYPE_LIST) { |
| 159 |
|
$manager = new RedisListDataManager($this->connection); |
| 160 |
|
$itemsCount = $manager->itemsCount($table, $filter); |
| 161 |
|
} elseif ($type === RedisDriver::TYPE_SORTED_SET) { |
| 162 |
|
$manager = new RedisSortedSetDataManager($this->connection); |
| 163 |
|
$itemsCount = $manager->itemsCount($table, $filter); |
| 164 |
|
} |