xormutil

package
v0.0.0-...-1b479c1 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2023 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecuteAll

func ExecuteAll(engine *xorm.Engine, actions ...SQLAction) error

Types

type IId

type IId interface {
	SetId(uuid uuid.UUID)
	GetId() uuid.UUID
}

type SQLAction

type SQLAction interface {
	Invoke(sess *xorm.Session) error
}

func NewCreateAction

func NewCreateAction(bean interface{}) SQLAction

func NewDeleteAction

func NewDeleteAction(bean interface{}) SQLAction

func NewUpdateAction

func NewUpdateAction(id interface{}, bean interface{}, cols ...string) SQLAction

Jump to

Keyboard shortcuts

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