Skip to content

gorm model is not supported #1

@vvfly

Description

@vvfly

If i define the model using gorm.Model, and call BatchInsert() function, there will be an error.
The error is :Unknown column 'model' in 'field list'.
My table model like this:

type User struct {
gorm.Model
Name string
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions