division

package
v6.0.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 1 more Imports: 10 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TODivision

type TODivision struct {
	api.APIInfoImpl `json:"-"`
	tc.DivisionNullable
}

we need a type alias to define functions on

func (*TODivision) Create

func (dv *TODivision) Create() (error, error, int)

func (*TODivision) Delete

func (dv *TODivision) Delete() (error, error, int)

func (*TODivision) DeleteQuery

func (v *TODivision) DeleteQuery() string

func (TODivision) GetAuditName

func (division TODivision) GetAuditName() string

func (TODivision) GetKeyFieldsInfo

func (division TODivision) GetKeyFieldsInfo() []api.KeyFieldInfo

func (TODivision) GetKeys

func (division TODivision) GetKeys() (map[string]interface{}, bool)

Implementation of the Identifier, Validator interface functions

func (*TODivision) GetLastUpdated

func (v *TODivision) GetLastUpdated() (*time.Time, bool, error)

func (TODivision) GetType

func (division TODivision) GetType() string

func (*TODivision) InsertQuery

func (v *TODivision) InsertQuery() string

func (*TODivision) NewReadObj

func (v *TODivision) NewReadObj() interface{}

func (*TODivision) ParamColumns

func (v *TODivision) ParamColumns() map[string]dbhelpers.WhereColumnInfo

func (*TODivision) Read

func (dv *TODivision) Read(h http.Header, useIMS bool) ([]interface{}, error, error, int, *time.Time)

func (*TODivision) SelectMaxLastUpdatedQuery

func (v *TODivision) SelectMaxLastUpdatedQuery(where, orderBy, pagination, tableName string) string

func (*TODivision) SelectQuery

func (v *TODivision) SelectQuery() string

func (*TODivision) SetKeys

func (division *TODivision) SetKeys(keys map[string]interface{})

func (*TODivision) SetLastUpdated

func (v *TODivision) SetLastUpdated(t tc.TimeNoMod)

func (*TODivision) Update

func (dv *TODivision) Update(h http.Header) (error, error, int)

func (*TODivision) UpdateQuery

func (v *TODivision) UpdateQuery() string

func (TODivision) Validate

func (division TODivision) Validate() error

Jump to

Keyboard shortcuts

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