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

Method Where

generics.go:267–271  ·  view source on GitHub ↗
(query interface{}, args ...interface{})

Source from the content-addressed store, hash-verified

265}
266
267func (c chainG[T]) Where(query interface{}, args ...interface{}) ChainInterface[T] {
268 return c.with(func(db *DB) *DB {
269 return db.Where(query, args...)
270 })
271}
272
273func (c chainG[T]) Not(query interface{}, args ...interface{}) ChainInterface[T] {
274 return c.with(func(db *DB) *DB {

Callers

nothing calls this directly

Calls 2

withMethod · 0.95
WhereMethod · 0.65

Tested by

no test coverage detected