helper

package
v0.2.41 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2022 License: MIT Imports: 1 Imported by: 28

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IfClause

func IfClause(conds []Cond) string

func JoinSetBuilder added in v0.1.27

func JoinSetBuilder(src *strings.Builder, setValue strings.Builder)

func JoinWhereBuilder added in v0.1.27

func JoinWhereBuilder(src *strings.Builder, whereValue strings.Builder)

func SetClause

func SetClause(conds []string) string

func WhereClause

func WhereClause(conds []string) string

Types

type Cond

type Cond struct {
	Cond   bool
	Result string
}

Jump to

Keyboard shortcuts

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