MCPcopy Index your code
hub / github.com/upper/db / Offset

Method Offset

result.go:41–41  ·  view source on GitHub ↗

Offset ignores the first n results. It only has effect on `One()`, `All()` and `Next()`. A negative offset cancels any previous offset settings.

(int)

Source from the content-addressed store, hash-verified

39 // Offset ignores the first n results. It only has effect on `One()`, `All()`
40 // and `Next()`. A negative offset cancels any previous offset settings.
41 Offset(int) Result
42
43 // OrderBy receives one or more field names that define the order in which
44 // elements will be returned in a query, field names may be prefixed with a

Callers 11

PaginatorMethod · 0.65
TestSelectFunction · 0.65
countMethod · 0.65
buildWithCursorMethod · 0.65
TestGetWithOffsetMethod · 0.65
TestTemplateSelectFunction · 0.65
TestTemplateSelectFunction · 0.65
TestTemplateSelectFunction · 0.65
TestTemplateSelectFunction · 0.65
TestTemplateSelectFunction · 0.65
TestTemplateSelectFunction · 0.65

Implementers 2

Resultinternal/sqladapter/result.go
resultadapter/mongo/result.go

Calls

no outgoing calls

Tested by 7

TestSelectFunction · 0.52
TestTemplateSelectFunction · 0.52
TestTemplateSelectFunction · 0.52
TestTemplateSelectFunction · 0.52
TestTemplateSelectFunction · 0.52
TestTemplateSelectFunction · 0.52
TestTemplateSelectFunction · 0.52