Documentation ¶
Index ¶
- type TORegion
- func (rg *TORegion) Create() (error, error, int)
- func (rg *TORegion) Delete() (error, error, int)
- func (region TORegion) DeleteKeyOptions() map[string]dbhelpers.WhereColumnInfo
- func (v *TORegion) DeleteQuery() string
- func (v *TORegion) DeleteQueryBase() string
- func (region *TORegion) GetAuditName() string
- func (region TORegion) GetKeyFieldsInfo() []api.KeyFieldInfo
- func (region TORegion) GetKeys() (map[string]interface{}, bool)
- func (v *TORegion) GetLastUpdated() (*time.Time, bool, error)
- func (region *TORegion) GetType() string
- func (v *TORegion) InsertQuery() string
- func (v *TORegion) NewReadObj() interface{}
- func (rg *TORegion) OptionsDelete() (error, error, int)
- func (v *TORegion) ParamColumns() map[string]dbhelpers.WhereColumnInfo
- func (rg *TORegion) Read(h http.Header, useIMS bool) ([]interface{}, error, error, int, *time.Time)
- func (v *TORegion) SelectMaxLastUpdatedQuery(where, orderBy, pagination, tableName string) string
- func (v *TORegion) SelectQuery() string
- func (region *TORegion) SetKeys(keys map[string]interface{})
- func (v *TORegion) SetLastUpdated(t tc.TimeNoMod)
- func (rg *TORegion) Update(h http.Header) (error, error, int)
- func (v *TORegion) UpdateQuery() string
- func (region *TORegion) Validate() (error, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TORegion ¶
type TORegion struct { api.APIInfoImpl `json:"-"` tc.Region }
we need a type alias to define functions on
func (TORegion) DeleteKeyOptions ¶
func (region TORegion) DeleteKeyOptions() map[string]dbhelpers.WhereColumnInfo
DeleteKeyOptions returns a map containing the different fields a resource can be deleted by.
func (*TORegion) DeleteQuery ¶
DeleteQuery returns a query, including a WHERE clause.
func (*TORegion) DeleteQueryBase ¶
DeleteQueryBase returns a query with no WHERE clause.
func (*TORegion) GetAuditName ¶
func (TORegion) GetKeyFieldsInfo ¶
func (region TORegion) GetKeyFieldsInfo() []api.KeyFieldInfo
func (*TORegion) InsertQuery ¶
func (*TORegion) NewReadObj ¶
func (v *TORegion) NewReadObj() interface{}
func (*TORegion) OptionsDelete ¶
OptionsDelete deletes a resource identified either as a route parameter or as a query string parameter.
func (*TORegion) ParamColumns ¶
func (v *TORegion) ParamColumns() map[string]dbhelpers.WhereColumnInfo
func (*TORegion) SelectMaxLastUpdatedQuery ¶
func (*TORegion) SelectQuery ¶
func (*TORegion) SetLastUpdated ¶
func (v *TORegion) SetLastUpdated(t tc.TimeNoMod)
func (*TORegion) UpdateQuery ¶
Click to show internal directories.
Click to hide internal directories.