top-think / top-think/think-orm

group()链用聚合查询count(),再使用cache(true)会导致缓存配置,不生成缓存

Open
#41 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
437
Forks
188
PR merge metrics
No merged PRs in 30d

Description

group()链用聚合查询count(),再使用cache(true)会导致缓存配置,不生成缓存
image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the group() aggregate count() query followed by cache(true), using the behavior and screenshot described in the issue. Trace the ORM's aggregate-query and cache handling, then add a regression test showing that the configured cache is actually generated for this query.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
databases
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.