Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add support for different field name casing #1254

@fieryorc

Description

@fieryorc

I use existing DB that uses camel case for field names and snake case for table names. Gorm seems to have hardcoded ToDBName() function that is not customizable.

our table looks like this:

product_skus {
skuId string
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions