offset

package
v0.1.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 25, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LimitBuilder

type LimitBuilder struct {
	// contains filtered or unexported fields
}

func (LimitBuilder) ChainMethodWithExternalType

func (l LimitBuilder) ChainMethodWithExternalType(param1 *log.Logger, param2 packages.Module) LimitBuilder

func (LimitBuilder) FinalizerWithExternalType

func (l LimitBuilder) FinalizerWithExternalType(param1 fmt.Formatter, param2 packages.Package) packages.Package

func (LimitBuilder) GetLimit

func (l LimitBuilder) GetLimit() int

GetLimit returns the limit

func (LimitBuilder) Limit

func (l LimitBuilder) Limit(limit int) LimitBuilder

Limit sets the limit This is a second line of the comment

func (LimitBuilder) VariadicMethod

func (l LimitBuilder) VariadicMethod(params ...string) LimitBuilder

type OffsetBuilder

type OffsetBuilder struct {
	L LimitBuilder
	// contains filtered or unexported fields
}

func (OffsetBuilder) Build

func (o OffsetBuilder) Build() string

Build builds LIMIT+OFFSET SQL expression

func (OffsetBuilder) ChainMethodWithExternalType

func (o OffsetBuilder) ChainMethodWithExternalType(param1 *log.Logger, param2 packages.Module) OffsetBuilder

func (OffsetBuilder) Finalizer

func (o OffsetBuilder) Finalizer() *OffsetBuilder

Finalizer is a useless finalizer that returns pointer to the builder

func (OffsetBuilder) FinalizerWithExternalType

func (o OffsetBuilder) FinalizerWithExternalType(param1 fmt.Formatter, param2 packages.Package) packages.Package

func (OffsetBuilder) GetLimit

func (o OffsetBuilder) GetLimit() int

GetLimit returns the limit

func (OffsetBuilder) GetOffset

func (o OffsetBuilder) GetOffset() int

func (OffsetBuilder) Limit

func (o OffsetBuilder) Limit(limit int) OffsetBuilder

Limit sets the limit This is a second line of the comment

func (OffsetBuilder) Offset

func (o OffsetBuilder) Offset(offset int) OffsetBuilder

Offset sets the offset param

func (OffsetBuilder) VariadicMethod

func (o OffsetBuilder) VariadicMethod(params ...string) OffsetBuilder

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL