You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can this bug be reproduced with the latest release?
Option Yes
What did you do?
I use do.XXXX struct in my coding in Logic layer to update and insert data into db, like this:
dao.App.Ctx(ctx).Data(do.App{Name: in.Name, Description: in.Description}).InsertAndGetId()
it works very well.
Now, I need to follow coding rules of our company to set prefix 'f_' for each table's field.
What did you see happen?
Accordingly, I set removeFieldPrefix in config.yaml. Now above statement, I mean dao.Data(do.xxx).Update and dao.Data(do.xxx).Insert() can not work properly.
What did you expect to see?
The inserted record columns are null.
The text was updated successfully, but these errors were encountered:
Go version
go1.23
GoFrame version
2.8.3
Can this bug be reproduced with the latest release?
Option Yes
What did you do?
I use do.XXXX struct in my coding in Logic layer to update and insert data into db, like this:
dao.App.Ctx(ctx).Data(do.App{Name: in.Name, Description: in.Description}).InsertAndGetId()
it works very well.
Now, I need to follow coding rules of our company to set prefix 'f_' for each table's field.
What did you see happen?
Accordingly, I set removeFieldPrefix in config.yaml. Now above statement, I mean dao.Data(do.xxx).Update and dao.Data(do.xxx).Insert() can not work properly.
What did you expect to see?
The inserted record columns are null.
The text was updated successfully, but these errors were encountered: