klabsqlc

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Customer

type Customer struct {
	Idcustomer         int32
	Firstname          string
	Lastname           string
	Idgroups           sql.NullInt32
	Dob                sql.NullTime
	Sex                sql.NullInt32
	DobYear            sql.NullInt32
	DobMonth           sql.NullInt32
	DobDay             sql.NullInt32
	PidNumber          sql.NullString
	Company            sql.NullString
	Occupation         sql.NullString
	Education          sql.NullString
	Address            sql.NullString
	PhoneHome          sql.NullString
	PhoneWork          sql.NullString
	PhoneMobile        sql.NullString
	Faxno              sql.NullString
	Email              sql.NullString
	Username           sql.NullString
	Password           sql.NullString
	Readonly           sql.NullInt32
	Warnings           sql.NullInt32
	AllowToSave        sql.NullInt32
	AllowToCloud       sql.NullInt32
	Flag2              sql.NullInt32
	Idsport            sql.NullInt32
	Medication         sql.NullString
	Addinfo            sql.NullString
	TeamName           sql.NullString
	Add1               sql.NullInt32
	Athlete            sql.NullInt32
	Add10              sql.NullString
	Add20              sql.NullString
	Updatemode         sql.NullInt32
	WeightKg           sql.NullFloat64
	HeightCm           sql.NullFloat64
	DateModified       sql.NullFloat64
	RecomTestlevel     sql.NullInt32
	CreatedBy          sql.NullInt64
	ModBy              sql.NullInt64
	ModDate            sql.NullTime
	Deleted            sql.NullInt16
	CreatedDate        sql.NullTime
	Modded             sql.NullInt16
	AllowAnonymousData sql.NullString
	Locked             sql.NullInt16
	AllowToSprintai    sql.NullInt32
	TosprintaiFrom     sql.NullTime
	StatSent           sql.NullTime
	SporttiID          sql.NullString
}

type DBTX

type DBTX interface {
	ExecContext(context.Context, string, ...interface{}) (sql.Result, error)
	PrepareContext(context.Context, string) (*sql.Stmt, error)
	QueryContext(context.Context, string, ...interface{}) (*sql.Rows, error)
	QueryRowContext(context.Context, string, ...interface{}) *sql.Row
}

type DeleteCustomerBySporttiIDRow

type DeleteCustomerBySporttiIDRow struct {
	Idcustomer int32
	SporttiID  sql.NullString
}

type Dirrawdatum

type Dirrawdatum struct {
	Iddirrawdata  int32
	Idmeasurement int32
	Rawdata       sql.NullString
	Columndata    sql.NullString
	Info          sql.NullString
	Unitsdata     sql.NullString
	CreatedBy     sql.NullInt64
	ModBy         sql.NullInt64
	ModDate       sql.NullTime
	Deleted       sql.NullInt16
	CreatedDate   sql.NullTime
	Modded        sql.NullInt16
}

type Dirreport

type Dirreport struct {
	Iddirreport      int32
	PageInstructions sql.NullString
	Idmeasurement    int32
	TemplateRec      sql.NullInt32
	LibrecName       sql.NullString
	CreatedBy        sql.NullInt64
	ModBy            sql.NullInt64
	ModDate          sql.NullTime
	Deleted          sql.NullInt16
	CreatedDate      sql.NullTime
	Modded           sql.NullInt16
}

type Dirresult

type Dirresult struct {
	Iddirresults       int32
	Idmeasurement      int32
	MaxVo2mlkgmin      sql.NullFloat64
	MaxVo2mlmin        sql.NullFloat64
	MaxVo2             sql.NullFloat64
	MaxHr              sql.NullFloat64
	MaxSpeed           sql.NullFloat64
	MaxPace            sql.NullFloat64
	MaxP               sql.NullFloat64
	MaxPkg             sql.NullFloat64
	MaxAngle           sql.NullFloat64
	MaxLac             sql.NullFloat64
	MaxAdd1            sql.NullFloat64
	MaxAdd2            sql.NullFloat64
	MaxAdd3            sql.NullFloat64
	LacAnkVo2mlkgmin   sql.NullFloat64
	LacAnkVo2mlmin     sql.NullFloat64
	LacAnkVo2          sql.NullFloat64
	LacAnkVo2pr        sql.NullFloat64
	LacAnkHr           sql.NullFloat64
	LacAnkSpeed        sql.NullFloat64
	LacAnkPace         sql.NullFloat64
	LacAnkP            sql.NullFloat64
	LacAnkPkg          sql.NullFloat64
	LacAnkAngle        sql.NullFloat64
	LacAnkLac          sql.NullFloat64
	LacAnkAdd1         sql.NullFloat64
	LacAnkAdd2         sql.NullFloat64
	LacAnkAdd3         sql.NullFloat64
	LacAerkVo2mlkgmin  sql.NullFloat64
	LacAerkVo2mlmin    sql.NullFloat64
	LacAerkVo2         sql.NullFloat64
	LacAerkVo2pr       sql.NullFloat64
	LacAerkHr          sql.NullFloat64
	LacAerkSpeed       sql.NullFloat64
	LacAerkPace        sql.NullFloat64
	LacAerkP           sql.NullFloat64
	LacAerkPkg         sql.NullFloat64
	LacAerkAngle       sql.NullFloat64
	LacAerkLac         sql.NullFloat64
	LacAerkAdd1        sql.NullFloat64
	LacAerkAdd2        sql.NullFloat64
	LacAerkAdd3        sql.NullFloat64
	VentAnkVo2mlkgmin  sql.NullFloat64
	VentAnkVo2mlmin    sql.NullFloat64
	VentAnkVo2         sql.NullFloat64
	VentAnkVo2pr       sql.NullFloat64
	VentAnkHr          sql.NullFloat64
	VentAnkSpeed       sql.NullFloat64
	VentAnkPace        sql.NullFloat64
	VentAnkP           sql.NullFloat64
	VentAnkPkg         sql.NullFloat64
	VentAnkAngle       sql.NullFloat64
	VentAnkLac         sql.NullFloat64
	VentAnkAdd1        sql.NullFloat64
	VentAnkAdd2        sql.NullFloat64
	VentAnkAdd3        sql.NullFloat64
	VentAerkVo2mlkgmin sql.NullFloat64
	VentAerkVo2mlmin   sql.NullFloat64
	VentAerkVo2        sql.NullFloat64
	VentAerkVo2pr      sql.NullFloat64
	VentAerkHr         sql.NullFloat64
	VentAerkSpeed      sql.NullFloat64
	VentAerkPace       sql.NullFloat64
	VentAerkP          sql.NullFloat64
	VentAerkPkg        sql.NullFloat64
	VentAerkAngle      sql.NullFloat64
	VentAerkLac        sql.NullFloat64
	VentAerkAdd1       sql.NullFloat64
	VentAerkAdd2       sql.NullFloat64
	VentAerkAdd3       sql.NullFloat64
	CreatedBy          sql.NullInt64
	ModBy              sql.NullInt64
	ModDate            sql.NullTime
	Deleted            sql.NullInt16
	CreatedDate        sql.NullTime
	Modded             sql.NullInt16
}

type Dirtest

type Dirtest struct {
	Iddirtest     int32
	Idmeasurement int32
	Meascols      sql.NullString
	Weightkg      sql.NullFloat64
	Heightcm      sql.NullFloat64
	Bmi           sql.NullFloat64
	FatPr         sql.NullFloat64
	FatP1         sql.NullFloat64
	FatP2         sql.NullFloat64
	FatP3         sql.NullFloat64
	FatP4         sql.NullFloat64
	FatStyle      sql.NullInt32
	FatEquip      sql.NullString
	Fvc           sql.NullFloat64
	Fev1          sql.NullFloat64
	AirPress      sql.NullFloat64
	AirTemp       sql.NullFloat64
	AirHumid      sql.NullFloat64
	Testprotocol  sql.NullString
	AirPressUnit  sql.NullInt32
	Settingslist  sql.NullString
	Lt1X          sql.NullFloat64
	Lt1Y          sql.NullFloat64
	Lt2X          sql.NullFloat64
	Lt2Y          sql.NullFloat64
	Vt1X          sql.NullFloat64
	Vt2X          sql.NullFloat64
	Vt1Y          sql.NullFloat64
	Vt2Y          sql.NullFloat64
	Lt1CalcX      sql.NullFloat64
	Lt1CalcY      sql.NullFloat64
	Lt2CalcX      sql.NullFloat64
	Lt2CalcY      sql.NullFloat64
	Protocolmodel sql.NullInt16
	Testtype      sql.NullInt16
	Protocolxval  sql.NullInt16
	Steptime      sql.NullInt32
	WRest         sql.NullInt16
	CreatedBy     sql.NullInt64
	ModBy         sql.NullInt64
	ModDate       sql.NullTime
	Deleted       sql.NullInt16
	CreatedDate   sql.NullTime
	Modded        sql.NullInt16
	Norawdata     sql.NullInt16
}

type Dirteststep

type Dirteststep struct {
	Iddirteststeps int32
	Idmeasurement  int32
	Stepno         sql.NullInt32
	AnaTime        sql.NullInt32
	Timestop       sql.NullFloat64
	Speed          sql.NullFloat64
	Pace           sql.NullFloat64
	Angle          sql.NullFloat64
	Elev           sql.NullFloat64
	Vo2calc        sql.NullFloat64
	TTot           sql.NullFloat64
	TEx            sql.NullFloat64
	Fico2          sql.NullFloat64
	Fio2           sql.NullFloat64
	Feco2          sql.NullFloat64
	Feo2           sql.NullFloat64
	Vde            sql.NullFloat64
	Vco2           sql.NullFloat64
	Vo2            sql.NullFloat64
	Bf             sql.NullFloat64
	Ve             sql.NullFloat64
	Petco2         sql.NullFloat64
	Peto2          sql.NullFloat64
	Vo2kg          sql.NullFloat64
	Re             sql.NullFloat64
	Hr             sql.NullFloat64
	La             sql.NullFloat64
	Rer            sql.NullFloat64
	VeStpd         sql.NullFloat64
	Veo2           sql.NullFloat64
	Veco2          sql.NullFloat64
	Tv             sql.NullFloat64
	EeAe           sql.NullFloat64
	LaVo2          sql.NullFloat64
	O2pulse        sql.NullFloat64
	VdeTv          sql.NullFloat64
	Va             sql.NullFloat64
	O2sa           sql.NullFloat64
	Rpe            sql.NullFloat64
	BpSys          sql.NullFloat64
	BpDia          sql.NullFloat64
	Own1           sql.NullFloat64
	Own2           sql.NullFloat64
	Own3           sql.NullFloat64
	Own4           sql.NullFloat64
	Own5           sql.NullFloat64
	StepIsRest     sql.NullInt32
	StepIs30max    sql.NullInt32
	StepIs60max    sql.NullInt32
	StepIsRec      sql.NullInt32
	CalcStart      sql.NullInt32
	CalcEnd        sql.NullInt32
	Comments       sql.NullString
	Timestart      sql.NullFloat64
	Duration       sql.NullFloat64
	Eco            sql.NullFloat64
	P              sql.NullFloat64
	Wkg            sql.NullFloat64
	Vo230s         sql.NullFloat64
	Vo2Pr          sql.NullFloat64
	StepIsLast     sql.NullInt32
	Deleted        sql.NullInt16
	CreatedBy      sql.NullInt64
	ModBy          sql.NullInt64
	ModDate        sql.NullTime
	CreatedDate    sql.NullTime
	Modded         sql.NullInt16
	Own6           sql.NullFloat64
	Own7           sql.NullFloat64
	Own8           sql.NullFloat64
	Own9           sql.NullFloat64
	Own10          sql.NullFloat64
	To2            sql.NullFloat64
	Tco2           sql.NullFloat64
}

type InsertDirRawDataParams

type InsertDirRawDataParams struct {
	Iddirrawdata  int32
	Idmeasurement int32
	Rawdata       sql.NullString
	Columndata    sql.NullString
	Info          sql.NullString
	Unitsdata     sql.NullString
	CreatedBy     sql.NullInt64
	ModBy         sql.NullInt64
	ModDate       sql.NullTime
	Deleted       sql.NullInt16
	CreatedDate   sql.NullTime
	Modded        sql.NullInt16
}

type InsertDirReportParams

type InsertDirReportParams struct {
	Iddirreport      int32
	PageInstructions sql.NullString
	Idmeasurement    int32
	TemplateRec      sql.NullInt32
	LibrecName       sql.NullString
	CreatedBy        sql.NullInt64
	ModBy            sql.NullInt64
	ModDate          sql.NullTime
	Deleted          sql.NullInt16
	CreatedDate      sql.NullTime
	Modded           sql.NullInt16
}

type InsertDirResultsParams

type InsertDirResultsParams struct {
	Iddirresults       int32
	Idmeasurement      int32
	MaxVo2mlkgmin      sql.NullFloat64
	MaxVo2mlmin        sql.NullFloat64
	MaxVo2             sql.NullFloat64
	MaxHr              sql.NullFloat64
	MaxSpeed           sql.NullFloat64
	MaxPace            sql.NullFloat64
	MaxP               sql.NullFloat64
	MaxPkg             sql.NullFloat64
	MaxAngle           sql.NullFloat64
	MaxLac             sql.NullFloat64
	MaxAdd1            sql.NullFloat64
	MaxAdd2            sql.NullFloat64
	MaxAdd3            sql.NullFloat64
	LacAnkVo2mlkgmin   sql.NullFloat64
	LacAnkVo2mlmin     sql.NullFloat64
	LacAnkVo2          sql.NullFloat64
	LacAnkVo2pr        sql.NullFloat64
	LacAnkHr           sql.NullFloat64
	LacAnkSpeed        sql.NullFloat64
	LacAnkPace         sql.NullFloat64
	LacAnkP            sql.NullFloat64
	LacAnkPkg          sql.NullFloat64
	LacAnkAngle        sql.NullFloat64
	LacAnkLac          sql.NullFloat64
	LacAnkAdd1         sql.NullFloat64
	LacAnkAdd2         sql.NullFloat64
	LacAnkAdd3         sql.NullFloat64
	LacAerkVo2mlkgmin  sql.NullFloat64
	LacAerkVo2mlmin    sql.NullFloat64
	LacAerkVo2         sql.NullFloat64
	LacAerkVo2pr       sql.NullFloat64
	LacAerkHr          sql.NullFloat64
	LacAerkSpeed       sql.NullFloat64
	LacAerkPace        sql.NullFloat64
	LacAerkP           sql.NullFloat64
	LacAerkPkg         sql.NullFloat64
	LacAerkAngle       sql.NullFloat64
	LacAerkLac         sql.NullFloat64
	LacAerkAdd1        sql.NullFloat64
	LacAerkAdd2        sql.NullFloat64
	LacAerkAdd3        sql.NullFloat64
	VentAnkVo2mlkgmin  sql.NullFloat64
	VentAnkVo2mlmin    sql.NullFloat64
	VentAnkVo2         sql.NullFloat64
	VentAnkVo2pr       sql.NullFloat64
	VentAnkHr          sql.NullFloat64
	VentAnkSpeed       sql.NullFloat64
	VentAnkPace        sql.NullFloat64
	VentAnkP           sql.NullFloat64
	VentAnkPkg         sql.NullFloat64
	VentAnkAngle       sql.NullFloat64
	VentAnkLac         sql.NullFloat64
	VentAnkAdd1        sql.NullFloat64
	VentAnkAdd2        sql.NullFloat64
	VentAnkAdd3        sql.NullFloat64
	VentAerkVo2mlkgmin sql.NullFloat64
	VentAerkVo2mlmin   sql.NullFloat64
	VentAerkVo2        sql.NullFloat64
	VentAerkVo2pr      sql.NullFloat64
	VentAerkHr         sql.NullFloat64
	VentAerkSpeed      sql.NullFloat64
	VentAerkPace       sql.NullFloat64
	VentAerkP          sql.NullFloat64
	VentAerkPkg        sql.NullFloat64
	VentAerkAngle      sql.NullFloat64
	VentAerkLac        sql.NullFloat64
	VentAerkAdd1       sql.NullFloat64
	VentAerkAdd2       sql.NullFloat64
	VentAerkAdd3       sql.NullFloat64
	CreatedBy          sql.NullInt64
	ModBy              sql.NullInt64
	ModDate            sql.NullTime
	Deleted            sql.NullInt16
	CreatedDate        sql.NullTime
	Modded             sql.NullInt16
}

type InsertDirTestParams

type InsertDirTestParams struct {
	Iddirtest     int32
	Idmeasurement int32
	Meascols      sql.NullString
	Weightkg      sql.NullFloat64
	Heightcm      sql.NullFloat64
	Bmi           sql.NullFloat64
	FatPr         sql.NullFloat64
	FatP1         sql.NullFloat64
	FatP2         sql.NullFloat64
	FatP3         sql.NullFloat64
	FatP4         sql.NullFloat64
	FatStyle      sql.NullInt32
	FatEquip      sql.NullString
	Fvc           sql.NullFloat64
	Fev1          sql.NullFloat64
	AirPress      sql.NullFloat64
	AirTemp       sql.NullFloat64
	AirHumid      sql.NullFloat64
	Testprotocol  sql.NullString
	AirPressUnit  sql.NullInt32
	Settingslist  sql.NullString
	Lt1X          sql.NullFloat64
	Lt1Y          sql.NullFloat64
	Lt2X          sql.NullFloat64
	Lt2Y          sql.NullFloat64
	Vt1X          sql.NullFloat64
	Vt2X          sql.NullFloat64
	Vt1Y          sql.NullFloat64
	Vt2Y          sql.NullFloat64
	Lt1CalcX      sql.NullFloat64
	Lt1CalcY      sql.NullFloat64
	Lt2CalcX      sql.NullFloat64
	Lt2CalcY      sql.NullFloat64
	Protocolmodel sql.NullInt16
	Testtype      sql.NullInt16
	Protocolxval  sql.NullInt16
	Steptime      sql.NullInt32
	WRest         sql.NullInt16
	CreatedBy     sql.NullInt64
	ModBy         sql.NullInt64
	ModDate       sql.NullTime
	Deleted       sql.NullInt16
	CreatedDate   sql.NullTime
	Modded        sql.NullInt16
	Norawdata     sql.NullInt16
}

type InsertDirTestStepParams

type InsertDirTestStepParams struct {
	Iddirteststeps int32
	Idmeasurement  int32
	Stepno         sql.NullInt32
	AnaTime        sql.NullInt32
	Timestop       sql.NullFloat64
	Speed          sql.NullFloat64
	Pace           sql.NullFloat64
	Angle          sql.NullFloat64
	Elev           sql.NullFloat64
	Vo2calc        sql.NullFloat64
	TTot           sql.NullFloat64
	TEx            sql.NullFloat64
	Fico2          sql.NullFloat64
	Fio2           sql.NullFloat64
	Feco2          sql.NullFloat64
	Feo2           sql.NullFloat64
	Vde            sql.NullFloat64
	Vco2           sql.NullFloat64
	Vo2            sql.NullFloat64
	Bf             sql.NullFloat64
	Ve             sql.NullFloat64
	Petco2         sql.NullFloat64
	Peto2          sql.NullFloat64
	Vo2kg          sql.NullFloat64
	Re             sql.NullFloat64
	Hr             sql.NullFloat64
	La             sql.NullFloat64
	Rer            sql.NullFloat64
	VeStpd         sql.NullFloat64
	Veo2           sql.NullFloat64
	Veco2          sql.NullFloat64
	Tv             sql.NullFloat64
	EeAe           sql.NullFloat64
	LaVo2          sql.NullFloat64
	O2pulse        sql.NullFloat64
	VdeTv          sql.NullFloat64
	Va             sql.NullFloat64
	O2sa           sql.NullFloat64
	Rpe            sql.NullFloat64
	BpSys          sql.NullFloat64
	BpDia          sql.NullFloat64
	Own1           sql.NullFloat64
	Own2           sql.NullFloat64
	Own3           sql.NullFloat64
	Own4           sql.NullFloat64
	Own5           sql.NullFloat64
	StepIsRest     sql.NullInt32
	StepIs30max    sql.NullInt32
	StepIs60max    sql.NullInt32
	StepIsRec      sql.NullInt32
	CalcStart      sql.NullInt32
	CalcEnd        sql.NullInt32
	Comments       sql.NullString
	Timestart      sql.NullFloat64
	Duration       sql.NullFloat64
	Eco            sql.NullFloat64
	P              sql.NullFloat64
	Wkg            sql.NullFloat64
	Vo230s         sql.NullFloat64
	Vo2Pr          sql.NullFloat64
	StepIsLast     sql.NullInt32
	Deleted        sql.NullInt16
	CreatedBy      sql.NullInt64
	ModBy          sql.NullInt64
	ModDate        sql.NullTime
	CreatedDate    sql.NullTime
	Modded         sql.NullInt16
	Own6           sql.NullFloat64
	Own7           sql.NullFloat64
	Own8           sql.NullFloat64
	Own9           sql.NullFloat64
	Own10          sql.NullFloat64
	To2            sql.NullFloat64
	Tco2           sql.NullFloat64
}

type InsertMeasurementParams

type InsertMeasurementParams struct {
	Idmeasurement  int32
	Measname       sql.NullString
	Idcustomer     int32
	Tablename      sql.NullString
	Idpatterndef   sql.NullString
	DoYear         sql.NullInt16
	DoMonth        sql.NullInt16
	DoDay          sql.NullInt16
	DoHour         sql.NullInt16
	DoMin          sql.NullInt16
	Sessionno      sql.NullInt32
	Info           sql.NullString
	Measurements   sql.NullString
	Groupnotes     sql.NullString
	Cbcharts       sql.NullString
	Cbcomments     sql.NullString
	CreatedBy      sql.NullInt64
	ModBy          sql.NullInt64
	ModDate        sql.NullTime
	Deleted        sql.NullInt16
	CreatedDate    sql.NullTime
	Modded         sql.NullInt16
	TestLocation   sql.NullString
	Keywords       sql.NullString
	TesterName     sql.NullString
	ModderName     sql.NullString
	Meastype       sql.NullInt32
	SentToSprintai sql.NullTime
}

type MeasurementList

type MeasurementList struct {
	Idmeasurement  int32
	Measname       sql.NullString
	Idcustomer     int32
	Tablename      sql.NullString
	Idpatterndef   sql.NullString
	DoYear         sql.NullInt16
	DoMonth        sql.NullInt16
	DoDay          sql.NullInt16
	DoHour         sql.NullInt16
	DoMin          sql.NullInt16
	Sessionno      sql.NullInt32
	Info           sql.NullString
	Measurements   sql.NullString
	Groupnotes     sql.NullString
	Cbcharts       sql.NullString
	Cbcomments     sql.NullString
	CreatedBy      sql.NullInt64
	ModBy          sql.NullInt64
	ModDate        sql.NullTime
	Deleted        sql.NullInt16
	CreatedDate    sql.NullTime
	Modded         sql.NullInt16
	TestLocation   sql.NullString
	Keywords       sql.NullString
	TesterName     sql.NullString
	ModderName     sql.NullString
	Meastype       sql.NullInt32
	SentToSprintai sql.NullTime
}

type Queries

type Queries struct {
	// contains filtered or unexported fields
}

func New

func New(db DBTX) *Queries

func Prepare

func Prepare(ctx context.Context, db DBTX) (*Queries, error)

func (*Queries) Close

func (q *Queries) Close() error

func (*Queries) DeleteCustomerBySporttiID

func (q *Queries) DeleteCustomerBySporttiID(ctx context.Context, sporttiID sql.NullString) (DeleteCustomerBySporttiIDRow, error)

func (*Queries) GetCustomerByID

func (q *Queries) GetCustomerByID(ctx context.Context, idcustomer int32) (Customer, error)

func (*Queries) GetCustomerIDBySporttiID

func (q *Queries) GetCustomerIDBySporttiID(ctx context.Context, sporttiID sql.NullString) (int32, error)

func (*Queries) GetDirRawDataByMeasurementIDs

func (q *Queries) GetDirRawDataByMeasurementIDs(ctx context.Context, dollar_1 []int32) ([]Dirrawdatum, error)

func (*Queries) GetDirReportsByMeasurementIDs

func (q *Queries) GetDirReportsByMeasurementIDs(ctx context.Context, dollar_1 []int32) ([]Dirreport, error)

func (*Queries) GetDirResultsByMeasurementIDs

func (q *Queries) GetDirResultsByMeasurementIDs(ctx context.Context, dollar_1 []int32) ([]Dirresult, error)

func (*Queries) GetDirTestStepsByMeasurementIDs

func (q *Queries) GetDirTestStepsByMeasurementIDs(ctx context.Context, dollar_1 []int32) ([]Dirteststep, error)

func (*Queries) GetDirTestsByMeasurementIDs

func (q *Queries) GetDirTestsByMeasurementIDs(ctx context.Context, dollar_1 []int32) ([]Dirtest, error)

func (*Queries) GetMeasurementsByCustomer

func (q *Queries) GetMeasurementsByCustomer(ctx context.Context, idcustomer int32) ([]MeasurementList, error)

func (*Queries) InsertDirRawData

func (q *Queries) InsertDirRawData(ctx context.Context, arg InsertDirRawDataParams) error

func (*Queries) InsertDirReport

func (q *Queries) InsertDirReport(ctx context.Context, arg InsertDirReportParams) error

func (*Queries) InsertDirResults

func (q *Queries) InsertDirResults(ctx context.Context, arg InsertDirResultsParams) error

func (*Queries) InsertDirTest

func (q *Queries) InsertDirTest(ctx context.Context, arg InsertDirTestParams) error

func (*Queries) InsertDirTestStep

func (q *Queries) InsertDirTestStep(ctx context.Context, arg InsertDirTestStepParams) error

func (*Queries) InsertMeasurement

func (q *Queries) InsertMeasurement(ctx context.Context, arg InsertMeasurementParams) error

func (*Queries) UpsertCustomer

func (q *Queries) UpsertCustomer(ctx context.Context, arg UpsertCustomerParams) error

Prefer updating customer metadata if it already exists.

func (*Queries) WithTx

func (q *Queries) WithTx(tx *sql.Tx) *Queries

type UpsertCustomerParams

type UpsertCustomerParams struct {
	Idcustomer         int32
	Firstname          string
	Lastname           string
	Idgroups           sql.NullInt32
	Dob                sql.NullTime
	Sex                sql.NullInt32
	DobYear            sql.NullInt32
	DobMonth           sql.NullInt32
	DobDay             sql.NullInt32
	PidNumber          sql.NullString
	Company            sql.NullString
	Occupation         sql.NullString
	Education          sql.NullString
	Address            sql.NullString
	PhoneHome          sql.NullString
	PhoneWork          sql.NullString
	PhoneMobile        sql.NullString
	Faxno              sql.NullString
	Email              sql.NullString
	Username           sql.NullString
	Password           sql.NullString
	Readonly           sql.NullInt32
	Warnings           sql.NullInt32
	AllowToSave        sql.NullInt32
	AllowToCloud       sql.NullInt32
	Flag2              sql.NullInt32
	Idsport            sql.NullInt32
	Medication         sql.NullString
	Addinfo            sql.NullString
	TeamName           sql.NullString
	Add1               sql.NullInt32
	Athlete            sql.NullInt32
	Add10              sql.NullString
	Add20              sql.NullString
	Updatemode         sql.NullInt32
	WeightKg           sql.NullFloat64
	HeightCm           sql.NullFloat64
	DateModified       sql.NullFloat64
	RecomTestlevel     sql.NullInt32
	CreatedBy          sql.NullInt64
	ModBy              sql.NullInt64
	ModDate            sql.NullTime
	Deleted            sql.NullInt16
	CreatedDate        sql.NullTime
	Modded             sql.NullInt16
	AllowAnonymousData sql.NullString
	Locked             sql.NullInt16
	AllowToSprintai    sql.NullInt32
	TosprintaiFrom     sql.NullTime
	StatSent           sql.NullTime
	SporttiID          sql.NullString
}

Jump to

Keyboard shortcuts

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