types

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: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TOType

type TOType struct {
	api.APIInfoImpl `json:"-"`
	tc.TypeNullable
}

TOType is a needed type alias to define functions on.

func (*TOType) AllowMutation

func (tp *TOType) AllowMutation(forCreation bool) bool

func (*TOType) Create

func (tp *TOType) Create() (error, error, int)

func (*TOType) Delete

func (tp *TOType) Delete() (error, error, int)

func (*TOType) DeleteQuery

func (v *TOType) DeleteQuery() string

func (*TOType) GetAuditName

func (typ *TOType) GetAuditName() string

func (TOType) GetKeyFieldsInfo

func (typ TOType) GetKeyFieldsInfo() []api.KeyFieldInfo

func (TOType) GetKeys

func (typ TOType) GetKeys() (map[string]interface{}, bool)

Implementation of the Identifier, Validator interface functions

func (*TOType) GetLastUpdated

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

func (*TOType) GetType

func (typ *TOType) GetType() string

func (*TOType) InsertQuery

func (v *TOType) InsertQuery() string

func (*TOType) NewReadObj

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

func (*TOType) ParamColumns

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

func (*TOType) Read

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

func (*TOType) SelectMaxLastUpdatedQuery

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

func (*TOType) SelectQuery

func (v *TOType) SelectQuery() string

func (*TOType) SetKeys

func (typ *TOType) SetKeys(keys map[string]interface{})

func (*TOType) SetLastUpdated

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

func (*TOType) Update

func (tp *TOType) Update(h http.Header) (error, error, int)

func (*TOType) UpdateQuery

func (v *TOType) UpdateQuery() string

func (*TOType) Validate

func (typ *TOType) Validate() error

Jump to

Keyboard shortcuts

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