top-think / top-think/think-orm
orm4.0.45, ->value('json_value', []) ,不走json解析
Open
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 437
- Forks
- 188
- PR merge metrics
- No merged PRs in 30d
Description
->value('json_value', []) 是字符串
->field('json_value')->find() 可以正常格式化
是特意这么做,还是?
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 reported difference between ->value('json_value', []) and ->field('json_value')->find() in the ORM's value and field query paths. Trace how each path handles JSON fields and determine the intended behavior before checking whether an existing test covers both calls.
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
- 25/100