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

Method Omit

generics.go:441–445  ·  view source on GitHub ↗
(columns ...string)

Source from the content-addressed store, hash-verified

439}
440
441func (c chainG[T]) Omit(columns ...string) ChainInterface[T] {
442 return c.with(func(db *DB) *DB {
443 return db.Omit(columns...)
444 })
445}
446
447func (c chainG[T]) MapColumns(m map[string]string) ChainInterface[T] {
448 return c.with(func(db *DB) *DB {

Callers

nothing calls this directly

Calls 2

withMethod · 0.95
OmitMethod · 0.65

Tested by

no test coverage detected