Versions in this module Expand all Collapse all v1 v1.0.2 Dec 30, 2023 v1.0.1 Dec 28, 2023 Changes in this version + func And(children ...models.IClause) models.IClause + func Between(field string, from, to any, includeEdgeTo ...bool) models.IClause + func Count[T any](tx *gorm.DB, cls models.IClause) (int64, error) + func DeleteAll[T any](tx *gorm.DB, records []T) error + func DeleteBy[T any](tx *gorm.DB, cls models.IClause) error + func Delete[T any](tx *gorm.DB, record *T) error + func Eq(field string, value any) models.IClause + func FindAllComplex[T any](tx *gorm.DB, cls models.IClause, p models.IPagination, s models.ISorting) ([]T, models.IPagination, error) + func FindAll[T any](tx *gorm.DB, cls models.IClause) ([]T, error) + func FindOne[T any](tx *gorm.DB, cls models.IClause) (*T, error) + func Gt(field string, value any) models.IClause + func Gte(field string, value any) models.IClause + func In(field string, value ...any) models.IClause + func IsNotNull(field string) models.IClause + func IsNull(field string) models.IClause + func Like(field string, value any) models.IClause + func Lt(field string, value any) models.IClause + func Lte(field string, value any) models.IClause + func Neq(field string, value any) models.IClause + func NotBetween(field string, from, to any, includeEdgeTo ...bool) models.IClause + func NotIn(field string, value ...any) models.IClause + func NotLike(field string, value any) models.IClause + func NotSimilar(field string, value any) models.IClause + func Or(children ...models.IClause) models.IClause + func Paginate(page, size int) models.IPagination + func SaveAll[T any](tx *gorm.DB, records []T) ([]T, error) + func Save[T any](tx *gorm.DB, record *T) (*T, error) + func Similar(field string, value any) models.IClause + func Sort(by string, asc bool) models.ISorting