MCPcopy Create free account
hub / github.com/efectn/go-orm-benchmarks / Offset

Method Offset

bench/ent/model_query.go:42–45  ·  view source on GitHub ↗

Offset to start from.

(offset int)

Source from the content-addressed store, hash-verified

40
41// Offset to start from.
42func (mq *ModelQuery) Offset(offset int) *ModelQuery {
43 mq.ctx.Offset = &offset
44 return mq
45}
46
47// Unique configures the query builder to filter duplicate records on query.
48// By default, unique is set to true, and can be disabled using this method.

Callers 1

sqlQueryMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected