Skip to content
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

Feature sqlstate support #215

Merged
merged 2 commits into from
Oct 10, 2023

Commits on Sep 14, 2023

  1. 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 <alirezaarzehgar82@gmail.com>
    alirezaarzehgar committed Sep 14, 2023
    Configuration menu
    Copy the full SHA
    806b378 View commit details
    Browse the repository at this point in the history
  2. 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 <alirezaarzehgar82@gmail.com>
    alirezaarzehgar committed Sep 14, 2023
    Configuration menu
    Copy the full SHA
    319ea06 View commit details
    Browse the repository at this point in the history