-
-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: add error code for undefined column * Add gorm.ErrInvalidField error for 42703 SQLSTATE. * Add test for new supported error code. Signed-off-by: alireza <[email protected]> * refactor: remove unnecessary json struct tags new json fields names was same as struct field names. It's default behavior of json package and we don't need them. Signed-off-by: alireza <[email protected]> --------- Signed-off-by: alireza <[email protected]>
- Loading branch information
1 parent
f538e03
commit b3c309a
Showing
2 changed files
with
11 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters