inserts

package
v1.2.84 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InsertGeneric

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

func NewInsertGeneric

func NewInsertGeneric(ctx specifications.Context, spec *specifications.Specification) (generic *InsertGeneric, err error)

func (*InsertGeneric) Render

func (generic *InsertGeneric) Render(ctx specifications.Context, w io.Writer, values int) (method specifications.Method, fields []string, returning []string, err error)

type InsertOrUpdateGeneric

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

func NewInsertOrUpdateGeneric

func NewInsertOrUpdateGeneric(ctx specifications.Context, spec *specifications.Specification) (generic *InsertOrUpdateGeneric, err error)

func (*InsertOrUpdateGeneric) Render

func (generic *InsertOrUpdateGeneric) Render(_ specifications.Context, w io.Writer) (method specifications.Method, fields []string, returning []string, err error)

type InsertWhenExistsGeneric

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

func NewInsertWhenExistsGeneric

func NewInsertWhenExistsGeneric(ctx specifications.Context, spec *specifications.Specification) (generic *InsertWhenExistsGeneric, err error)

func (*InsertWhenExistsGeneric) Render

func (generic *InsertWhenExistsGeneric) Render(ctx specifications.Context, w io.Writer, src specifications.QueryExpr) (method specifications.Method, fields []string, arguments []any, returning []string, err error)

type InsertWhenNotExistsGeneric

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

func NewInsertWhenNotExistsGeneric

func NewInsertWhenNotExistsGeneric(ctx specifications.Context, spec *specifications.Specification) (generic *InsertWhenNotExistsGeneric, err error)

func (*InsertWhenNotExistsGeneric) Render

func (generic *InsertWhenNotExistsGeneric) Render(ctx specifications.Context, w io.Writer, src specifications.QueryExpr) (method specifications.Method, fields []string, arguments []any, returning []string, err error)

type ValueRender

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

func NewValueRender

func NewValueRender() ValueRender

func (*ValueRender) Add

func (value *ValueRender) Add()

func (*ValueRender) MarkAsVersion

func (value *ValueRender) MarkAsVersion()

func (*ValueRender) Render

func (value *ValueRender) Render(ctx specifications.Context, w io.Writer) (err error)

Jump to

Keyboard shortcuts

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