decl

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ColumnRef

type ColumnRef = internal.ColumnRef

func Col

func Col(tableName, columnName, paramName, paramType string) ColumnRef

Col creates a column reference helper.

type FKRelation

type FKRelation = internal.FKRelation

type InputRef

type InputRef = internal.InputRef

func In

func In(name, typ string) InputRef

In creates typed input reference.

func InAny

func InAny(name string) InputRef

InAny creates input reference with type any.

type MethodKind

type MethodKind = internal.MethodKind

type MethodRef

type MethodRef = internal.MethodRef

type OpBuilder

type OpBuilder = internal.OpBuilder

func DeleteFrom

func DeleteFrom(name string, table TableRef) *OpBuilder

DeleteFrom configures delete operation builder.

func DeleteReturning

func DeleteReturning(name string, table TableRef) *OpBuilder

DeleteReturning configures delete operation builder.

func Exists

func Exists(name string, table TableRef) *OpBuilder

Exists checks whether value exists.

func GetOne

func GetOne(name string, table TableRef) *OpBuilder

GetOne returns requested value.

func InsertMany

func InsertMany(name string, table TableRef) *OpBuilder

InsertMany configures insert operation builder.

func InsertReturning

func InsertReturning(name string, table TableRef) *OpBuilder

InsertReturning configures insert operation builder.

func List

func List(name string, table TableRef) *OpBuilder

List returns matching collection.

func PatchUpdate

func PatchUpdate(name string, table TableRef) *OpBuilder

PatchUpdate configures patch update behavior.

func Update

func Update(name string, table TableRef) *OpBuilder

Update configures update operation builder.

func UpdateReturning

func UpdateReturning(name string, table TableRef) *OpBuilder

UpdateReturning configures update operation builder.

func UpsertMany

func UpsertMany(name string, table TableRef) *OpBuilder

UpsertMany configures upsert operation builder.

type Operation

type Operation = internal.Operation

type Param

type Param = internal.Param

func Params

func Params(values ...Param) []Param

Params configures SQL parameter binding.

type PolicyBuilder

type PolicyBuilder = internal.PolicyBuilder

func Policy

func Policy(name string, tables ...TableRef) *PolicyBuilder

Policy configures query policy builder.

type QueryPolicy

type QueryPolicy = internal.QueryPolicy

type RawOpBuilder

type RawOpBuilder = internal.RawOpBuilder

func Raw

func Raw(name string) *RawOpBuilder

Raw configures raw SQL operation builder.

type RawOperation

type RawOperation = internal.RawOperation

func RawList

func RawList(builders ...*RawOpBuilder) []RawOperation

RawList collects raw operations from builders.

type SQLPlan

type SQLPlan = internal.SQLPlan

type SubqueryBuilder

type SubqueryBuilder = internal.SubqueryBuilder

func Subquery

func Subquery(table TableRef) *SubqueryBuilder

Subquery configures subquery builder.

type SubqueryPlan

type SubqueryPlan = internal.SubqueryPlan

type TableColumns

type TableColumns = internal.TableColumns

type TableRef

type TableRef = internal.TableRef

type TxBuilder

type TxBuilder = internal.TxBuilder

func Tx

func Tx(name string) *TxBuilder

Tx configures transaction script builder.

type TxScript

type TxScript = internal.TxScript

Jump to

Keyboard shortcuts

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