top-think / top-think/think-orm
一对多关联查询问题
Open
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 437
- Forks
- 188
- PR merge metrics
- No merged PRs in 30d
Description
大佬,请问一下,在一对多关联模型中,模型文件名和类名的第一个字母都是大写,然后在使用的时候sql语句也跟着变成大写,这种的怎么解决?


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
The report names no files, tests, or entry points; start by reproducing the one-to-many association query with the uppercase model filename and class name described in the issue. Trace where the generated SQL table or identifier names are formed, then clarify the expected casing and add a regression test once the intended behavior is confirmed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 15/100