-
Notifications
You must be signed in to change notification settings - Fork 213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug in createColumnMap
#115
Comments
The In the first example its working as expected, goqu doesnt try to interpret what you transformed the field name to, instead it uses it as is. The second example is an interesting one in that you returned an empty string and it generated the In the third example it is also working as expected, if you want to ignore the type Permission struct {
DeepPermission
IDStr string `json:"id" db:"id"`
Name string `json:"name" db:"name"`
Description string `json:"description" db:"description"`
CreatedAt time.Time `json:"-" db:"-"`
} |
-
In steps above expects follow sql:
INSERT INTO "rbac_permissions" ("description", "id", "name") VALUES ('Description Create a new App', 'Create a new App', 'app:create')
Or am I wrong?
The text was updated successfully, but these errors were encountered: