scope

package
v0.0.1-20230128-0001 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsActive

func IsActive(db *gorm.DB) *gorm.DB

func IsActiveT

func IsActiveT(tableName string) func(db *gorm.DB) *gorm.DB

func IsDeleted

func IsDeleted(db *gorm.DB) *gorm.DB

func IsDeletedAt

func IsDeletedAt(db *gorm.DB) *gorm.DB

func IsDeletedAtT

func IsDeletedAtT(tableName string) func(db *gorm.DB) *gorm.DB

func IsDeletedT

func IsDeletedT(tableName string) func(db *gorm.DB) *gorm.DB

func IsExpired

func IsExpired(db *gorm.DB) *gorm.DB

func IsExpiredT

func IsExpiredT(tableName string) func(db *gorm.DB) *gorm.DB

func IsNotActive

func IsNotActive(db *gorm.DB) *gorm.DB

func IsNotActiveT

func IsNotActiveT(tableName string) func(db *gorm.DB) *gorm.DB

func IsNotDeleted

func IsNotDeleted(db *gorm.DB) *gorm.DB

func IsNotDeletedAt

func IsNotDeletedAt(db *gorm.DB) *gorm.DB

func IsNotDeletedAtT

func IsNotDeletedAtT(tableName string) func(db *gorm.DB) *gorm.DB

func IsNotDeletedT

func IsNotDeletedT(tableName string) func(db *gorm.DB) *gorm.DB

func IsNotExpired

func IsNotExpired(db *gorm.DB) *gorm.DB

func IsNotExpiredT

func IsNotExpiredT(tableName string) func(db *gorm.DB) *gorm.DB

func OrderByCreatedAtAsc

func OrderByCreatedAtAsc(db *gorm.DB) *gorm.DB

func OrderByCreatedAtDesc

func OrderByCreatedAtDesc(db *gorm.DB) *gorm.DB

func OrderByDeletedAtAsc

func OrderByDeletedAtAsc(db *gorm.DB) *gorm.DB

func OrderByDeletedAtDesc

func OrderByDeletedAtDesc(db *gorm.DB) *gorm.DB

func OrderByUpdatedAtAsc

func OrderByUpdatedAtAsc(db *gorm.DB) *gorm.DB

func OrderByUpdatedAtDesc

func OrderByUpdatedAtDesc(db *gorm.DB) *gorm.DB

func Paginate

func Paginate(pageNr int, nrOfItems int, maxNrOfItems int) func(db *gorm.DB) *gorm.DB

Types

This section is empty.

Jump to

Keyboard shortcuts

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