decimal.Decimal强制增加条件 #1899

Closed
opened 2021-04-20 14:38:25 +00:00 by wjames · 2 comments

我发现我的结构中定义了decimal.Decimal类型之后,用sql builder的方式,在数据库中执行,后面会把这个结构的字段强制作为条件,数据库是MySql 5.7,不知道算不算bug

我发现我的结构中定义了decimal.Decimal类型之后,用sql builder的方式,在数据库中执行,后面会把这个结构的字段强制作为条件,数据库是MySql 5.7,不知道算不算bug
Owner

Which library did you use?

Which library did you use?
lunny added the
need
feedback
label 2021-06-06 05:28:44 +00:00
Owner

example #1917

example #1917
lunny closed this issue 2021-06-12 07:27:04 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: xorm/xorm#1899
No description provided.