Documentation ¶
Index ¶
- Constants
- Variables
- func AddOkakunHook(hookPoint boil.HookPoint, okakunHook OkakunHook)
- func AddOkprofileHook(hookPoint boil.HookPoint, okprofileHook OkprofileHook)
- func AddOkprojectHook(hookPoint boil.HookPoint, okprojectHook OkprojectHook)
- func AddOkprojecttaskHook(hookPoint boil.HookPoint, okprojecttaskHook OkprojecttaskHook)
- func AddOktaskHook(hookPoint boil.HookPoint, oktaskHook OktaskHook)
- func NewQuery(exec boil.Executor, mods ...qm.QueryMod) *queries.Query
- func NewQueryG(mods ...qm.QueryMod) *queries.Query
- func NewResponse(t time.Time, statuscode int, message string, data interface{}, ...) gin.H
- func OkakunExists(exec boil.Executor, idAkun int) (bool, error)
- func OkakunExistsG(idAkun int) (bool, error)
- func OkakunExistsGP(idAkun int) bool
- func OkakunExistsP(exec boil.Executor, idAkun int) bool
- func Okakuns(exec boil.Executor, mods ...qm.QueryMod) okakunQuery
- func OkakunsG(mods ...qm.QueryMod) okakunQuery
- func OkprofileExists(exec boil.Executor, idProfile int) (bool, error)
- func OkprofileExistsG(idProfile int) (bool, error)
- func OkprofileExistsGP(idProfile int) bool
- func OkprofileExistsP(exec boil.Executor, idProfile int) bool
- func Okprofiles(exec boil.Executor, mods ...qm.QueryMod) okprofileQuery
- func OkprofilesG(mods ...qm.QueryMod) okprofileQuery
- func OkprojectExists(exec boil.Executor, idProject int) (bool, error)
- func OkprojectExistsG(idProject int) (bool, error)
- func OkprojectExistsGP(idProject int) bool
- func OkprojectExistsP(exec boil.Executor, idProject int) bool
- func Okprojects(exec boil.Executor, mods ...qm.QueryMod) okprojectQuery
- func OkprojectsG(mods ...qm.QueryMod) okprojectQuery
- func OkprojecttaskExists(exec boil.Executor, idPTask int) (bool, error)
- func OkprojecttaskExistsG(idPTask int) (bool, error)
- func OkprojecttaskExistsGP(idPTask int) bool
- func OkprojecttaskExistsP(exec boil.Executor, idPTask int) bool
- func Okprojecttasks(exec boil.Executor, mods ...qm.QueryMod) okprojecttaskQuery
- func OkprojecttasksG(mods ...qm.QueryMod) okprojecttaskQuery
- func OktaskExists(exec boil.Executor, idTask int) (bool, error)
- func OktaskExistsG(idTask int) (bool, error)
- func OktaskExistsGP(idTask int) bool
- func OktaskExistsP(exec boil.Executor, idTask int) bool
- func Oktasks(exec boil.Executor, mods ...qm.QueryMod) oktaskQuery
- func OktasksG(mods ...qm.QueryMod) oktaskQuery
- type ClaimsData
- type ErrorModel
- type JwtData
- type LoginResponse
- type M
- type Okakun
- func (o *Okakun) AddAkunOkprofiles(exec boil.Executor, insert bool, related ...*Okprofile) error
- func (o *Okakun) AddAkunOkprofilesG(insert bool, related ...*Okprofile) error
- func (o *Okakun) AddAkunOkprofilesGP(insert bool, related ...*Okprofile)
- func (o *Okakun) AddAkunOkprofilesP(exec boil.Executor, insert bool, related ...*Okprofile)
- func (o *Okakun) AkunOkprofiles(exec boil.Executor, mods ...qm.QueryMod) okprofileQuery
- func (o *Okakun) AkunOkprofilesG(mods ...qm.QueryMod) okprofileQuery
- func (o *Okakun) Delete(exec boil.Executor) error
- func (o *Okakun) DeleteG() error
- func (o *Okakun) DeleteGP()
- func (o *Okakun) DeleteP(exec boil.Executor)
- func (o *Okakun) Insert(exec boil.Executor, whitelist ...string) error
- func (o *Okakun) InsertG(whitelist ...string) error
- func (o *Okakun) InsertGP(whitelist ...string)
- func (o *Okakun) InsertP(exec boil.Executor, whitelist ...string)
- func (o *Okakun) Reload(exec boil.Executor) error
- func (o *Okakun) ReloadG() error
- func (o *Okakun) ReloadGP()
- func (o *Okakun) ReloadP(exec boil.Executor)
- func (o *Okakun) Update(exec boil.Executor, whitelist ...string) error
- func (o *Okakun) UpdateG(whitelist ...string) error
- func (o *Okakun) UpdateGP(whitelist ...string)
- func (o *Okakun) UpdateP(exec boil.Executor, whitelist ...string)
- func (o *Okakun) Upsert(exec boil.Executor, updateColumns []string, whitelist ...string) error
- func (o *Okakun) UpsertG(updateColumns []string, whitelist ...string) error
- func (o *Okakun) UpsertGP(updateColumns []string, whitelist ...string)
- func (o *Okakun) UpsertP(exec boil.Executor, updateColumns []string, whitelist ...string)
- type OkakunHook
- type OkakunSlice
- func (o OkakunSlice) DeleteAll(exec boil.Executor) error
- func (o OkakunSlice) DeleteAllG() error
- func (o OkakunSlice) DeleteAllGP()
- func (o OkakunSlice) DeleteAllP(exec boil.Executor)
- func (o *OkakunSlice) ReloadAll(exec boil.Executor) error
- func (o *OkakunSlice) ReloadAllG() error
- func (o *OkakunSlice) ReloadAllGP()
- func (o *OkakunSlice) ReloadAllP(exec boil.Executor)
- func (o OkakunSlice) UpdateAll(exec boil.Executor, cols M) error
- func (o OkakunSlice) UpdateAllG(cols M) error
- func (o OkakunSlice) UpdateAllGP(cols M)
- func (o OkakunSlice) UpdateAllP(exec boil.Executor, cols M)
- type Okprofile
- func FindOkprofile(exec boil.Executor, idProfile int, selectCols ...string) (*Okprofile, error)
- func FindOkprofileG(idProfile int, selectCols ...string) (*Okprofile, error)
- func FindOkprofileGP(idProfile int, selectCols ...string) *Okprofile
- func FindOkprofileP(exec boil.Executor, idProfile int, selectCols ...string) *Okprofile
- func (o *Okprofile) AddAssignedtoOkprojecttasks(exec boil.Executor, insert bool, related ...*Okprojecttask) error
- func (o *Okprofile) AddAssignedtoOkprojecttasksG(insert bool, related ...*Okprojecttask) error
- func (o *Okprofile) AddAssignedtoOkprojecttasksGP(insert bool, related ...*Okprojecttask)
- func (o *Okprofile) AddAssignedtoOkprojecttasksP(exec boil.Executor, insert bool, related ...*Okprojecttask)
- func (o *Okprofile) AddAssignerOkprojecttasks(exec boil.Executor, insert bool, related ...*Okprojecttask) error
- func (o *Okprofile) AddAssignerOkprojecttasksG(insert bool, related ...*Okprojecttask) error
- func (o *Okprofile) AddAssignerOkprojecttasksGP(insert bool, related ...*Okprojecttask)
- func (o *Okprofile) AddAssignerOkprojecttasksP(exec boil.Executor, insert bool, related ...*Okprojecttask)
- func (o *Okprofile) Akun(exec boil.Executor, mods ...qm.QueryMod) okakunQuery
- func (o *Okprofile) AkunG(mods ...qm.QueryMod) okakunQuery
- func (o *Okprofile) AssignedtoOkprojecttasks(exec boil.Executor, mods ...qm.QueryMod) okprojecttaskQuery
- func (o *Okprofile) AssignedtoOkprojecttasksG(mods ...qm.QueryMod) okprojecttaskQuery
- func (o *Okprofile) AssignerOkprojecttasks(exec boil.Executor, mods ...qm.QueryMod) okprojecttaskQuery
- func (o *Okprofile) AssignerOkprojecttasksG(mods ...qm.QueryMod) okprojecttaskQuery
- func (o *Okprofile) Delete(exec boil.Executor) error
- func (o *Okprofile) DeleteG() error
- func (o *Okprofile) DeleteGP()
- func (o *Okprofile) DeleteP(exec boil.Executor)
- func (o *Okprofile) Insert(exec boil.Executor, whitelist ...string) error
- func (o *Okprofile) InsertG(whitelist ...string) error
- func (o *Okprofile) InsertGP(whitelist ...string)
- func (o *Okprofile) InsertP(exec boil.Executor, whitelist ...string)
- func (o *Okprofile) Reload(exec boil.Executor) error
- func (o *Okprofile) ReloadG() error
- func (o *Okprofile) ReloadGP()
- func (o *Okprofile) ReloadP(exec boil.Executor)
- func (o *Okprofile) SetAkun(exec boil.Executor, insert bool, related *Okakun) error
- func (o *Okprofile) SetAkunG(insert bool, related *Okakun) error
- func (o *Okprofile) SetAkunGP(insert bool, related *Okakun)
- func (o *Okprofile) SetAkunP(exec boil.Executor, insert bool, related *Okakun)
- func (o *Okprofile) Update(exec boil.Executor, whitelist ...string) error
- func (o *Okprofile) UpdateG(whitelist ...string) error
- func (o *Okprofile) UpdateGP(whitelist ...string)
- func (o *Okprofile) UpdateP(exec boil.Executor, whitelist ...string)
- func (o *Okprofile) Upsert(exec boil.Executor, updateColumns []string, whitelist ...string) error
- func (o *Okprofile) UpsertG(updateColumns []string, whitelist ...string) error
- func (o *Okprofile) UpsertGP(updateColumns []string, whitelist ...string)
- func (o *Okprofile) UpsertP(exec boil.Executor, updateColumns []string, whitelist ...string)
- type OkprofileHook
- type OkprofileSlice
- func (o OkprofileSlice) DeleteAll(exec boil.Executor) error
- func (o OkprofileSlice) DeleteAllG() error
- func (o OkprofileSlice) DeleteAllGP()
- func (o OkprofileSlice) DeleteAllP(exec boil.Executor)
- func (o *OkprofileSlice) ReloadAll(exec boil.Executor) error
- func (o *OkprofileSlice) ReloadAllG() error
- func (o *OkprofileSlice) ReloadAllGP()
- func (o *OkprofileSlice) ReloadAllP(exec boil.Executor)
- func (o OkprofileSlice) UpdateAll(exec boil.Executor, cols M) error
- func (o OkprofileSlice) UpdateAllG(cols M) error
- func (o OkprofileSlice) UpdateAllGP(cols M)
- func (o OkprofileSlice) UpdateAllP(exec boil.Executor, cols M)
- type Okproject
- func FindOkproject(exec boil.Executor, idProject int, selectCols ...string) (*Okproject, error)
- func FindOkprojectG(idProject int, selectCols ...string) (*Okproject, error)
- func FindOkprojectGP(idProject int, selectCols ...string) *Okproject
- func FindOkprojectP(exec boil.Executor, idProject int, selectCols ...string) *Okproject
- func (o *Okproject) AddProjectOkprojecttasks(exec boil.Executor, insert bool, related ...*Okprojecttask) error
- func (o *Okproject) AddProjectOkprojecttasksG(insert bool, related ...*Okprojecttask) error
- func (o *Okproject) AddProjectOkprojecttasksGP(insert bool, related ...*Okprojecttask)
- func (o *Okproject) AddProjectOkprojecttasksP(exec boil.Executor, insert bool, related ...*Okprojecttask)
- func (o *Okproject) Delete(exec boil.Executor) error
- func (o *Okproject) DeleteG() error
- func (o *Okproject) DeleteGP()
- func (o *Okproject) DeleteP(exec boil.Executor)
- func (o *Okproject) Insert(exec boil.Executor, whitelist ...string) error
- func (o *Okproject) InsertG(whitelist ...string) error
- func (o *Okproject) InsertGP(whitelist ...string)
- func (o *Okproject) InsertP(exec boil.Executor, whitelist ...string)
- func (o *Okproject) ProjectOkprojecttasks(exec boil.Executor, mods ...qm.QueryMod) okprojecttaskQuery
- func (o *Okproject) ProjectOkprojecttasksG(mods ...qm.QueryMod) okprojecttaskQuery
- func (o *Okproject) Reload(exec boil.Executor) error
- func (o *Okproject) ReloadG() error
- func (o *Okproject) ReloadGP()
- func (o *Okproject) ReloadP(exec boil.Executor)
- func (o *Okproject) Update(exec boil.Executor, whitelist ...string) error
- func (o *Okproject) UpdateG(whitelist ...string) error
- func (o *Okproject) UpdateGP(whitelist ...string)
- func (o *Okproject) UpdateP(exec boil.Executor, whitelist ...string)
- func (o *Okproject) Upsert(exec boil.Executor, updateColumns []string, whitelist ...string) error
- func (o *Okproject) UpsertG(updateColumns []string, whitelist ...string) error
- func (o *Okproject) UpsertGP(updateColumns []string, whitelist ...string)
- func (o *Okproject) UpsertP(exec boil.Executor, updateColumns []string, whitelist ...string)
- type OkprojectHook
- type OkprojectSlice
- func (o OkprojectSlice) DeleteAll(exec boil.Executor) error
- func (o OkprojectSlice) DeleteAllG() error
- func (o OkprojectSlice) DeleteAllGP()
- func (o OkprojectSlice) DeleteAllP(exec boil.Executor)
- func (o *OkprojectSlice) ReloadAll(exec boil.Executor) error
- func (o *OkprojectSlice) ReloadAllG() error
- func (o *OkprojectSlice) ReloadAllGP()
- func (o *OkprojectSlice) ReloadAllP(exec boil.Executor)
- func (o OkprojectSlice) UpdateAll(exec boil.Executor, cols M) error
- func (o OkprojectSlice) UpdateAllG(cols M) error
- func (o OkprojectSlice) UpdateAllGP(cols M)
- func (o OkprojectSlice) UpdateAllP(exec boil.Executor, cols M)
- type Okprojecttask
- func FindOkprojecttask(exec boil.Executor, idPTask int, selectCols ...string) (*Okprojecttask, error)
- func FindOkprojecttaskG(idPTask int, selectCols ...string) (*Okprojecttask, error)
- func FindOkprojecttaskGP(idPTask int, selectCols ...string) *Okprojecttask
- func FindOkprojecttaskP(exec boil.Executor, idPTask int, selectCols ...string) *Okprojecttask
- func (o *Okprojecttask) Assignedto(exec boil.Executor, mods ...qm.QueryMod) okprofileQuery
- func (o *Okprojecttask) AssignedtoG(mods ...qm.QueryMod) okprofileQuery
- func (o *Okprojecttask) Assigner(exec boil.Executor, mods ...qm.QueryMod) okprofileQuery
- func (o *Okprojecttask) AssignerG(mods ...qm.QueryMod) okprofileQuery
- func (o *Okprojecttask) Delete(exec boil.Executor) error
- func (o *Okprojecttask) DeleteG() error
- func (o *Okprojecttask) DeleteGP()
- func (o *Okprojecttask) DeleteP(exec boil.Executor)
- func (o *Okprojecttask) Insert(exec boil.Executor, whitelist ...string) error
- func (o *Okprojecttask) InsertG(whitelist ...string) error
- func (o *Okprojecttask) InsertGP(whitelist ...string)
- func (o *Okprojecttask) InsertP(exec boil.Executor, whitelist ...string)
- func (o *Okprojecttask) Project(exec boil.Executor, mods ...qm.QueryMod) okprojectQuery
- func (o *Okprojecttask) ProjectG(mods ...qm.QueryMod) okprojectQuery
- func (o *Okprojecttask) Reload(exec boil.Executor) error
- func (o *Okprojecttask) ReloadG() error
- func (o *Okprojecttask) ReloadGP()
- func (o *Okprojecttask) ReloadP(exec boil.Executor)
- func (o *Okprojecttask) SetAssignedto(exec boil.Executor, insert bool, related *Okprofile) error
- func (o *Okprojecttask) SetAssignedtoG(insert bool, related *Okprofile) error
- func (o *Okprojecttask) SetAssignedtoGP(insert bool, related *Okprofile)
- func (o *Okprojecttask) SetAssignedtoP(exec boil.Executor, insert bool, related *Okprofile)
- func (o *Okprojecttask) SetAssigner(exec boil.Executor, insert bool, related *Okprofile) error
- func (o *Okprojecttask) SetAssignerG(insert bool, related *Okprofile) error
- func (o *Okprojecttask) SetAssignerGP(insert bool, related *Okprofile)
- func (o *Okprojecttask) SetAssignerP(exec boil.Executor, insert bool, related *Okprofile)
- func (o *Okprojecttask) SetProject(exec boil.Executor, insert bool, related *Okproject) error
- func (o *Okprojecttask) SetProjectG(insert bool, related *Okproject) error
- func (o *Okprojecttask) SetProjectGP(insert bool, related *Okproject)
- func (o *Okprojecttask) SetProjectP(exec boil.Executor, insert bool, related *Okproject)
- func (o *Okprojecttask) SetTask(exec boil.Executor, insert bool, related *Oktask) error
- func (o *Okprojecttask) SetTaskG(insert bool, related *Oktask) error
- func (o *Okprojecttask) SetTaskGP(insert bool, related *Oktask)
- func (o *Okprojecttask) SetTaskP(exec boil.Executor, insert bool, related *Oktask)
- func (o *Okprojecttask) Task(exec boil.Executor, mods ...qm.QueryMod) oktaskQuery
- func (o *Okprojecttask) TaskG(mods ...qm.QueryMod) oktaskQuery
- func (o *Okprojecttask) Update(exec boil.Executor, whitelist ...string) error
- func (o *Okprojecttask) UpdateG(whitelist ...string) error
- func (o *Okprojecttask) UpdateGP(whitelist ...string)
- func (o *Okprojecttask) UpdateP(exec boil.Executor, whitelist ...string)
- func (o *Okprojecttask) Upsert(exec boil.Executor, updateColumns []string, whitelist ...string) error
- func (o *Okprojecttask) UpsertG(updateColumns []string, whitelist ...string) error
- func (o *Okprojecttask) UpsertGP(updateColumns []string, whitelist ...string)
- func (o *Okprojecttask) UpsertP(exec boil.Executor, updateColumns []string, whitelist ...string)
- type OkprojecttaskHook
- type OkprojecttaskSlice
- func (o OkprojecttaskSlice) DeleteAll(exec boil.Executor) error
- func (o OkprojecttaskSlice) DeleteAllG() error
- func (o OkprojecttaskSlice) DeleteAllGP()
- func (o OkprojecttaskSlice) DeleteAllP(exec boil.Executor)
- func (o *OkprojecttaskSlice) ReloadAll(exec boil.Executor) error
- func (o *OkprojecttaskSlice) ReloadAllG() error
- func (o *OkprojecttaskSlice) ReloadAllGP()
- func (o *OkprojecttaskSlice) ReloadAllP(exec boil.Executor)
- func (o OkprojecttaskSlice) UpdateAll(exec boil.Executor, cols M) error
- func (o OkprojecttaskSlice) UpdateAllG(cols M) error
- func (o OkprojecttaskSlice) UpdateAllGP(cols M)
- func (o OkprojecttaskSlice) UpdateAllP(exec boil.Executor, cols M)
- type Oktask
- func (o *Oktask) AddTaskOkprojecttasks(exec boil.Executor, insert bool, related ...*Okprojecttask) error
- func (o *Oktask) AddTaskOkprojecttasksG(insert bool, related ...*Okprojecttask) error
- func (o *Oktask) AddTaskOkprojecttasksGP(insert bool, related ...*Okprojecttask)
- func (o *Oktask) AddTaskOkprojecttasksP(exec boil.Executor, insert bool, related ...*Okprojecttask)
- func (o *Oktask) Delete(exec boil.Executor) error
- func (o *Oktask) DeleteG() error
- func (o *Oktask) DeleteGP()
- func (o *Oktask) DeleteP(exec boil.Executor)
- func (o *Oktask) Insert(exec boil.Executor, whitelist ...string) error
- func (o *Oktask) InsertG(whitelist ...string) error
- func (o *Oktask) InsertGP(whitelist ...string)
- func (o *Oktask) InsertP(exec boil.Executor, whitelist ...string)
- func (o *Oktask) Reload(exec boil.Executor) error
- func (o *Oktask) ReloadG() error
- func (o *Oktask) ReloadGP()
- func (o *Oktask) ReloadP(exec boil.Executor)
- func (o *Oktask) TaskOkprojecttasks(exec boil.Executor, mods ...qm.QueryMod) okprojecttaskQuery
- func (o *Oktask) TaskOkprojecttasksG(mods ...qm.QueryMod) okprojecttaskQuery
- func (o *Oktask) Update(exec boil.Executor, whitelist ...string) error
- func (o *Oktask) UpdateG(whitelist ...string) error
- func (o *Oktask) UpdateGP(whitelist ...string)
- func (o *Oktask) UpdateP(exec boil.Executor, whitelist ...string)
- func (o *Oktask) Upsert(exec boil.Executor, updateColumns []string, whitelist ...string) error
- func (o *Oktask) UpsertG(updateColumns []string, whitelist ...string) error
- func (o *Oktask) UpsertGP(updateColumns []string, whitelist ...string)
- func (o *Oktask) UpsertP(exec boil.Executor, updateColumns []string, whitelist ...string)
- type OktaskHook
- type OktaskSlice
- func (o OktaskSlice) DeleteAll(exec boil.Executor) error
- func (o OktaskSlice) DeleteAllG() error
- func (o OktaskSlice) DeleteAllGP()
- func (o OktaskSlice) DeleteAllP(exec boil.Executor)
- func (o *OktaskSlice) ReloadAll(exec boil.Executor) error
- func (o *OktaskSlice) ReloadAllG() error
- func (o *OktaskSlice) ReloadAllGP()
- func (o *OktaskSlice) ReloadAllP(exec boil.Executor)
- func (o OktaskSlice) UpdateAll(exec boil.Executor, cols M) error
- func (o OktaskSlice) UpdateAllG(cols M) error
- func (o OktaskSlice) UpdateAllGP(cols M)
- func (o OktaskSlice) UpdateAllP(exec boil.Executor, cols M)
- type ResponseModel
Constants ¶
const ( DATE_FORMAT = "2006-01-02 15:04:05" DATE_REGEX = "((19|20)\\d\\d)-(0?[1-9]|1[012])-(0?[1-9]|[12][0-9]|3[01])" )
Variables ¶
var ErrSyncFail = errors.New("models: failed to synchronize data after insert")
ErrSyncFail occurs during insert when the record could not be retrieved in order to populate default value information. This usually happens when LastInsertId fails or there was a primary key configuration that was not resolvable.
Functions ¶
func AddOkakunHook ¶
func AddOkakunHook(hookPoint boil.HookPoint, okakunHook OkakunHook)
AddOkakunHook registers your hook function for all future operations.
func AddOkprofileHook ¶
func AddOkprofileHook(hookPoint boil.HookPoint, okprofileHook OkprofileHook)
AddOkprofileHook registers your hook function for all future operations.
func AddOkprojectHook ¶
func AddOkprojectHook(hookPoint boil.HookPoint, okprojectHook OkprojectHook)
AddOkprojectHook registers your hook function for all future operations.
func AddOkprojecttaskHook ¶
func AddOkprojecttaskHook(hookPoint boil.HookPoint, okprojecttaskHook OkprojecttaskHook)
AddOkprojecttaskHook registers your hook function for all future operations.
func AddOktaskHook ¶
func AddOktaskHook(hookPoint boil.HookPoint, oktaskHook OktaskHook)
AddOktaskHook registers your hook function for all future operations.
func NewResponse ¶
func OkakunExists ¶
OkakunExists checks if the Okakun row exists.
func OkakunExistsG ¶
OkakunExistsG checks if the Okakun row exists.
func OkakunExistsGP ¶
OkakunExistsGP checks if the Okakun row exists. Panics on error.
func OkakunExistsP ¶
OkakunExistsP checks if the Okakun row exists. Panics on error.
func OkprofileExists ¶
OkprofileExists checks if the Okprofile row exists.
func OkprofileExistsG ¶
OkprofileExistsG checks if the Okprofile row exists.
func OkprofileExistsGP ¶
OkprofileExistsGP checks if the Okprofile row exists. Panics on error.
func OkprofileExistsP ¶
OkprofileExistsP checks if the Okprofile row exists. Panics on error.
func Okprofiles ¶
Okprofiles retrieves all the records using an executor.
func OkprofilesG ¶
OkprofilesG retrieves all records.
func OkprojectExists ¶
OkprojectExists checks if the Okproject row exists.
func OkprojectExistsG ¶
OkprojectExistsG checks if the Okproject row exists.
func OkprojectExistsGP ¶
OkprojectExistsGP checks if the Okproject row exists. Panics on error.
func OkprojectExistsP ¶
OkprojectExistsP checks if the Okproject row exists. Panics on error.
func Okprojects ¶
Okprojects retrieves all the records using an executor.
func OkprojectsG ¶
OkprojectsG retrieves all records.
func OkprojecttaskExists ¶
OkprojecttaskExists checks if the Okprojecttask row exists.
func OkprojecttaskExistsG ¶
OkprojecttaskExistsG checks if the Okprojecttask row exists.
func OkprojecttaskExistsGP ¶
OkprojecttaskExistsGP checks if the Okprojecttask row exists. Panics on error.
func OkprojecttaskExistsP ¶
OkprojecttaskExistsP checks if the Okprojecttask row exists. Panics on error.
func Okprojecttasks ¶
Okprojecttasks retrieves all the records using an executor.
func OkprojecttasksG ¶
OkprojecttasksG retrieves all records.
func OktaskExists ¶
OktaskExists checks if the Oktask row exists.
func OktaskExistsG ¶
OktaskExistsG checks if the Oktask row exists.
func OktaskExistsGP ¶
OktaskExistsGP checks if the Oktask row exists. Panics on error.
func OktaskExistsP ¶
OktaskExistsP checks if the Oktask row exists. Panics on error.
Types ¶
type ClaimsData ¶
type ClaimsData struct { JwtData `boil:"data" json:"data" toml:"data" yaml:"data"` jwt.StandardClaims }
type ErrorModel ¶
type ErrorModel struct { ErrorCode int `boil:"error_code" json:"error_code" toml:"error_code" yaml:"error_code"` Text string `boil:"text" json:"text" toml:"text" yaml:"text"` Hints string `boil:"hints" json:"hints" toml:"hints" yaml:"hints"` Info string `boil:"info" json:"info" toml:"info" yaml:"info"` }
type JwtData ¶
type JwtData struct { UserName string `boil:"username" json:"username" toml:"username" yaml:"username"` PhoneNumber string `boil:"phone_number" json:"phone_number" toml:"phone_number" yaml:"phone_number"` Email string `boil:"email" json:"email" toml:"email" yaml:"email"` Name string `boil:"name" json:"name" toml:"name" yaml:"name"` Role string `boil:"role" json:"role" toml:"role" yaml:"role"` AkunId int `boil:"akun_id" json:"akun_id" toml:"akun_id" yaml:"akun_id"` ProfileId int `boil:"profile_id" json:"profile_id" toml:"profile_id" yaml:"profile_id"` }
type LoginResponse ¶
type M ¶
type M map[string]interface{}
M type is for providing columns and column values to UpdateAll.
type Okakun ¶
type Okakun struct { IDAkun int `boil:"id_akun" json:"id_akun" toml:"id_akun" yaml:"id_akun"` Username string `boil:"username" json:"username" toml:"username" yaml:"username"` Password string `boil:"password" json:"password" toml:"password" yaml:"password"` Token string `boil:"token" json:"token" toml:"token" yaml:"token"` CreatedAt null.Time `boil:"created_at" json:"created_at,omitempty" toml:"created_at" yaml:"created_at,omitempty"` UpdatedAt null.Time `boil:"updated_at" json:"updated_at,omitempty" toml:"updated_at" yaml:"updated_at,omitempty"` Role string `boil:"role" json:"role" toml:"role" yaml:"role"` R *okakunR `boil:"-" json:"-" toml:"-" yaml:"-"` L okakunL `boil:"-" json:"-" toml:"-" yaml:"-"` }
Okakun is an object representing the database table.
func FindOkakun ¶
FindOkakun retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindOkakunG ¶
FindOkakunG retrieves a single record by ID.
func FindOkakunGP ¶
FindOkakunGP retrieves a single record by ID, and panics on error.
func FindOkakunP ¶
FindOkakunP retrieves a single record by ID with an executor, and panics on error.
func (*Okakun) AddAkunOkprofiles ¶
AddAkunOkprofiles adds the given related objects to the existing relationships of the okakun, optionally inserting them as new records. Appends related to o.R.AkunOkprofiles. Sets related.R.Akun appropriately.
func (*Okakun) AddAkunOkprofilesG ¶
AddAkunOkprofilesG adds the given related objects to the existing relationships of the okakun, optionally inserting them as new records. Appends related to o.R.AkunOkprofiles. Sets related.R.Akun appropriately. Uses the global database handle.
func (*Okakun) AddAkunOkprofilesGP ¶
AddAkunOkprofilesGP adds the given related objects to the existing relationships of the okakun, optionally inserting them as new records. Appends related to o.R.AkunOkprofiles. Sets related.R.Akun appropriately. Uses the global database handle and panics on error.
func (*Okakun) AddAkunOkprofilesP ¶
AddAkunOkprofilesP adds the given related objects to the existing relationships of the okakun, optionally inserting them as new records. Appends related to o.R.AkunOkprofiles. Sets related.R.Akun appropriately. Panics on error.
func (*Okakun) AkunOkprofiles ¶
AkunOkprofiles retrieves all the okprofile's okprofile with an executor via akun_id column.
func (*Okakun) AkunOkprofilesG ¶
AkunOkprofilesG retrieves all the okprofile's okprofile via akun_id column.
func (*Okakun) Delete ¶
Delete deletes a single Okakun record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Okakun) DeleteG ¶
DeleteG deletes a single Okakun record. DeleteG will match against the primary key column to find the record to delete.
func (*Okakun) DeleteGP ¶
func (o *Okakun) DeleteGP()
DeleteGP deletes a single Okakun record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.
func (*Okakun) DeleteP ¶
DeleteP deletes a single Okakun record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*Okakun) Insert ¶
Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)
func (*Okakun) InsertGP ¶
InsertGP a single record, and panics on error. See Insert for whitelist behavior description.
func (*Okakun) InsertP ¶
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*Okakun) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*Okakun) ReloadGP ¶
func (o *Okakun) ReloadGP()
ReloadGP refetches the object from the database and panics on error.
func (*Okakun) ReloadP ¶
ReloadP refetches the object from the database with an executor. Panics on error.
func (*Okakun) Update ¶
Update uses an executor to update the Okakun. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*Okakun) UpdateG ¶
UpdateG a single Okakun record. See Update for whitelist behavior description.
func (*Okakun) UpdateGP ¶
UpdateGP a single Okakun record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.
func (*Okakun) UpdateP ¶
UpdateP uses an executor to update the Okakun, and panics on error. See Update for whitelist behavior description.
func (*Okakun) Upsert ¶
Upsert attempts an insert using an executor, and does an update or ignore on conflict.
type OkakunHook ¶
OkakunHook is the signature for custom Okakun hook methods
type OkakunSlice ¶
type OkakunSlice []*Okakun
OkakunSlice is an alias for a slice of pointers to Okakun. This should generally be used opposed to []Okakun.
func (OkakunSlice) DeleteAll ¶
func (o OkakunSlice) DeleteAll(exec boil.Executor) error
DeleteAll deletes all rows in the slice, using an executor.
func (OkakunSlice) DeleteAllG ¶
func (o OkakunSlice) DeleteAllG() error
DeleteAllG deletes all rows in the slice.
func (OkakunSlice) DeleteAllGP ¶
func (o OkakunSlice) DeleteAllGP()
DeleteAllGP deletes all rows in the slice, and panics on error.
func (OkakunSlice) DeleteAllP ¶
func (o OkakunSlice) DeleteAllP(exec boil.Executor)
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*OkakunSlice) ReloadAll ¶
func (o *OkakunSlice) ReloadAll(exec boil.Executor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*OkakunSlice) ReloadAllG ¶
func (o *OkakunSlice) ReloadAllG() error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*OkakunSlice) ReloadAllGP ¶
func (o *OkakunSlice) ReloadAllGP()
ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (*OkakunSlice) ReloadAllP ¶
func (o *OkakunSlice) ReloadAllP(exec boil.Executor)
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (OkakunSlice) UpdateAll ¶
func (o OkakunSlice) UpdateAll(exec boil.Executor, cols M) error
UpdateAll updates all rows with the specified column values, using an executor.
func (OkakunSlice) UpdateAllG ¶
func (o OkakunSlice) UpdateAllG(cols M) error
UpdateAllG updates all rows with the specified column values.
func (OkakunSlice) UpdateAllGP ¶
func (o OkakunSlice) UpdateAllGP(cols M)
UpdateAllGP updates all rows with the specified column values, and panics on error.
func (OkakunSlice) UpdateAllP ¶
func (o OkakunSlice) UpdateAllP(exec boil.Executor, cols M)
UpdateAllP updates all rows with the specified column values, and panics on error.
type Okprofile ¶
type Okprofile struct { IDProfile int `boil:"id_profile" json:"id_profile" toml:"id_profile" yaml:"id_profile"` AkunID int `boil:"akun_id" json:"akun_id" toml:"akun_id" yaml:"akun_id"` FirstName string `boil:"first_name" json:"first_name" toml:"first_name" yaml:"first_name"` LastName string `boil:"last_name" json:"last_name" toml:"last_name" yaml:"last_name"` Photo string `boil:"photo" json:"photo" toml:"photo" yaml:"photo"` CurrentStatus string `boil:"current_status" json:"current_status" toml:"current_status" yaml:"current_status"` CreatedAt null.Time `boil:"created_at" json:"created_at,omitempty" toml:"created_at" yaml:"created_at,omitempty"` UpdatedAt null.Time `boil:"updated_at" json:"updated_at,omitempty" toml:"updated_at" yaml:"updated_at,omitempty"` R *okprofileR `boil:"-" json:"-" toml:"-" yaml:"-"` L okprofileL `boil:"-" json:"-" toml:"-" yaml:"-"` }
Okprofile is an object representing the database table.
func FindOkprofile ¶
FindOkprofile retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindOkprofileG ¶
FindOkprofileG retrieves a single record by ID.
func FindOkprofileGP ¶
FindOkprofileGP retrieves a single record by ID, and panics on error.
func FindOkprofileP ¶
FindOkprofileP retrieves a single record by ID with an executor, and panics on error.
func (*Okprofile) AddAssignedtoOkprojecttasks ¶
func (o *Okprofile) AddAssignedtoOkprojecttasks(exec boil.Executor, insert bool, related ...*Okprojecttask) error
AddAssignedtoOkprojecttasks adds the given related objects to the existing relationships of the okprofile, optionally inserting them as new records. Appends related to o.R.AssignedtoOkprojecttasks. Sets related.R.Assignedto appropriately.
func (*Okprofile) AddAssignedtoOkprojecttasksG ¶
func (o *Okprofile) AddAssignedtoOkprojecttasksG(insert bool, related ...*Okprojecttask) error
AddAssignedtoOkprojecttasksG adds the given related objects to the existing relationships of the okprofile, optionally inserting them as new records. Appends related to o.R.AssignedtoOkprojecttasks. Sets related.R.Assignedto appropriately. Uses the global database handle.
func (*Okprofile) AddAssignedtoOkprojecttasksGP ¶
func (o *Okprofile) AddAssignedtoOkprojecttasksGP(insert bool, related ...*Okprojecttask)
AddAssignedtoOkprojecttasksGP adds the given related objects to the existing relationships of the okprofile, optionally inserting them as new records. Appends related to o.R.AssignedtoOkprojecttasks. Sets related.R.Assignedto appropriately. Uses the global database handle and panics on error.
func (*Okprofile) AddAssignedtoOkprojecttasksP ¶
func (o *Okprofile) AddAssignedtoOkprojecttasksP(exec boil.Executor, insert bool, related ...*Okprojecttask)
AddAssignedtoOkprojecttasksP adds the given related objects to the existing relationships of the okprofile, optionally inserting them as new records. Appends related to o.R.AssignedtoOkprojecttasks. Sets related.R.Assignedto appropriately. Panics on error.
func (*Okprofile) AddAssignerOkprojecttasks ¶
func (o *Okprofile) AddAssignerOkprojecttasks(exec boil.Executor, insert bool, related ...*Okprojecttask) error
AddAssignerOkprojecttasks adds the given related objects to the existing relationships of the okprofile, optionally inserting them as new records. Appends related to o.R.AssignerOkprojecttasks. Sets related.R.Assigner appropriately.
func (*Okprofile) AddAssignerOkprojecttasksG ¶
func (o *Okprofile) AddAssignerOkprojecttasksG(insert bool, related ...*Okprojecttask) error
AddAssignerOkprojecttasksG adds the given related objects to the existing relationships of the okprofile, optionally inserting them as new records. Appends related to o.R.AssignerOkprojecttasks. Sets related.R.Assigner appropriately. Uses the global database handle.
func (*Okprofile) AddAssignerOkprojecttasksGP ¶
func (o *Okprofile) AddAssignerOkprojecttasksGP(insert bool, related ...*Okprojecttask)
AddAssignerOkprojecttasksGP adds the given related objects to the existing relationships of the okprofile, optionally inserting them as new records. Appends related to o.R.AssignerOkprojecttasks. Sets related.R.Assigner appropriately. Uses the global database handle and panics on error.
func (*Okprofile) AddAssignerOkprojecttasksP ¶
func (o *Okprofile) AddAssignerOkprojecttasksP(exec boil.Executor, insert bool, related ...*Okprojecttask)
AddAssignerOkprojecttasksP adds the given related objects to the existing relationships of the okprofile, optionally inserting them as new records. Appends related to o.R.AssignerOkprojecttasks. Sets related.R.Assigner appropriately. Panics on error.
func (*Okprofile) AssignedtoOkprojecttasks ¶
func (o *Okprofile) AssignedtoOkprojecttasks(exec boil.Executor, mods ...qm.QueryMod) okprojecttaskQuery
AssignedtoOkprojecttasks retrieves all the okprojecttask's okprojecttask with an executor via assignedto_id column.
func (*Okprofile) AssignedtoOkprojecttasksG ¶
AssignedtoOkprojecttasksG retrieves all the okprojecttask's okprojecttask via assignedto_id column.
func (*Okprofile) AssignerOkprojecttasks ¶
func (o *Okprofile) AssignerOkprojecttasks(exec boil.Executor, mods ...qm.QueryMod) okprojecttaskQuery
AssignerOkprojecttasks retrieves all the okprojecttask's okprojecttask with an executor via assigner_id column.
func (*Okprofile) AssignerOkprojecttasksG ¶
AssignerOkprojecttasksG retrieves all the okprojecttask's okprojecttask via assigner_id column.
func (*Okprofile) Delete ¶
Delete deletes a single Okprofile record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Okprofile) DeleteG ¶
DeleteG deletes a single Okprofile record. DeleteG will match against the primary key column to find the record to delete.
func (*Okprofile) DeleteGP ¶
func (o *Okprofile) DeleteGP()
DeleteGP deletes a single Okprofile record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.
func (*Okprofile) DeleteP ¶
DeleteP deletes a single Okprofile record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*Okprofile) Insert ¶
Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)
func (*Okprofile) InsertGP ¶
InsertGP a single record, and panics on error. See Insert for whitelist behavior description.
func (*Okprofile) InsertP ¶
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*Okprofile) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*Okprofile) ReloadGP ¶
func (o *Okprofile) ReloadGP()
ReloadGP refetches the object from the database and panics on error.
func (*Okprofile) ReloadP ¶
ReloadP refetches the object from the database with an executor. Panics on error.
func (*Okprofile) SetAkun ¶
SetAkun of the okprofile to the related item. Sets o.R.Akun to related. Adds o to related.R.AkunOkprofiles.
func (*Okprofile) SetAkunG ¶
SetAkunG of the okprofile to the related item. Sets o.R.Akun to related. Adds o to related.R.AkunOkprofiles. Uses the global database handle.
func (*Okprofile) SetAkunGP ¶
SetAkunGP of the okprofile to the related item. Sets o.R.Akun to related. Adds o to related.R.AkunOkprofiles. Uses the global database handle and panics on error.
func (*Okprofile) SetAkunP ¶
SetAkunP of the okprofile to the related item. Sets o.R.Akun to related. Adds o to related.R.AkunOkprofiles. Panics on error.
func (*Okprofile) Update ¶
Update uses an executor to update the Okprofile. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*Okprofile) UpdateG ¶
UpdateG a single Okprofile record. See Update for whitelist behavior description.
func (*Okprofile) UpdateGP ¶
UpdateGP a single Okprofile record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.
func (*Okprofile) UpdateP ¶
UpdateP uses an executor to update the Okprofile, and panics on error. See Update for whitelist behavior description.
func (*Okprofile) Upsert ¶
Upsert attempts an insert using an executor, and does an update or ignore on conflict.
type OkprofileHook ¶
OkprofileHook is the signature for custom Okprofile hook methods
type OkprofileSlice ¶
type OkprofileSlice []*Okprofile
OkprofileSlice is an alias for a slice of pointers to Okprofile. This should generally be used opposed to []Okprofile.
func (OkprofileSlice) DeleteAll ¶
func (o OkprofileSlice) DeleteAll(exec boil.Executor) error
DeleteAll deletes all rows in the slice, using an executor.
func (OkprofileSlice) DeleteAllG ¶
func (o OkprofileSlice) DeleteAllG() error
DeleteAllG deletes all rows in the slice.
func (OkprofileSlice) DeleteAllGP ¶
func (o OkprofileSlice) DeleteAllGP()
DeleteAllGP deletes all rows in the slice, and panics on error.
func (OkprofileSlice) DeleteAllP ¶
func (o OkprofileSlice) DeleteAllP(exec boil.Executor)
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*OkprofileSlice) ReloadAll ¶
func (o *OkprofileSlice) ReloadAll(exec boil.Executor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*OkprofileSlice) ReloadAllG ¶
func (o *OkprofileSlice) ReloadAllG() error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*OkprofileSlice) ReloadAllGP ¶
func (o *OkprofileSlice) ReloadAllGP()
ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (*OkprofileSlice) ReloadAllP ¶
func (o *OkprofileSlice) ReloadAllP(exec boil.Executor)
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (OkprofileSlice) UpdateAll ¶
func (o OkprofileSlice) UpdateAll(exec boil.Executor, cols M) error
UpdateAll updates all rows with the specified column values, using an executor.
func (OkprofileSlice) UpdateAllG ¶
func (o OkprofileSlice) UpdateAllG(cols M) error
UpdateAllG updates all rows with the specified column values.
func (OkprofileSlice) UpdateAllGP ¶
func (o OkprofileSlice) UpdateAllGP(cols M)
UpdateAllGP updates all rows with the specified column values, and panics on error.
func (OkprofileSlice) UpdateAllP ¶
func (o OkprofileSlice) UpdateAllP(exec boil.Executor, cols M)
UpdateAllP updates all rows with the specified column values, and panics on error.
type Okproject ¶
type Okproject struct { IDProject int `boil:"id_project" json:"id_project" toml:"id_project" yaml:"id_project"` NamaProject string `boil:"nama_project" json:"nama_project" toml:"nama_project" yaml:"nama_project"` Desc null.String `boil:"desc" json:"desc,omitempty" toml:"desc" yaml:"desc,omitempty"` GitURL string `boil:"git_url" json:"git_url" toml:"git_url" yaml:"git_url"` R *okprojectR `boil:"-" json:"-" toml:"-" yaml:"-"` L okprojectL `boil:"-" json:"-" toml:"-" yaml:"-"` }
Okproject is an object representing the database table.
func FindOkproject ¶
FindOkproject retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindOkprojectG ¶
FindOkprojectG retrieves a single record by ID.
func FindOkprojectGP ¶
FindOkprojectGP retrieves a single record by ID, and panics on error.
func FindOkprojectP ¶
FindOkprojectP retrieves a single record by ID with an executor, and panics on error.
func (*Okproject) AddProjectOkprojecttasks ¶
func (o *Okproject) AddProjectOkprojecttasks(exec boil.Executor, insert bool, related ...*Okprojecttask) error
AddProjectOkprojecttasks adds the given related objects to the existing relationships of the okproject, optionally inserting them as new records. Appends related to o.R.ProjectOkprojecttasks. Sets related.R.Project appropriately.
func (*Okproject) AddProjectOkprojecttasksG ¶
func (o *Okproject) AddProjectOkprojecttasksG(insert bool, related ...*Okprojecttask) error
AddProjectOkprojecttasksG adds the given related objects to the existing relationships of the okproject, optionally inserting them as new records. Appends related to o.R.ProjectOkprojecttasks. Sets related.R.Project appropriately. Uses the global database handle.
func (*Okproject) AddProjectOkprojecttasksGP ¶
func (o *Okproject) AddProjectOkprojecttasksGP(insert bool, related ...*Okprojecttask)
AddProjectOkprojecttasksGP adds the given related objects to the existing relationships of the okproject, optionally inserting them as new records. Appends related to o.R.ProjectOkprojecttasks. Sets related.R.Project appropriately. Uses the global database handle and panics on error.
func (*Okproject) AddProjectOkprojecttasksP ¶
func (o *Okproject) AddProjectOkprojecttasksP(exec boil.Executor, insert bool, related ...*Okprojecttask)
AddProjectOkprojecttasksP adds the given related objects to the existing relationships of the okproject, optionally inserting them as new records. Appends related to o.R.ProjectOkprojecttasks. Sets related.R.Project appropriately. Panics on error.
func (*Okproject) Delete ¶
Delete deletes a single Okproject record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Okproject) DeleteG ¶
DeleteG deletes a single Okproject record. DeleteG will match against the primary key column to find the record to delete.
func (*Okproject) DeleteGP ¶
func (o *Okproject) DeleteGP()
DeleteGP deletes a single Okproject record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.
func (*Okproject) DeleteP ¶
DeleteP deletes a single Okproject record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*Okproject) Insert ¶
Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)
func (*Okproject) InsertGP ¶
InsertGP a single record, and panics on error. See Insert for whitelist behavior description.
func (*Okproject) InsertP ¶
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*Okproject) ProjectOkprojecttasks ¶
func (o *Okproject) ProjectOkprojecttasks(exec boil.Executor, mods ...qm.QueryMod) okprojecttaskQuery
ProjectOkprojecttasks retrieves all the okprojecttask's okprojecttask with an executor via project_id column.
func (*Okproject) ProjectOkprojecttasksG ¶
ProjectOkprojecttasksG retrieves all the okprojecttask's okprojecttask via project_id column.
func (*Okproject) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*Okproject) ReloadGP ¶
func (o *Okproject) ReloadGP()
ReloadGP refetches the object from the database and panics on error.
func (*Okproject) ReloadP ¶
ReloadP refetches the object from the database with an executor. Panics on error.
func (*Okproject) Update ¶
Update uses an executor to update the Okproject. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*Okproject) UpdateG ¶
UpdateG a single Okproject record. See Update for whitelist behavior description.
func (*Okproject) UpdateGP ¶
UpdateGP a single Okproject record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.
func (*Okproject) UpdateP ¶
UpdateP uses an executor to update the Okproject, and panics on error. See Update for whitelist behavior description.
func (*Okproject) Upsert ¶
Upsert attempts an insert using an executor, and does an update or ignore on conflict.
type OkprojectHook ¶
OkprojectHook is the signature for custom Okproject hook methods
type OkprojectSlice ¶
type OkprojectSlice []*Okproject
OkprojectSlice is an alias for a slice of pointers to Okproject. This should generally be used opposed to []Okproject.
func (OkprojectSlice) DeleteAll ¶
func (o OkprojectSlice) DeleteAll(exec boil.Executor) error
DeleteAll deletes all rows in the slice, using an executor.
func (OkprojectSlice) DeleteAllG ¶
func (o OkprojectSlice) DeleteAllG() error
DeleteAllG deletes all rows in the slice.
func (OkprojectSlice) DeleteAllGP ¶
func (o OkprojectSlice) DeleteAllGP()
DeleteAllGP deletes all rows in the slice, and panics on error.
func (OkprojectSlice) DeleteAllP ¶
func (o OkprojectSlice) DeleteAllP(exec boil.Executor)
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*OkprojectSlice) ReloadAll ¶
func (o *OkprojectSlice) ReloadAll(exec boil.Executor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*OkprojectSlice) ReloadAllG ¶
func (o *OkprojectSlice) ReloadAllG() error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*OkprojectSlice) ReloadAllGP ¶
func (o *OkprojectSlice) ReloadAllGP()
ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (*OkprojectSlice) ReloadAllP ¶
func (o *OkprojectSlice) ReloadAllP(exec boil.Executor)
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (OkprojectSlice) UpdateAll ¶
func (o OkprojectSlice) UpdateAll(exec boil.Executor, cols M) error
UpdateAll updates all rows with the specified column values, using an executor.
func (OkprojectSlice) UpdateAllG ¶
func (o OkprojectSlice) UpdateAllG(cols M) error
UpdateAllG updates all rows with the specified column values.
func (OkprojectSlice) UpdateAllGP ¶
func (o OkprojectSlice) UpdateAllGP(cols M)
UpdateAllGP updates all rows with the specified column values, and panics on error.
func (OkprojectSlice) UpdateAllP ¶
func (o OkprojectSlice) UpdateAllP(exec boil.Executor, cols M)
UpdateAllP updates all rows with the specified column values, and panics on error.
type Okprojecttask ¶
type Okprojecttask struct { IDPTask int `boil:"id_p_task" json:"id_p_task" toml:"id_p_task" yaml:"id_p_task"` ProjectID int `boil:"project_id" json:"project_id" toml:"project_id" yaml:"project_id"` TaskID int `boil:"task_id" json:"task_id" toml:"task_id" yaml:"task_id"` AssignedtoID int `boil:"assignedto_id" json:"assignedto_id" toml:"assignedto_id" yaml:"assignedto_id"` AssignerID int `boil:"assigner_id" json:"assigner_id" toml:"assigner_id" yaml:"assigner_id"` CreatedAt null.Time `boil:"created_at" json:"created_at,omitempty" toml:"created_at" yaml:"created_at,omitempty"` UpdatedAt null.Time `boil:"updated_at" json:"updated_at,omitempty" toml:"updated_at" yaml:"updated_at,omitempty"` Status string `boil:"status" json:"status" toml:"status" yaml:"status"` DueDate null.Time `boil:"due_date" json:"due_date,omitempty" toml:"due_date" yaml:"due_date,omitempty"` R *okprojecttaskR `boil:"-" json:"-" toml:"-" yaml:"-"` L okprojecttaskL `boil:"-" json:"-" toml:"-" yaml:"-"` }
Okprojecttask is an object representing the database table.
func FindOkprojecttask ¶
func FindOkprojecttask(exec boil.Executor, idPTask int, selectCols ...string) (*Okprojecttask, error)
FindOkprojecttask retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindOkprojecttaskG ¶
func FindOkprojecttaskG(idPTask int, selectCols ...string) (*Okprojecttask, error)
FindOkprojecttaskG retrieves a single record by ID.
func FindOkprojecttaskGP ¶
func FindOkprojecttaskGP(idPTask int, selectCols ...string) *Okprojecttask
FindOkprojecttaskGP retrieves a single record by ID, and panics on error.
func FindOkprojecttaskP ¶
func FindOkprojecttaskP(exec boil.Executor, idPTask int, selectCols ...string) *Okprojecttask
FindOkprojecttaskP retrieves a single record by ID with an executor, and panics on error.
func (*Okprojecttask) Assignedto ¶
func (o *Okprojecttask) Assignedto(exec boil.Executor, mods ...qm.QueryMod) okprofileQuery
Assignedto pointed to by the foreign key.
func (*Okprojecttask) AssignedtoG ¶
func (o *Okprojecttask) AssignedtoG(mods ...qm.QueryMod) okprofileQuery
AssignedtoG pointed to by the foreign key.
func (*Okprojecttask) Assigner ¶
func (o *Okprojecttask) Assigner(exec boil.Executor, mods ...qm.QueryMod) okprofileQuery
Assigner pointed to by the foreign key.
func (*Okprojecttask) AssignerG ¶
func (o *Okprojecttask) AssignerG(mods ...qm.QueryMod) okprofileQuery
AssignerG pointed to by the foreign key.
func (*Okprojecttask) Delete ¶
func (o *Okprojecttask) Delete(exec boil.Executor) error
Delete deletes a single Okprojecttask record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Okprojecttask) DeleteG ¶
func (o *Okprojecttask) DeleteG() error
DeleteG deletes a single Okprojecttask record. DeleteG will match against the primary key column to find the record to delete.
func (*Okprojecttask) DeleteGP ¶
func (o *Okprojecttask) DeleteGP()
DeleteGP deletes a single Okprojecttask record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.
func (*Okprojecttask) DeleteP ¶
func (o *Okprojecttask) DeleteP(exec boil.Executor)
DeleteP deletes a single Okprojecttask record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*Okprojecttask) Insert ¶
func (o *Okprojecttask) Insert(exec boil.Executor, whitelist ...string) error
Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)
func (*Okprojecttask) InsertG ¶
func (o *Okprojecttask) InsertG(whitelist ...string) error
InsertG a single record. See Insert for whitelist behavior description.
func (*Okprojecttask) InsertGP ¶
func (o *Okprojecttask) InsertGP(whitelist ...string)
InsertGP a single record, and panics on error. See Insert for whitelist behavior description.
func (*Okprojecttask) InsertP ¶
func (o *Okprojecttask) InsertP(exec boil.Executor, whitelist ...string)
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*Okprojecttask) Project ¶
func (o *Okprojecttask) Project(exec boil.Executor, mods ...qm.QueryMod) okprojectQuery
Project pointed to by the foreign key.
func (*Okprojecttask) ProjectG ¶
func (o *Okprojecttask) ProjectG(mods ...qm.QueryMod) okprojectQuery
ProjectG pointed to by the foreign key.
func (*Okprojecttask) Reload ¶
func (o *Okprojecttask) Reload(exec boil.Executor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*Okprojecttask) ReloadG ¶
func (o *Okprojecttask) ReloadG() error
ReloadG refetches the object from the database using the primary keys.
func (*Okprojecttask) ReloadGP ¶
func (o *Okprojecttask) ReloadGP()
ReloadGP refetches the object from the database and panics on error.
func (*Okprojecttask) ReloadP ¶
func (o *Okprojecttask) ReloadP(exec boil.Executor)
ReloadP refetches the object from the database with an executor. Panics on error.
func (*Okprojecttask) SetAssignedto ¶
SetAssignedto of the okprojecttask to the related item. Sets o.R.Assignedto to related. Adds o to related.R.AssignedtoOkprojecttasks.
func (*Okprojecttask) SetAssignedtoG ¶
func (o *Okprojecttask) SetAssignedtoG(insert bool, related *Okprofile) error
SetAssignedtoG of the okprojecttask to the related item. Sets o.R.Assignedto to related. Adds o to related.R.AssignedtoOkprojecttasks. Uses the global database handle.
func (*Okprojecttask) SetAssignedtoGP ¶
func (o *Okprojecttask) SetAssignedtoGP(insert bool, related *Okprofile)
SetAssignedtoGP of the okprojecttask to the related item. Sets o.R.Assignedto to related. Adds o to related.R.AssignedtoOkprojecttasks. Uses the global database handle and panics on error.
func (*Okprojecttask) SetAssignedtoP ¶
func (o *Okprojecttask) SetAssignedtoP(exec boil.Executor, insert bool, related *Okprofile)
SetAssignedtoP of the okprojecttask to the related item. Sets o.R.Assignedto to related. Adds o to related.R.AssignedtoOkprojecttasks. Panics on error.
func (*Okprojecttask) SetAssigner ¶
SetAssigner of the okprojecttask to the related item. Sets o.R.Assigner to related. Adds o to related.R.AssignerOkprojecttasks.
func (*Okprojecttask) SetAssignerG ¶
func (o *Okprojecttask) SetAssignerG(insert bool, related *Okprofile) error
SetAssignerG of the okprojecttask to the related item. Sets o.R.Assigner to related. Adds o to related.R.AssignerOkprojecttasks. Uses the global database handle.
func (*Okprojecttask) SetAssignerGP ¶
func (o *Okprojecttask) SetAssignerGP(insert bool, related *Okprofile)
SetAssignerGP of the okprojecttask to the related item. Sets o.R.Assigner to related. Adds o to related.R.AssignerOkprojecttasks. Uses the global database handle and panics on error.
func (*Okprojecttask) SetAssignerP ¶
func (o *Okprojecttask) SetAssignerP(exec boil.Executor, insert bool, related *Okprofile)
SetAssignerP of the okprojecttask to the related item. Sets o.R.Assigner to related. Adds o to related.R.AssignerOkprojecttasks. Panics on error.
func (*Okprojecttask) SetProject ¶
SetProject of the okprojecttask to the related item. Sets o.R.Project to related. Adds o to related.R.ProjectOkprojecttasks.
func (*Okprojecttask) SetProjectG ¶
func (o *Okprojecttask) SetProjectG(insert bool, related *Okproject) error
SetProjectG of the okprojecttask to the related item. Sets o.R.Project to related. Adds o to related.R.ProjectOkprojecttasks. Uses the global database handle.
func (*Okprojecttask) SetProjectGP ¶
func (o *Okprojecttask) SetProjectGP(insert bool, related *Okproject)
SetProjectGP of the okprojecttask to the related item. Sets o.R.Project to related. Adds o to related.R.ProjectOkprojecttasks. Uses the global database handle and panics on error.
func (*Okprojecttask) SetProjectP ¶
func (o *Okprojecttask) SetProjectP(exec boil.Executor, insert bool, related *Okproject)
SetProjectP of the okprojecttask to the related item. Sets o.R.Project to related. Adds o to related.R.ProjectOkprojecttasks. Panics on error.
func (*Okprojecttask) SetTask ¶
SetTask of the okprojecttask to the related item. Sets o.R.Task to related. Adds o to related.R.TaskOkprojecttasks.
func (*Okprojecttask) SetTaskG ¶
func (o *Okprojecttask) SetTaskG(insert bool, related *Oktask) error
SetTaskG of the okprojecttask to the related item. Sets o.R.Task to related. Adds o to related.R.TaskOkprojecttasks. Uses the global database handle.
func (*Okprojecttask) SetTaskGP ¶
func (o *Okprojecttask) SetTaskGP(insert bool, related *Oktask)
SetTaskGP of the okprojecttask to the related item. Sets o.R.Task to related. Adds o to related.R.TaskOkprojecttasks. Uses the global database handle and panics on error.
func (*Okprojecttask) SetTaskP ¶
func (o *Okprojecttask) SetTaskP(exec boil.Executor, insert bool, related *Oktask)
SetTaskP of the okprojecttask to the related item. Sets o.R.Task to related. Adds o to related.R.TaskOkprojecttasks. Panics on error.
func (*Okprojecttask) Task ¶
func (o *Okprojecttask) Task(exec boil.Executor, mods ...qm.QueryMod) oktaskQuery
Task pointed to by the foreign key.
func (*Okprojecttask) TaskG ¶
func (o *Okprojecttask) TaskG(mods ...qm.QueryMod) oktaskQuery
TaskG pointed to by the foreign key.
func (*Okprojecttask) Update ¶
func (o *Okprojecttask) Update(exec boil.Executor, whitelist ...string) error
Update uses an executor to update the Okprojecttask. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*Okprojecttask) UpdateG ¶
func (o *Okprojecttask) UpdateG(whitelist ...string) error
UpdateG a single Okprojecttask record. See Update for whitelist behavior description.
func (*Okprojecttask) UpdateGP ¶
func (o *Okprojecttask) UpdateGP(whitelist ...string)
UpdateGP a single Okprojecttask record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.
func (*Okprojecttask) UpdateP ¶
func (o *Okprojecttask) UpdateP(exec boil.Executor, whitelist ...string)
UpdateP uses an executor to update the Okprojecttask, and panics on error. See Update for whitelist behavior description.
func (*Okprojecttask) Upsert ¶
func (o *Okprojecttask) Upsert(exec boil.Executor, updateColumns []string, whitelist ...string) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict.
func (*Okprojecttask) UpsertG ¶
func (o *Okprojecttask) UpsertG(updateColumns []string, whitelist ...string) error
UpsertG attempts an insert, and does an update or ignore on conflict.
func (*Okprojecttask) UpsertGP ¶
func (o *Okprojecttask) UpsertGP(updateColumns []string, whitelist ...string)
UpsertGP attempts an insert, and does an update or ignore on conflict. Panics on error.
type OkprojecttaskHook ¶
type OkprojecttaskHook func(boil.Executor, *Okprojecttask) error
OkprojecttaskHook is the signature for custom Okprojecttask hook methods
type OkprojecttaskSlice ¶
type OkprojecttaskSlice []*Okprojecttask
OkprojecttaskSlice is an alias for a slice of pointers to Okprojecttask. This should generally be used opposed to []Okprojecttask.
func (OkprojecttaskSlice) DeleteAll ¶
func (o OkprojecttaskSlice) DeleteAll(exec boil.Executor) error
DeleteAll deletes all rows in the slice, using an executor.
func (OkprojecttaskSlice) DeleteAllG ¶
func (o OkprojecttaskSlice) DeleteAllG() error
DeleteAllG deletes all rows in the slice.
func (OkprojecttaskSlice) DeleteAllGP ¶
func (o OkprojecttaskSlice) DeleteAllGP()
DeleteAllGP deletes all rows in the slice, and panics on error.
func (OkprojecttaskSlice) DeleteAllP ¶
func (o OkprojecttaskSlice) DeleteAllP(exec boil.Executor)
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*OkprojecttaskSlice) ReloadAll ¶
func (o *OkprojecttaskSlice) ReloadAll(exec boil.Executor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*OkprojecttaskSlice) ReloadAllG ¶
func (o *OkprojecttaskSlice) ReloadAllG() error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*OkprojecttaskSlice) ReloadAllGP ¶
func (o *OkprojecttaskSlice) ReloadAllGP()
ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (*OkprojecttaskSlice) ReloadAllP ¶
func (o *OkprojecttaskSlice) ReloadAllP(exec boil.Executor)
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (OkprojecttaskSlice) UpdateAll ¶
func (o OkprojecttaskSlice) UpdateAll(exec boil.Executor, cols M) error
UpdateAll updates all rows with the specified column values, using an executor.
func (OkprojecttaskSlice) UpdateAllG ¶
func (o OkprojecttaskSlice) UpdateAllG(cols M) error
UpdateAllG updates all rows with the specified column values.
func (OkprojecttaskSlice) UpdateAllGP ¶
func (o OkprojecttaskSlice) UpdateAllGP(cols M)
UpdateAllGP updates all rows with the specified column values, and panics on error.
func (OkprojecttaskSlice) UpdateAllP ¶
func (o OkprojecttaskSlice) UpdateAllP(exec boil.Executor, cols M)
UpdateAllP updates all rows with the specified column values, and panics on error.
type Oktask ¶
type Oktask struct { IDTask int `boil:"id_task" json:"id_task" toml:"id_task" yaml:"id_task"` TitleTask string `boil:"title_task" json:"title_task" toml:"title_task" yaml:"title_task"` Urgency string `boil:"urgency" json:"urgency" toml:"urgency" yaml:"urgency"` Difficulty string `boil:"difficulty" json:"difficulty" toml:"difficulty" yaml:"difficulty"` DescTask null.String `boil:"desc_task" json:"desc_task,omitempty" toml:"desc_task" yaml:"desc_task,omitempty"` R *oktaskR `boil:"-" json:"-" toml:"-" yaml:"-"` L oktaskL `boil:"-" json:"-" toml:"-" yaml:"-"` }
Oktask is an object representing the database table.
func FindOktask ¶
FindOktask retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindOktaskG ¶
FindOktaskG retrieves a single record by ID.
func FindOktaskGP ¶
FindOktaskGP retrieves a single record by ID, and panics on error.
func FindOktaskP ¶
FindOktaskP retrieves a single record by ID with an executor, and panics on error.
func (*Oktask) AddTaskOkprojecttasks ¶
func (o *Oktask) AddTaskOkprojecttasks(exec boil.Executor, insert bool, related ...*Okprojecttask) error
AddTaskOkprojecttasks adds the given related objects to the existing relationships of the oktask, optionally inserting them as new records. Appends related to o.R.TaskOkprojecttasks. Sets related.R.Task appropriately.
func (*Oktask) AddTaskOkprojecttasksG ¶
func (o *Oktask) AddTaskOkprojecttasksG(insert bool, related ...*Okprojecttask) error
AddTaskOkprojecttasksG adds the given related objects to the existing relationships of the oktask, optionally inserting them as new records. Appends related to o.R.TaskOkprojecttasks. Sets related.R.Task appropriately. Uses the global database handle.
func (*Oktask) AddTaskOkprojecttasksGP ¶
func (o *Oktask) AddTaskOkprojecttasksGP(insert bool, related ...*Okprojecttask)
AddTaskOkprojecttasksGP adds the given related objects to the existing relationships of the oktask, optionally inserting them as new records. Appends related to o.R.TaskOkprojecttasks. Sets related.R.Task appropriately. Uses the global database handle and panics on error.
func (*Oktask) AddTaskOkprojecttasksP ¶
func (o *Oktask) AddTaskOkprojecttasksP(exec boil.Executor, insert bool, related ...*Okprojecttask)
AddTaskOkprojecttasksP adds the given related objects to the existing relationships of the oktask, optionally inserting them as new records. Appends related to o.R.TaskOkprojecttasks. Sets related.R.Task appropriately. Panics on error.
func (*Oktask) Delete ¶
Delete deletes a single Oktask record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Oktask) DeleteG ¶
DeleteG deletes a single Oktask record. DeleteG will match against the primary key column to find the record to delete.
func (*Oktask) DeleteGP ¶
func (o *Oktask) DeleteGP()
DeleteGP deletes a single Oktask record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.
func (*Oktask) DeleteP ¶
DeleteP deletes a single Oktask record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*Oktask) Insert ¶
Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)
func (*Oktask) InsertGP ¶
InsertGP a single record, and panics on error. See Insert for whitelist behavior description.
func (*Oktask) InsertP ¶
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*Oktask) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*Oktask) ReloadGP ¶
func (o *Oktask) ReloadGP()
ReloadGP refetches the object from the database and panics on error.
func (*Oktask) ReloadP ¶
ReloadP refetches the object from the database with an executor. Panics on error.
func (*Oktask) TaskOkprojecttasks ¶
TaskOkprojecttasks retrieves all the okprojecttask's okprojecttask with an executor via task_id column.
func (*Oktask) TaskOkprojecttasksG ¶
TaskOkprojecttasksG retrieves all the okprojecttask's okprojecttask via task_id column.
func (*Oktask) Update ¶
Update uses an executor to update the Oktask. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*Oktask) UpdateG ¶
UpdateG a single Oktask record. See Update for whitelist behavior description.
func (*Oktask) UpdateGP ¶
UpdateGP a single Oktask record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.
func (*Oktask) UpdateP ¶
UpdateP uses an executor to update the Oktask, and panics on error. See Update for whitelist behavior description.
func (*Oktask) Upsert ¶
Upsert attempts an insert using an executor, and does an update or ignore on conflict.
type OktaskHook ¶
OktaskHook is the signature for custom Oktask hook methods
type OktaskSlice ¶
type OktaskSlice []*Oktask
OktaskSlice is an alias for a slice of pointers to Oktask. This should generally be used opposed to []Oktask.
func (OktaskSlice) DeleteAll ¶
func (o OktaskSlice) DeleteAll(exec boil.Executor) error
DeleteAll deletes all rows in the slice, using an executor.
func (OktaskSlice) DeleteAllG ¶
func (o OktaskSlice) DeleteAllG() error
DeleteAllG deletes all rows in the slice.
func (OktaskSlice) DeleteAllGP ¶
func (o OktaskSlice) DeleteAllGP()
DeleteAllGP deletes all rows in the slice, and panics on error.
func (OktaskSlice) DeleteAllP ¶
func (o OktaskSlice) DeleteAllP(exec boil.Executor)
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*OktaskSlice) ReloadAll ¶
func (o *OktaskSlice) ReloadAll(exec boil.Executor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*OktaskSlice) ReloadAllG ¶
func (o *OktaskSlice) ReloadAllG() error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*OktaskSlice) ReloadAllGP ¶
func (o *OktaskSlice) ReloadAllGP()
ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (*OktaskSlice) ReloadAllP ¶
func (o *OktaskSlice) ReloadAllP(exec boil.Executor)
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (OktaskSlice) UpdateAll ¶
func (o OktaskSlice) UpdateAll(exec boil.Executor, cols M) error
UpdateAll updates all rows with the specified column values, using an executor.
func (OktaskSlice) UpdateAllG ¶
func (o OktaskSlice) UpdateAllG(cols M) error
UpdateAllG updates all rows with the specified column values.
func (OktaskSlice) UpdateAllGP ¶
func (o OktaskSlice) UpdateAllGP(cols M)
UpdateAllGP updates all rows with the specified column values, and panics on error.
func (OktaskSlice) UpdateAllP ¶
func (o OktaskSlice) UpdateAllP(exec boil.Executor, cols M)
UpdateAllP updates all rows with the specified column values, and panics on error.
type ResponseModel ¶
type ResponseModel struct {
// contains filtered or unexported fields
}