helper

package
v0.2.31 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IfClause

func IfClause(conds []Cond) string

func JoinSetBuilder

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

func JoinWhereBuilder

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