sqlqueries

package
v0.0.0-...-e3f3a3d Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

README

Package sqlqueries

This package holds references to relevant SQL queries and exports variables to hold references to relevant queries, organized by relevant entity

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CedarBookmarkSystemsForm = cedarBookmarkSystemScripts{
	SelectByCedarSystemIDs: selectCedarSystemBookmarkedByCedarSystemIDsSQL,
}
View Source
var GetAttendeeByEUAIDAndTRBIDSQL string

GetAttendeeByEUAIDAndTRBIDSQL holds the SQL query to get an attendee by EUA and TRB Req ID

View Source
var GetAttendeesByEUAIDsAndTRBIDsSQL string

GetAttendeesByEUAIDsAndTRBIDsSQL holds the SQL query to get a list of attendees by EUA and TRB Req IDs

View Source
var RelatedRequests = relatedRequests{
	IntakesByIntakeIDs:         relatedIntakesByIntakeIDsSQL,
	IntakesByTRBRequestIDs:     relatedIntakesByTRBRequestIDsSQL,
	TRBRequestsByIntakeIDs:     relatedTRBRequestsByIntakeIDsSQL,
	TRBRequestsByTRBRequestIDs: relatedTRBRequestsByTRBRequestIDsSQL,
}

RelatedRequests holds all relevant SQL scripts for getting related TRB Requests and System Intakes

View Source
var SystemIntake = systemIntakeScripts{
	GetByUser: getByUser,
}
View Source
var SystemIntakeActions = systemIntakeActionScripts{
	SelectBySystemIntakeID:  selectActionsBySystemIntakeIDSQL,
	SelectBySystemIntakeIDs: selectActionsBySystemIntakeIDsSQL,
}

SystemIntakeActions holds all relevant SQL scripts for System Intake Actions

View Source
var SystemIntakeBusinessCase = systemIntakeBusinessCasecripts{
	GetBusinessCaseByIntakeID:                  getBusinessCaseByIntakeIDSQL,
	GetBusinessCaseByIntakeIDs:                 getBusinessCaseByIntakeIDsSQL,
	GetEstimatedLifecycleCostLinesByBizCaseID:  getLifecycleCostsByBusinessCaseID,
	GetEstimatedLifecycleCostLinesByBizCaseIDs: getLifecycleCostsByBusinessCaseIDs,
}

SystemIntakeBusinessCase holds all relevant SQL scripts for System Intake Business Case

View Source
var SystemIntakeContractNumberForm = systemIntakeContractNumberScripts{
	Set:                     setSystemIntakeContractNumbersSQL,
	Delete:                  deleteSystemIntakeContractNumbersSQL,
	SelectBySystemIntakeIDs: selectContractNumbersBySystemIntakeIDsSQL,
}

SystemIntakeContractNumberForm holds all relevant SQL scripts for a System Intake Contract Number

View Source
var SystemIntakeDocument = systemIntakeDocumentScripts{
	Create:                           createSystemIntakeDocument,
	Delete:                           deleteSystemIntakeDocument,
	GetByDocumentID:                  getSystemIntakeDocumentByID,
	GetByS3Key:                       getSystemIntakeDocumentByS3Key,
	SelectDocumentsBySystemIntakeID:  selectDocumentsBySystemIntakeID,
	SelectDocumentsBySystemIntakeIDs: selectDocumentsBySystemIntakeIDs,
}
View Source
var SystemIntakeFundingSources = systemIntakeFundingSourcesScripts{
	GetAllBySystemIntakeIDs: getSystemIntakeFundingSourcesBySystemIntakeIDs,
	GetAllBySystemIntakeID:  getSystemIntakeFundingSourcesBySystemIntakeID,
}

SystemIntakeFundingSources holds all relevant SQL scripts for a System Intake's funding sources

View Source
var SystemIntakeGRBReviewer = systemIntakeGRBReviewerScripts{
	Create:                         insertSystemIntakeGRBReviewerSQL,
	GetBySystemIntakeID:            getSystemIntakeGRBReviewersByIntakeIDsSQL,
	GetIntakesWhereReviewRequested: getSystemIntakesWhereReviewIsRequestedSQL,
	CompareGRBReviewers:            compareSystemIntakeGRBReviewersByIntakeIDSQL,
	Update:                         updateSystemIntakeGRBReviewerByIDSQL,
	Delete:                         deleteSystemIntakeGRBReviewerByIDSQL,
}

SystemIntakeGRBReviewer holds all SQL scripts for GRB Reviewers

View Source
var SystemIntakeGovReqFeedback = SystemIntakeGovReqFeedbackScripts{
	GetBySystemIntakeID:  getSystemIntakeGovReqFeedbackByIntakeIDSQL,
	GetBySystemIntakeIDs: getSystemIntakeGovReqFeedbackByIntakeIDsSQL,
}

SystemIntakeGovReqFeedback holds all relevant SQL scripts for a System Intake Governance Request Feedback

View Source
var SystemIntakeNotes = systemIntakeNotesScripts{
	SelectBySystemIntakeID:  getSystemIntakeNotesByIntakeID,
	SelectBySystemIntakeIDs: getSystemIntakeNotesByIntakeIDs,
}

SystemIntakeNotes holds all relevant SQL scripts for a System Intake system

View Source
var SystemIntakeSystemForm = systemIntakeSystemScripts{
	Set:                     setSystemIntakeSystemsSQL,
	Delete:                  deleteSystemIntakeSystemsSQL,
	SelectByCedarSystemIDs:  systemIntakeSelectByCedarSystemIDs,
	SelectBySystemIntakeIDs: selectSystemsBySystemIntakeIDsSQL,
}

SystemIntakeSystemForm holds all relevant SQL scripts for a System Intake system

View Source
var TRBRequest = trbRequestScripts{
	Create:                              trbRequestCreateSQL,
	Update:                              trbRequestUpdateSQL,
	GetByID:                             trbRequestGetByIDSQL,
	CollectionGet:                       trbRequestCollectionGetSQL,
	CollectionGetByUserAndArchivedState: trbRequestCollectionGetByUserAndArchivedStateSQL,
}

TRBRequest holds all relevant SQL scripts for a TRB Request

View Source
var TRBRequestAdminNotes = trbAdminNotesScripts{
	GetByTRBID:  getAdminNotesByTRBReqIDSQL,
	GetByTRBIDs: getAdminNotesByTRBReqIDsSQL,
}
View Source
var TRBRequestAttendees = trbAttendeesScripts{
	GetByTRBID:                  getAttendeesByTRBReqIDSQL,
	GetByTRBIDs:                 getAttendeesByTRBReqIDsSQL,
	GetAttendeeByEUAAndTRBID:    GetAttendeeByEUAIDAndTRBIDSQL,
	GetAttendeesByEUAsAndTRBIDs: GetAttendeesByEUAIDsAndTRBIDsSQL,
}
View Source
var TRBRequestContractNumbersForm = trbRequestContractNumberScripts{
	Set:                   setTRBRequestContractNumbersSQL,
	Delete:                deleteTRBRequestContractNumbersSQL,
	SelectByTRBRequestIDs: selectContractNumbersByTRBRequestIDsSQL,
}

TRBRequestContractNumbersForm holds all relevant SQL scripts for a TRB Request Contract Number

View Source
var TRBRequestDocuments = trbRequestDocumentsScripts{
	GetByTRBID:  getTRBDocumentsByTRBIDSQL,
	GetByTRBIDs: getTRBDocumentsByTRBIDsSQL,
}

TRBRequestDocuments holds all relevant SQL scripts for a TRB Request Contract Number

View Source
var TRBRequestFeedback = trbRequestFeedbackScripts{
	GetByID:           trbRequestFeedbackGetByIDSQL,
	GetByIDs:          trbRequestFeedbackGetByIDsSQL,
	GetByNewestByID:   trbRequestFeedbackGetNewestByIDSQL,
	GetByNewestsByIDs: trbRequestFeedbackGetNewestsByIDsSQL,
}

TRBRequestFeedback holds all relevant SQL scripts for TRB Request feedback

View Source
var TRBRequestForm = trbRequestFormScripts{
	Create:   trbRequestFormCreateSQL,
	GetByID:  trbRequestFormGetByIDSQL,
	GetByIDs: trbRequestFormGetByIDsSQL,
}

TRBRequestForm holds all relevant SQL scripts for a TRB Request Form

View Source
var TRBRequestFormSystemIntakes = trbRequestSystemIntakesScripts{
	GetByTRBRequestID:  getIntakesByTRBReqID,
	GetByTRBRequestIDs: getIntakesByTRBReqIDs,
}

TRBRequestFormSystemIntakes holds all relevant SQL scripts for TRB Request Form System Intakes

View Source
var TRBRequestFundingSources = trbRequestFundingSourcesScripts{
	GetByTRBReqID:  getTRBRequestFundingSourcesByTRBIDSQL,
	GetByTRBReqIDs: getTRBRequestFundingSourcesByTRBIDsSQL,
}

TRBRequestFundingSources holds all relevant SQL scripts for a TRB Request Form

View Source
var TRBRequestGuidanceLetter = trbGuidanceLetterScripts{
	GetByTRBID:  getGuidanceLetterByTRBReqIDSQL,
	GetByTRBIDs: getGuidanceLettersByTRBReqIDsSQL,
}
View Source
var TRBRequestSystemForm = trbRequestSystemScripts{
	Set:                    setTRBRequestSystemsSQL,
	Delete:                 deleteTRBRequestSystemsSQL,
	SelectByCedarSystemIDs: trbRequestSelectByCedarSystemIDs,
	SelectByTRBRequestIDs:  selectSystemsByTRBRequestIDsSQL,
}

TRBRequestSystemForm holds all relevant SQL scripts for a TRB Request system

View Source
var UserAccount = userAccount{
	GetByUsername:   userAccountGetByUsername,
	GetByUsernames:  userAccountGetByUsernames,
	GetByCommonName: userAccountGetByCommonName,
	GetByID:         userAccountGetByID,
	GetByIDs:        userAccountGetByIDs,
	Create:          userAccountCreate,
	Update:          userAccountUpdate,
	BulkUpdate:      userAccountBulkUpdate,
}

UserAccount holds all relevant SQL queries related to a user account

Functions

This section is empty.

Types

type SystemIntakeGovReqFeedbackScripts

type SystemIntakeGovReqFeedbackScripts struct {
	GetBySystemIntakeIDs string
	GetBySystemIntakeID  string
}

Jump to

Keyboard shortcuts

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