limit

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Write

Write writes a SQL limit string to the given string writer.

Example:

Mysql:
	LIMIT <expression>
Postgres:
	LIMIT <expression>

Types

type Clause

type Clause struct {
	expressions.Expression
}

Clause represents a LIMIT clause.

func New

func New(limit expressions.Expression) *Clause

func (*Clause) Type

func (l *Clause) Type() clauses.ClauseType

func (*Clause) Write added in v0.0.3

func (l *Clause) Write(sw io.StringWriter) error

Jump to

Keyboard shortcuts

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