Engine represents a XORM engine or session.
| 25 | |
| 26 | // Engine represents a XORM engine or session. |
| 27 | type 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 | |
| 42 | var ( |
| 43 | x *xorm.Engine |
no outgoing calls
no test coverage detected