sq

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2024 License: MIT Imports: 3 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

type Builder struct {
	// contains filtered or unexported fields
}

func NewQueryBuilder

func NewQueryBuilder(d litsql.Dialect) *Builder

func (*Builder) Add

func (s *Builder) Add(q litsql.QueryClause)

func (*Builder) ClauseList

func (s *Builder) ClauseList() []litsql.QueryClause

func (*Builder) Dialect

func (s *Builder) Dialect() litsql.Dialect

type Mod

type Mod[T, A any] interface {
	ModTag[T]
	Apply(A)
}

type ModTag

type ModTag[T any] interface {
	// contains filtered or unexported methods
}

type ModTagImpl

type ModTagImpl[T any] struct {
}

type Query

type QueryMod

type QueryMod[T any] interface {
	ModTag[T]
	Apply(qb litsql.QueryBuilder)
}

func QueryModFunc

func QueryModFunc[T any](f func(apply litsql.QueryBuilder)) QueryMod[T]

type QueryModApply

type QueryModApply[T any] interface {
	Apply(...QueryMod[T])
}

Directories

Path Synopsis
reflectxargs module
structargs module

Jump to

Keyboard shortcuts

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