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

Method Limit

generics.go:285–289  ·  view source on GitHub ↗
(offset int)

Source from the content-addressed store, hash-verified

283}
284
285func (c chainG[T]) Limit(offset int) ChainInterface[T] {
286 return c.with(func(db *DB) *DB {
287 return db.Limit(offset)
288 })
289}
290
291func (c chainG[T]) Offset(offset int) ChainInterface[T] {
292 return c.with(func(db *DB) *DB {

Callers

nothing calls this directly

Calls 2

withMethod · 0.95
LimitMethod · 0.65

Tested by

no test coverage detected