xorm:"<- extends" 同时出现时,查询无法获得对应字段 #1755
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
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: xorm/xorm#1755
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?
按照文档这里的说明,应该是查询可见,插入不可见。
目前插入是不可见了,但是查询也同样不见了,甚至于查询单条时会报错。
模型及代码如下:
目前情况是 Get 和 GetList 不能得到想要的数据,但是 Add 可以执行。
如果 User User
json:"user" xorm:"<- extends"
改成 User Userjson:"user" xorm:"extends"
, 那么Get 和 GetList 能得到想要的数据,但是 Add 不可以执行。This should be a bug.