clauses

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Clause

type Clause interface {
	expressions.Expression
	Type() ClauseType
}

CLause

type ClauseType

type ClauseType int
const (
	UnknownType ClauseType = iota
	FromType
	JoinType
	WhereType
	LimitType
	OffsetType
	OrderByType
	ReturningType
	ValuesType
	SetType
	GroupByType
	HavingType
)

func (ClauseType) String

func (i ClauseType) String() string

type Selectable

type Selectable struct {
	Expr expressions.Expression
	As   string
}

Selectable represents a something that can be selected in a select statement or returning, etc.

func (Selectable) WriteTo

func (s Selectable) WriteTo(sw io.StringWriter) error

Write writes a SQL select column to the given string writer.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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