clauses

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2021 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 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