structuredvaluetype

package
v2.0.0-alpha.17 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTotalStructuredValueTypeCount

func GetTotalStructuredValueTypeCount(dbConnPgx utils.PgxIface) (*int, error)

func InsertStructuredValueType

func InsertStructuredValueType(dbConnPgx utils.PgxIface, structuredValueType *StructuredValueType) (int, error)

func InsertStructuredValueTypes

func InsertStructuredValueTypes(dbConnPgx utils.PgxIface, structuredValueTypes []StructuredValueType) error

func RemoveStructuredValueType

func RemoveStructuredValueType(dbConnPgx utils.PgxIface, structuredValueTypeID *int) 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)

func GetStructuredValueTypeListByPagination

func GetStructuredValueTypeListByPagination(dbConnPgx utils.PgxIface, _start, _end *int, _order, _sort string, _filters []string) ([]StructuredValueType, error)

Jump to

Keyboard shortcuts

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