时间类型字段自动创建或者更新支持毫秒 #1867
Labels
No Label
backport/done
backport/v1
blocked
db
oracle
db
sqlserver
duplicate
feature
cache
frontport/done
frontport/main
invalid
kind
breaking
kind
bug
kind
build
kind
dependencies
kind
docs
kind
driver
kind
enhancement
kind
feature
kind
performance
kind
proposal
kind
question
kind
refactor
kind
testing
need
feedback
need
test
proposal:accepted
RaspBerry Pi
regression
skip-changelog
upstream
wip
wontfix
No Milestone
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: xorm/xorm#1867
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
支持格式化话携带毫秒
+1,这个在每秒写入数据很多时有用。
mysql 可以用
DATETIME(3)
reverse 后
We should have a new tag to indicate this column have a datetime with
millisecond
. IfDATETIME(3)
is expected which is different fromDatetime
, it's good to me. But for other database, we also havetimestampz
. Or we can support both.PostgreSQL also has
TIMESTAMP(n)