Documentation ¶
Index ¶
- Variables
- func ApplyExactFilter(param string, value string, args interface{}) dao.FilterFunc
- func ApplyLikeFilter(param string, value string, args interface{}) dao.FilterFunc
- func ApplyOrderFilter(param string, value string, args interface{}) dao.FilterFunc
- func Create(driver gorm.Dialector, loggerConfig *logger.Config) (*gorm.DB, error)
- func Init(driver gorm.Dialector, isDefault bool, loggerConfig *logger.Config) error
- func NewRelationalDAO(identifierKey string) *relationalDAO
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DAO *relationalDAO UOW *unitOfWork )
View Source
var DB *gorm.DB
Functions ¶
func ApplyExactFilter ¶
func ApplyExactFilter(param string, value string, args interface{}) dao.FilterFunc
Query filter of type EXACT MATCH
func ApplyLikeFilter ¶
func ApplyLikeFilter(param string, value string, args interface{}) dao.FilterFunc
Query filter of type LIKE MATCH
func ApplyOrderFilter ¶
func ApplyOrderFilter(param string, value string, args interface{}) dao.FilterFunc
Query filter to support ordering in query results
func NewRelationalDAO ¶
func NewRelationalDAO(identifierKey string) *relationalDAO
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.