common

package
v0.0.0-...-533e1e5 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateLimit

func ValidateLimit(l int64) int64

func ValidatePage

func ValidatePage(p int64) int64

Types

type SQLClauseBuilder

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

func NewSQLClauseBuilder

func NewSQLClauseBuilder(paramTag, colTag string, suffix string, page, limit int64) *SQLClauseBuilder

func (*SQLClauseBuilder) AliasPrefix

func (qb *SQLClauseBuilder) AliasPrefix(alias string, ptr interface{}) *SQLClauseBuilder

func (*SQLClauseBuilder) Build

func (qb *SQLClauseBuilder) Build() (string, []string, []interface{}, error)

Jump to

Keyboard shortcuts

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