Documentation ¶
Index ¶
- func FindLookupHeaders(lovIDs []string, db *gorm.DB, logEntry *logrus.Entry) (lookupHeaders []coremodel.LookupHeader, err error)
- func FindSQLDrivenLookupDetails(lookupHeaders []coremodel.LookupHeader, db *gorm.DB, logEntry *logrus.Entry) (lookupDetails []coremodel.LookupDetail, err error)
- func FindSQLDrivenLookupDetailsFiltered(lookupCodeFilters []coredata.LookupRequestData, ...) (lookupDetails []coremodel.LookupDetail, err error)
- func FindSimpleLookupDetailFiltered(lovIDs []coredata.LookupRequestData, db *gorm.DB, logEntry *logrus.Entry) (lookupDetails []coremodel.LookupDetail, err error)
- func FindSimpleLookupDetails(lovIDs []string, db *gorm.DB, logEntry *logrus.Entry) (lookupDetails []coremodel.LookupDetail, err error)
- func QueryForLookupWithSQLVersion(lookupHeaders []coremodel.LookupHeader, db *gorm.DB, logEntry *logrus.Entry) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindLookupHeaders ¶
func FindLookupHeaders(lovIDs []string, db *gorm.DB, logEntry *logrus.Entry) (lookupHeaders []coremodel.LookupHeader, err error)
FindLookupHeaders read lookup headers with lov id
func FindSQLDrivenLookupDetails ¶
func FindSQLDrivenLookupDetails(lookupHeaders []coremodel.LookupHeader, db *gorm.DB, logEntry *logrus.Entry) (lookupDetails []coremodel.LookupDetail, err error)
FindSQLDrivenLookupDetails query for custom sql driven lookup. lookup detail will also appended to lookup header so there is not needed to append detail to header manually
func FindSQLDrivenLookupDetailsFiltered ¶
func FindSQLDrivenLookupDetailsFiltered(lookupCodeFilters []coredata.LookupRequestData, lookupHeaders []coremodel.LookupHeader, db *gorm.DB, logEntry *logrus.Entry) (lookupDetails []coremodel.LookupDetail, err error)
FindSQLDrivenLookupDetailsFiltered find lookup driven bys sql , with code is filtered. detail codes filtered using parameter
func FindSimpleLookupDetailFiltered ¶
func FindSimpleLookupDetailFiltered(lovIDs []coredata.LookupRequestData, db *gorm.DB, logEntry *logrus.Entry) (lookupDetails []coremodel.LookupDetail, err error)
FindSimpleLookupDetailFiltered query simple lookup, with filter(if any )
func FindSimpleLookupDetails ¶
func FindSimpleLookupDetails(lovIDs []string, db *gorm.DB, logEntry *logrus.Entry) (lookupDetails []coremodel.LookupDetail, err error)
FindSimpleLookupDetails query from tables m_lookup_details by lookup ids
func QueryForLookupWithSQLVersion ¶
func QueryForLookupWithSQLVersion(lookupHeaders []coremodel.LookupHeader, db *gorm.DB, logEntry *logrus.Entry) (err error)
QueryForLookupWithSQLVersion run query to query for driven by sql query
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.