MCPcopy
hub / github.com/gogs/gogs / Engine

Interface Engine

internal/database/models.go:27–40  ·  view source on GitHub ↗

Engine represents a XORM engine or session.

Source from the content-addressed store, hash-verified

25
26// Engine represents a XORM engine or session.
27type Engine interface {
28 Delete(any) (int64, error)
29 Exec(...any) (sql.Result, error)
30 Find(any, ...any) error
31 Get(any) (bool, error)
32 ID(any) *xorm.Session
33 In(string, ...any) *xorm.Session
34 Insert(...any) (int64, error)
35 InsertOne(any) (int64, error)
36 Iterate(any, xorm.IterFunc) error
37 Sql(string, ...any) *xorm.Session
38 Table(any) *xorm.Session
39 Where(any, ...any) *xorm.Session
40}
41
42var (
43 x *xorm.Engine

Callers 82

DeleteReleaseOfRepoByIDFunction · 0.80
actionsCommitRepoFunction · 0.80
actionsNewRepoFunction · 0.80
actionsPushTagFunction · 0.80
deleteBeansFunction · 0.80
RemoveOrgUserFunction · 0.80
removeOrgRepoFunction · 0.80
DeleteByIDMethod · 0.80
NewDBFunction · 0.80
UpdateReleaseFunction · 0.80
AddOrgUserFunction · 0.80
RemoveOrgUserFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected