gorm-bulk-insert icon indicating copy to clipboard operation
gorm-bulk-insert copied to clipboard

implement BulkInsert using gorm, just pass a Slice of Struct. Simple and compatible.

Results 3 gorm-bulk-insert issues
Sort by recently updated
recently updated
newest added

This PR is a follow-up of #50. ## Method only accepts a slice of struct for returning values Previous PR accepts both slice of PK and slice of struct, but...

This is the my testing example which set up the database using dockertest: ```go package main import ( "encoding/json" "fmt" "log" "net/url" "os" "time" "github.com/jinzhu/gorm" _ "github.com/lib/pq" "github.com/ory/dockertest" gormbulk "github.com/t-tiger/gorm-bulk-insert/v2"...

Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.0.0-20210921155107-089bfa567519 to 0.1.0. Commits See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=golang.org/x/crypto&package-manager=go_modules&previous-version=0.0.0-20210921155107-089bfa567519&new-version=0.1.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...

dependencies