表中有记录,但字段内容为null时,QueryString返回的结果集为空 #691
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
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: xorm/xorm#691
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?
MySQL环境,其它没测试。
rows, _ := engine.QueryString(sql.(string), bindings...)
select IDNumber, FullName from {Borrower} where Guid = ? and IsValid = 1
如果字段内容为null,则结果集中没有相应的内容。打印出来的结果为[map[]]
实际应该为 [map[IDNumber: FullName:]]
麻烦看看是否为bug