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

Method Distinct

generics.go:457–461  ·  view source on GitHub ↗
(args ...interface{})

Source from the content-addressed store, hash-verified

455}
456
457func (c chainG[T]) Distinct(args ...interface{}) ChainInterface[T] {
458 return c.with(func(db *DB) *DB {
459 return db.Distinct(args...)
460 })
461}
462
463func (c chainG[T]) Group(name string) ChainInterface[T] {
464 return c.with(func(db *DB) *DB {

Callers

nothing calls this directly

Calls 2

withMethod · 0.95
DistinctMethod · 0.65

Tested by

no test coverage detected