Documentation ¶
Index ¶
- func GetTotalPositionJobsCount(dbConnPgx utils.PgxIface) (*int, error)
- func InsertPositionJob(dbConnPgx utils.PgxIface, positionJob *PositionJob) (int, int, error)
- func InsertPositionJobs(dbConnPgx utils.PgxIface, positionJobs []PositionJob) error
- func RemovePositionJob(dbConnPgx utils.PgxIface, positionID, jobID *int) error
- func RemovePositionJobByUUID(dbConnPgx utils.PgxIface, positionJobUUID string) error
- func UpdatePositionJob(dbConnPgx utils.PgxIface, positionJob *PositionJob) error
- func UpdatePositionJobByUUID(dbConnPgx utils.PgxIface, positionJob *PositionJob) error
- type Attrs
- type PositionJob
- func GetPositionJob(dbConnPgx utils.PgxIface, positionID, jobID *int) (*PositionJob, error)
- func GetPositionJobByUUID(dbConnPgx utils.PgxIface, positionJobUUID string) (*PositionJob, error)
- func GetPositionJobList(dbConnPgx utils.PgxIface) ([]PositionJob, error)
- func GetPositionJobListByPagination(dbConnPgx utils.PgxIface, _start, _end *int, _order, _sort string, ...) ([]PositionJob, error)
- func GetPositionJobsByUUIDs(dbConnPgx utils.PgxIface, UUIDList []string) ([]PositionJob, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InsertPositionJob ¶
func InsertPositionJobs ¶
func InsertPositionJobs(dbConnPgx utils.PgxIface, positionJobs []PositionJob) error
func RemovePositionJob ¶
func RemovePositionJobByUUID ¶
func UpdatePositionJob ¶
func UpdatePositionJob(dbConnPgx utils.PgxIface, positionJob *PositionJob) error
func UpdatePositionJobByUUID ¶
func UpdatePositionJobByUUID(dbConnPgx utils.PgxIface, positionJob *PositionJob) error
Types ¶
type PositionJob ¶
type PositionJob struct { PositionID *int `json:"positionId" db:"position_id"` //1 JobID *int `json:"jobId" db:"job_id"` //2 UUID string `json:"uuid" db:"uuid"` //2 Name string `json:"name" db:"name"` //3 AlternateName string `json:"alternateName" db:"alternate_name"` //4 StartDate time.Time `json:"startDate" db:"start_date"` //6 EndDate time.Time `json:"endDate" db:"end_date"` //7 Description string `json:"description" db:"description"` //8 StatusID *int `json:"statusId" db:"status_id"` //9 ResponseStatus string `json:"responseStatus" db:"response_status"` //10 RequestUrl string `json:"requestUrl" db:"request_url"` //11 RequestBody string `json:"requestBody" db:"request_body"` //12 RequestMethod string `json:"requestMethod" db:"request_method"` //13 ResponseData string `json:"responseData" db:"response_data"` //14 ResponseDataJson Attrs `json:"responseDataJson" db:"response_data_json"` //15 CreatedBy string `json:"createdBy" db:"created_by"` //16 CreatedAt time.Time `json:"createdAt" db:"created_at"` //17 UpdatedBy string `json:"updatedBy" db:"updated_by"` //18 UpdatedAt time.Time `json:"updatedAt" db:"updated_at"` //19 }
Asset
func GetPositionJob ¶
func GetPositionJob(dbConnPgx utils.PgxIface, positionID, jobID *int) (*PositionJob, error)
func GetPositionJobByUUID ¶
func GetPositionJobByUUID(dbConnPgx utils.PgxIface, positionJobUUID string) (*PositionJob, error)
func GetPositionJobList ¶
func GetPositionJobList(dbConnPgx utils.PgxIface) ([]PositionJob, error)
func GetPositionJobListByPagination ¶
func GetPositionJobListByPagination(dbConnPgx utils.PgxIface, _start, _end *int, _order, _sort string, _filters []string) ([]PositionJob, error)
for refinedev
func GetPositionJobsByUUIDs ¶
func GetPositionJobsByUUIDs(dbConnPgx utils.PgxIface, UUIDList []string) ([]PositionJob, error)
Click to show internal directories.
Click to hide internal directories.