package
1.1.1
Repository: https://github.com/mdanialr/pwman_backend.git
Documentation: pkg.go.dev

# Functions

Cols add query Select.
Cons add query Where for each given cons.
EagerLoad simple preload/eager loading the given field/relation name without any special condition which means use the default relation as the condition.
Order add query Order.
Ors add query Where for each given cons.
Paginate add query Limit & Offset accordingly by given paginate.M.
Trx wrap given function inside database transaction.

# Type aliases

Options signature that should be used to optionally add query to each repository layer implementations that interact with gorm.DB as the data source.