-
Notifications
You must be signed in to change notification settings - Fork 11
/
trb_request_systems.go
31 lines (25 loc) · 1.06 KB
/
trb_request_systems.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
package sqlqueries
import _ "embed"
// deleteTRBRequestSystemsSQL holds the SQL command to remove all linked systems from a TRB Request
//
//go:embed SQL/trb_request_system/delete.sql
var deleteTRBRequestSystemsSQL string
// setTRBRequestSystemsSQL holds the SQL command to link systems to a TRB Request
//
//go:embed SQL/trb_request_system/set.sql
var setTRBRequestSystemsSQL string
// selectSystemsByTRBRequestIDLOADERSQL holds the SQL command to get linked systems by TRB Request ID via dataloader
//
//go:embed SQL/trb_request_system/get_by_trb_request_id_LOADER.sql
var selectSystemsByTRBRequestIDLOADERSQL string
// TRBRequestSystemForm holds all relevant SQL scripts for a TRB Request system
var TRBRequestSystemForm = trbRequestSystemScripts{
Set: setTRBRequestSystemsSQL,
Delete: deleteTRBRequestSystemsSQL,
SelectByTRBRequestIDLOADER: selectSystemsByTRBRequestIDLOADERSQL,
}
type trbRequestSystemScripts struct {
Set string
Delete string
SelectByTRBRequestIDLOADER string
}