Documentation ¶
Index ¶
- func GetTotalTransactionStepsCount(dbConnPgx utils.PgxIface) (*int, error)
- func InsertTransactionStep(dbConnPgx utils.PgxIface, transactionStep *TransactionStep) (int, int, error)
- func InsertTransactionSteps(dbConnPgx utils.PgxIface, transactionSteps []TransactionStep) error
- func RemoveTransactionStep(dbConnPgx utils.PgxIface, transactionID, stepID *int) error
- func RemoveTransactionStepByUUID(dbConnPgx utils.PgxIface, transactionStepUUID string) error
- func UpdateTransactionStep(dbConnPgx utils.PgxIface, transactionStep *TransactionStep) error
- func UpdateTransactionStepByUUID(dbConnPgx utils.PgxIface, transactionStep *TransactionStep) error
- type Attrs
- type TransactionStep
- func GetTransactionStep(dbConnPgx utils.PgxIface, transactionID, stepID *int) (*TransactionStep, error)
- func GetTransactionStepByUUID(dbConnPgx utils.PgxIface, transactionStepUUID string) (*TransactionStep, error)
- func GetTransactionStepList(dbConnPgx utils.PgxIface) ([]TransactionStep, error)
- func GetTransactionStepListByPagination(dbConnPgx utils.PgxIface, _start, _end *int, _order, _sort string, ...) ([]TransactionStep, error)
- func GetTransactionStepsByUUIDs(dbConnPgx utils.PgxIface, UUIDList []string) ([]TransactionStep, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InsertTransactionStep ¶
func InsertTransactionSteps ¶
func InsertTransactionSteps(dbConnPgx utils.PgxIface, transactionSteps []TransactionStep) error
func RemoveTransactionStep ¶
func UpdateTransactionStep ¶
func UpdateTransactionStep(dbConnPgx utils.PgxIface, transactionStep *TransactionStep) error
func UpdateTransactionStepByUUID ¶
func UpdateTransactionStepByUUID(dbConnPgx utils.PgxIface, transactionStep *TransactionStep) error
Types ¶
type TransactionStep ¶
type TransactionStep struct { TransactionID *int `json:"transactionId" db:"transaction_id"` //1 StepID *int `json:"stepId" db:"step_id"` //2 UUID string `json:"uuid" db:"uuid"` //3 Name string `json:"name" db:"name"` //4 AlternateName string `json:"alternateName" db:"alternate_name"` //5 Description string `json:"description" db:"description"` //6 CreatedBy string `json:"createdBy" db:"created_by"` //7 CreatedAt time.Time `json:"createdAt" db:"created_at"` //8 UpdatedBy string `json:"updatedBy" db:"updated_by"` //9 UpdatedAt time.Time `json:"updatedAt" db:"updated_at"` //10 }
Asset
func GetTransactionStep ¶
func GetTransactionStep(dbConnPgx utils.PgxIface, transactionID, stepID *int) (*TransactionStep, error)
func GetTransactionStepByUUID ¶
func GetTransactionStepByUUID(dbConnPgx utils.PgxIface, transactionStepUUID string) (*TransactionStep, error)
func GetTransactionStepList ¶
func GetTransactionStepList(dbConnPgx utils.PgxIface) ([]TransactionStep, error)
func GetTransactionStepListByPagination ¶
func GetTransactionStepListByPagination(dbConnPgx utils.PgxIface, _start, _end *int, _order, _sort string, _filters []string) ([]TransactionStep, error)
for refinedev
func GetTransactionStepsByUUIDs ¶
func GetTransactionStepsByUUIDs(dbConnPgx utils.PgxIface, UUIDList []string) ([]TransactionStep, error)
Click to show internal directories.
Click to hide internal directories.