Documentation ¶
Index ¶
- func GetTotalStructuredValueTypeCount(dbConnPgx utils.PgxIface) (*int, error)
- func InsertStructuredValueType(dbConnPgx utils.PgxIface, structuredValueType *StructuredValueType) (int, error)
- func InsertStructuredValueTypes(dbConnPgx utils.PgxIface, structuredValueTypes []StructuredValueType) error
- func RemoveStructuredValueType(dbConnPgx utils.PgxIface, structuredValueTypeID *int) error
- func UpdateStructuredValueType(dbConnPgx utils.PgxIface, structuredValueType *StructuredValueType) error
- type StructuredValueType
- func GetStructuredValueType(dbConnPgx utils.PgxIface, structuredValueTypeID *int) (*StructuredValueType, error)
- func GetStructuredValueTypeList(dbConnPgx utils.PgxIface, ids []int) ([]StructuredValueType, error)
- func GetStructuredValueTypeListByPagination(dbConnPgx utils.PgxIface, _start, _end *int, _order, _sort string, ...) ([]StructuredValueType, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InsertStructuredValueType ¶
func InsertStructuredValueType(dbConnPgx utils.PgxIface, structuredValueType *StructuredValueType) (int, error)
func InsertStructuredValueTypes ¶
func InsertStructuredValueTypes(dbConnPgx utils.PgxIface, structuredValueTypes []StructuredValueType) error
func UpdateStructuredValueType ¶
func UpdateStructuredValueType(dbConnPgx utils.PgxIface, structuredValueType *StructuredValueType) error
Types ¶
type StructuredValueType ¶
type StructuredValueType struct { ID *int `json:"id" db:"id"` //1 UUID string `json:"uuid" db:"uuid"` //2 Name string `json:"name" db:"name"` //3 AlternateName string `json:"alternateName" db:"alternate_name"` //4 CreatedBy string `json:"createdBy" db:"created_by"` //5 CreatedAt time.Time `json:"createdAt" db:"created_at"` //6 UpdatedBy string `json:"updatedBy" db:"updated_by"` //7 UpdatedAt time.Time `json:"updatedAt" db:"updated_at"` //8 }
StructuredValueType
func GetStructuredValueType ¶
func GetStructuredValueType(dbConnPgx utils.PgxIface, structuredValueTypeID *int) (*StructuredValueType, error)
func GetStructuredValueTypeList ¶
func GetStructuredValueTypeList(dbConnPgx utils.PgxIface, ids []int) ([]StructuredValueType, error)
Click to show internal directories.
Click to hide internal directories.