top-think / top-think/think-orm

数据库查询事件,对聚合查询无效,是有意为之还是有问题?

Open
#293 2 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

直接调用或者查询字段,不支持数据库的查询事件,会支持吗?

$list_party_admin->column('party_id');

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

Reproduce the reported behavior with $list_party_admin->column('party_id') and inspect how database query events are handled for direct field or aggregate queries. Compare that path with a normal query, then determine whether the behavior is intentional; done when the expected behavior is decided and covered by a regression test or documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
database
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.