xorm

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NameMapType = reflect.TypeOf(&NameMap{}).Elem()

Functions

func MustIn

func MustIn(sql string, args ...any) (string, []any)

func MustNamed

func MustNamed(inputSql string, arg any) (sql string, args []any)

func NewXormEngine

func NewXormEngine() (gone.Angel, gone.GonerId)

func Priest

func Priest(cemetery gone.Cemetery) error

Types

type Engine

type Engine interface {
	xorm.Interface
	Transaction(fn func(session Interface) error) error
	Sqlx(sql string, args ...any) *xorm.Session
	GetOriginEngine() *xorm.Engine
}

type Interface added in v0.0.14

type Interface = xorm.Interface

type NameMap

type NameMap map[string]any

Jump to

Keyboard shortcuts

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