MCPcopy
hub / github.com/go-gorm/gorm / MapColumns

Method MapColumns

generics.go:447–451  ·  view source on GitHub ↗
(m map[string]string)

Source from the content-addressed store, hash-verified

445}
446
447func (c chainG[T]) MapColumns(m map[string]string) ChainInterface[T] {
448 return c.with(func(db *DB) *DB {
449 return db.MapColumns(m)
450 })
451}
452
453func (c chainG[T]) Set(assignments ...clause.Assigner) SetUpdateOnlyInterface[T] {
454 return c.processSet(assignments...)

Callers

nothing calls this directly

Calls 2

withMethod · 0.95
MapColumnsMethod · 0.65

Tested by

no test coverage detected