xupdate

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SqlUpdate

type SqlUpdate interface {
	SqlUpdateInfo
	Set(values ...xqi.FieldValue) SqlUpdateSet
}

func Update

func Update(db xqi.Database, table xqi.SqlTable) SqlUpdate

type SqlUpdateExecute

type SqlUpdateExecute interface {
	SqlUpdateInfo
	Execute() (int, error)
}

type SqlUpdateInfo

type SqlUpdateInfo interface {
	DB() xqi.Database
}

type SqlUpdateJoin

type SqlUpdateJoin interface {
	SqlUpdateWhere
	Join(table xqi.SqlTable, on func(joinEnt xqi.SqlTable, leftTables xqi.SqlTables) xqi.SqlCondition) SqlUpdateJoin
	LeftJoin(table xqi.SqlTable, on func(joinEnt xqi.SqlTable, leftTables xqi.SqlTables) xqi.SqlCondition) SqlUpdateJoin
	RightJoin(table xqi.SqlTable, on func(joinEnt xqi.SqlTable, leftTables xqi.SqlTables) xqi.SqlCondition) SqlUpdateJoin
	CrossJoin(table xqi.SqlTable, on func(joinEnt xqi.SqlTable, leftTables xqi.SqlTables) xqi.SqlCondition) SqlUpdateJoin
}

type SqlUpdateSet

type SqlUpdateSet interface {
	SqlUpdateWhere
	Join(table xqi.SqlTable, on func(joinEnt xqi.SqlTable, leftTables xqi.SqlTables) xqi.SqlCondition) SqlUpdateJoin
}

type SqlUpdateWhere

type SqlUpdateWhere interface {
	SqlUpdateInfo
	Where(where xqi.SqlCondition) SqlUpdateExecute
}

Jump to

Keyboard shortcuts

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