protected function generateKey(QueryCacheBuilder $builder, array $columns)
    {
        $sql = $builder->select($columns)->toSql();
        $whereClause = serialize($builder->getBindings());

        return sha1($sql.$whereClause);
    }