top-think / top-think/think-orm
v4.0.51 create 方法开启自动写入时间戳后生成的 SQL 错误
Open
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 437
- Forks
- 188
- PR merge metrics
- No merged PRs in 30d
Description
生成的 INSERT SQL 是无法执行的,SQL语句中来了个 create_time = 'now' ?
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 create operation with automatic timestamp writing in v4.0.51 and inspect the generated INSERT SQL shown in the issue. Confirm the failure involving create_time = 'now', then verify that the generated INSERT is executable without that invalid SQL.
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
- Mostly clear
- Newbie friendliness
- 42/100