sqlhelpers

package
v0.0.0-...-7a6a509 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromUnion

func FromUnion(unionTables []UnionTable) qm.QueryMod

func OrderBy

func OrderBy(orderBy string) qm.QueryMod

func Split

func Split(s string) []string

Splits a string on comma without including empty strings

func WhereIn

func WhereIn(field string, slice []string) qm.QueryMod

Types

type UnionTable

type UnionTable struct {
	Column string
	Table  string
}

Jump to

Keyboard shortcuts

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