Documentation ¶
Index ¶
- func Create[T any](engine *xorm.Engine, entity *T) error
- func CreateWithSession[T any](session *xorm.Session, entity *T) error
- func Delete[T any](engine *xorm.Engine, entity *T) (int64, error)
- func DeleteWithSession[T any](session *xorm.Session, entity *T) (int64, error)
- func FindAll[T any](engine *xorm.Engine, entites *[]T) error
- func FindById[T any](engine *xorm.Engine, id int64, entity *T) error
- func FindOne[T any](engine *xorm.Engine, entity *T, sql string, parameters ...any) error
- func FindPagination[T any](engine *xorm.Engine, entites *[]T, countSql string, countParameters []any, ...) (int64, error)
- func FindWithSql[T any](engine *xorm.Engine, entites *[]T, sql string, parameters ...any) error
- func Update[T any](engine *xorm.Engine, cols []string, entity *T) (int64, error)
- func UpdateWithSession[T any](session *xorm.Session, cols []string, entity *T) (int64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteWithSession ¶
func FindPagination ¶
func FindWithSql ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.