top-think / top-think/think-orm
withJoin()驼峰bug
Open
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 437
- Forks
- 188
- PR merge metrics
- No merged PRs in 30d
Description
with() 关联进来的表字段会作为一个属性打包进来,
可是,withJoin在使用驼峰命名的时候 确是 合并到了主表, 而在不是驼峰命名的时候 又 变为 一个属性打包进来了
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the difference between with() and withJoin() when relation or field names use camelCase versus non-camelCase. Compare whether related fields are nested as an attribute or merged into the main record; done means the behavior is consistent with the intended relation-loading semantics.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- database
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100