clauses

package
v0.0.0-...-cc0a8e0 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2023 License: GPL-3.0 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
}

func (ReturningInto) Build

func (returning ReturningInto) Build(builder clause.Builder)

Build build where clause

func (ReturningInto) MergeClause

func (returning ReturningInto) MergeClause(clause *clause.Clause)

MergeClause merge order by clauses

func (ReturningInto) Name

func (returning ReturningInto) Name() string

Name where clause name

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