join

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Join

type Join struct {
	LeftTable  string
	RightTable string
	LeftField  string
	RightField string
	JoinType   Type
}

func JoinOn

func JoinOn(leftTable, rightTable, leftField, rightField string, joinType Type) *Join

func (*Join) Build

func (j *Join) Build() string

type Joins

type Joins []*Join

type Type

type Type string
const (
	LEFT_JOIN  Type = "LEFT"
	RIGHT_JOIN Type = "RIGHT"
	INNER_JOIN Type = "INNER"
)

Jump to

Keyboard shortcuts

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