coredao

package
v0.0.0-...-4518a5d Latest Latest
Warning

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

Go to latest
Published: May 17, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

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