clauses

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

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MergeDefaultExcludeName

func MergeDefaultExcludeName() string

Types

type IN

type IN struct {
	Column interface{}
	Values []interface{}
}

IN Whether a value is within a set of values

func (IN) Build

func (in IN) Build(builder clause.Builder)

type Merge

type Merge struct {
	Table clause.Table
	Using []clause.Interface
	On    []clause.Expression
}

func (Merge) Build

func (merge Merge) Build(builder clause.Builder)

Build build from clause

func (Merge) MergeClause

func (merge Merge) MergeClause(clause *clause.Clause)

MergeClause merge values clauses

func (Merge) Name

func (merge Merge) Name() string

type ReturningInto

type ReturningInto struct {
	Variables []clause.Column
	Into      []*clause.Values
}

type WhenMatched

type WhenMatched struct {
	clause.Set
	Where, Delete clause.Where
}

func (WhenMatched) Build

func (w WhenMatched) Build(builder clause.Builder)

func (WhenMatched) Name

func (w WhenMatched) Name() string

type WhenNotMatched

type WhenNotMatched struct {
	clause.Values
	Where clause.Where
}

func (WhenNotMatched) Build

func (w WhenNotMatched) Build(builder clause.Builder)

func (WhenNotMatched) Name

func (w WhenNotMatched) Name() string

Jump to

Keyboard shortcuts

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