Documentation ¶
Index ¶
- type TOType
- func (tp *TOType) AllowMutation(forCreation bool) bool
- func (tp *TOType) Create() (error, error, int)
- func (tp *TOType) Delete() (error, error, int)
- func (v *TOType) DeleteQuery() string
- func (typ *TOType) GetAuditName() string
- func (typ TOType) GetKeyFieldsInfo() []api.KeyFieldInfo
- func (typ TOType) GetKeys() (map[string]interface{}, bool)
- func (v *TOType) GetLastUpdated() (*time.Time, bool, error)
- func (typ *TOType) GetType() string
- func (v *TOType) InsertQuery() string
- func (v *TOType) NewReadObj() interface{}
- func (v *TOType) ParamColumns() map[string]dbhelpers.WhereColumnInfo
- func (tp *TOType) Read(h http.Header, useIMS bool) ([]interface{}, error, error, int, *time.Time)
- func (v *TOType) SelectMaxLastUpdatedQuery(where string, orderBy string, pagination string, tableName string) string
- func (v *TOType) SelectQuery() string
- func (typ *TOType) SetKeys(keys map[string]interface{})
- func (v *TOType) SetLastUpdated(t tc.TimeNoMod)
- func (tp *TOType) Update(h http.Header) (error, error, int)
- func (v *TOType) UpdateQuery() string
- func (typ *TOType) Validate() error
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 (*TOType) DeleteQuery ¶
func (*TOType) GetAuditName ¶
func (TOType) GetKeyFieldsInfo ¶
func (typ TOType) GetKeyFieldsInfo() []api.KeyFieldInfo
func (*TOType) InsertQuery ¶
func (*TOType) NewReadObj ¶
func (v *TOType) NewReadObj() interface{}
func (*TOType) ParamColumns ¶
func (v *TOType) ParamColumns() map[string]dbhelpers.WhereColumnInfo
func (*TOType) SelectMaxLastUpdatedQuery ¶
func (*TOType) SelectQuery ¶
func (*TOType) SetLastUpdated ¶
func (v *TOType) SetLastUpdated(t tc.TimeNoMod)
func (*TOType) UpdateQuery ¶
Click to show internal directories.
Click to hide internal directories.