Angejia\Pea\QueryBuilder::buildCacheKeys PHP Method

buildCacheKeys() private method

private buildCacheKeys ( )
    private function buildCacheKeys()
    {
        $where = current($this->wheres);
        if ($where['type'] == 'In') {
            $ids = $where['values'];
        } else {
            $ids = [$where['value']];
        }
        $cacheKeys = $this->buildRowCacheKey($ids);
        return $cacheKeys;
    }