Documentation
¶
Index ¶
- Variables
- func AddIssueHook(hookPoint boil.HookPoint, issueHook IssueHook)
- func AddIssueTypeHook(hookPoint boil.HookPoint, issueTypeHook IssueTypeHook)
- func AddPriorityHook(hookPoint boil.HookPoint, priorityHook PriorityHook)
- func AddProjectHook(hookPoint boil.HookPoint, projectHook ProjectHook)
- func AddProjectStatusHook(hookPoint boil.HookPoint, projectStatusHook ProjectStatusHook)
- func AddUserHook(hookPoint boil.HookPoint, userHook UserHook)
- func AddWikiHook(hookPoint boil.HookPoint, wikiHook WikiHook)
- func IssueExists(ctx context.Context, exec boil.ContextExecutor, iD int64) (bool, error)
- func IssueTypeExists(ctx context.Context, exec boil.ContextExecutor, iD int64) (bool, error)
- func IssueTypes(mods ...qm.QueryMod) issueTypeQuery
- func Issues(mods ...qm.QueryMod) issueQuery
- func NewQuery(mods ...qm.QueryMod) *queries.Query
- func Priorities(mods ...qm.QueryMod) priorityQuery
- func PriorityExists(ctx context.Context, exec boil.ContextExecutor, iD int64) (bool, error)
- func ProjectExists(ctx context.Context, exec boil.ContextExecutor, iD int64) (bool, error)
- func ProjectStatusExists(ctx context.Context, exec boil.ContextExecutor, iD int64) (bool, error)
- func ProjectStatuses(mods ...qm.QueryMod) projectStatusQuery
- func Projects(mods ...qm.QueryMod) projectQuery
- func UserExists(ctx context.Context, exec boil.ContextExecutor, iD int64) (bool, error)
- func Users(mods ...qm.QueryMod) userQuery
- func WikiExists(ctx context.Context, exec boil.ContextExecutor, iD int64) (bool, error)
- func Wikis(mods ...qm.QueryMod) wikiQuery
- type Issue
- func (o *Issue) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *Issue) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *Issue) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Issue) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- type IssueHook
- type IssueSlice
- type IssueType
- func (o *IssueType) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *IssueType) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *IssueType) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *IssueType) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- type IssueTypeHook
- type IssueTypeSlice
- type M
- type Priority
- func (o *Priority) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *Priority) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *Priority) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Priority) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- type PriorityHook
- type PrioritySlice
- type Project
- func (o *Project) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *Project) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *Project) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Project) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- type ProjectHook
- type ProjectSlice
- type ProjectStatus
- func (o *ProjectStatus) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *ProjectStatus) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *ProjectStatus) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *ProjectStatus) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- type ProjectStatusHook
- type ProjectStatusSlice
- func (o ProjectStatusSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *ProjectStatusSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o ProjectStatusSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type User
- func (o *User) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *User) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *User) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *User) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- type UserHook
- type UserSlice
- type Wiki
- func (o *Wiki) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *Wiki) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *Wiki) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Wiki) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- type WikiHook
- type WikiSlice
Constants ¶
This section is empty.
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.
var IssueColumns = struct { ID string ProjectID string IssueKey string KeyID string IssueTypeID string Summary string Description string ResolutionID string PriorityID string StatusID string AssigneeID string StartDate string DueDate string EstimatedHours string ActualHours string ParentIssueID string CreatedUserID string UpdatedUserID string CreatedAt string UpdatedAt string }{ ID: "id", ProjectID: "project_id", IssueKey: "issue_key", KeyID: "key_id", IssueTypeID: "issue_type_id", Summary: "summary", Description: "description", ResolutionID: "resolution_id", PriorityID: "priority_id", StatusID: "status_id", AssigneeID: "assignee_id", StartDate: "start_date", DueDate: "due_date", EstimatedHours: "estimated_hours", ActualHours: "actual_hours", ParentIssueID: "parent_issue_id", CreatedUserID: "created_user_id", UpdatedUserID: "updated_user_id", CreatedAt: "created_at", UpdatedAt: "updated_at", }
var IssueRels = struct {
}{}
IssueRels is where relationship names are stored.
var IssueTypeColumns = struct { ID string ProjectID string Name string Color string DisplayOrder string CreatedAt string UpdatedAt string }{ ID: "id", ProjectID: "project_id", Name: "name", Color: "color", DisplayOrder: "display_order", CreatedAt: "created_at", UpdatedAt: "updated_at", }
var IssueTypeRels = struct {
}{}
IssueTypeRels is where relationship names are stored.
var IssueTypeWhere = struct { ID whereHelperint64 ProjectID whereHelperint64 Name whereHelperstring Color whereHelperstring DisplayOrder whereHelperint64 CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time }{ ID: whereHelperint64{/* contains filtered or unexported fields */}, ProjectID: whereHelperint64{/* contains filtered or unexported fields */}, Name: whereHelperstring{/* contains filtered or unexported fields */}, Color: whereHelperstring{/* contains filtered or unexported fields */}, DisplayOrder: whereHelperint64{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, }
var IssueWhere = struct { ID whereHelperint64 ProjectID whereHelpernull_Int64 IssueKey whereHelperstring KeyID whereHelperint64 IssueTypeID whereHelpernull_Int64 Summary whereHelperstring Description whereHelperstring ResolutionID whereHelpernull_Int64 PriorityID whereHelpernull_Int64 StatusID whereHelpernull_Int64 AssigneeID whereHelpernull_Int64 StartDate whereHelpernull_Time DueDate whereHelpernull_Time EstimatedHours whereHelpernull_Float64 ActualHours whereHelpernull_Float64 ParentIssueID whereHelpernull_Int64 CreatedUserID whereHelperint64 UpdatedUserID whereHelperint64 CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time }{ ID: whereHelperint64{/* contains filtered or unexported fields */}, ProjectID: whereHelpernull_Int64{/* contains filtered or unexported fields */}, IssueKey: whereHelperstring{/* contains filtered or unexported fields */}, KeyID: whereHelperint64{/* contains filtered or unexported fields */}, IssueTypeID: whereHelpernull_Int64{/* contains filtered or unexported fields */}, Summary: whereHelperstring{/* contains filtered or unexported fields */}, Description: whereHelperstring{/* contains filtered or unexported fields */}, ResolutionID: whereHelpernull_Int64{/* contains filtered or unexported fields */}, PriorityID: whereHelpernull_Int64{/* contains filtered or unexported fields */}, StatusID: whereHelpernull_Int64{/* contains filtered or unexported fields */}, AssigneeID: whereHelpernull_Int64{/* contains filtered or unexported fields */}, StartDate: whereHelpernull_Time{/* contains filtered or unexported fields */}, DueDate: whereHelpernull_Time{/* contains filtered or unexported fields */}, EstimatedHours: whereHelpernull_Float64{/* contains filtered or unexported fields */}, ActualHours: whereHelpernull_Float64{/* contains filtered or unexported fields */}, ParentIssueID: whereHelpernull_Int64{/* contains filtered or unexported fields */}, CreatedUserID: whereHelperint64{/* contains filtered or unexported fields */}, UpdatedUserID: whereHelperint64{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, }
var PriorityColumns = struct { ID string Name string CreatedAt string UpdatedAt string }{ ID: "id", Name: "name", CreatedAt: "created_at", UpdatedAt: "updated_at", }
var PriorityRels = struct {
}{}
PriorityRels is where relationship names are stored.
var PriorityWhere = struct { ID whereHelperint64 Name whereHelperstring CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time }{ ID: whereHelperint64{/* contains filtered or unexported fields */}, Name: whereHelperstring{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, }
var ProjectColumns = struct { ID string ProjectKey string Name string ChartEnabled string SubtaskingEnabled string ProjectLeaderCanEditProjectLeader string TextFormattingRule string Archived string CreatedAt string UpdatedAt string }{ ID: "id", ProjectKey: "project_key", Name: "name", ChartEnabled: "chart_enabled", SubtaskingEnabled: "subtasking_enabled", ProjectLeaderCanEditProjectLeader: "project_leader_can_edit_project_leader", TextFormattingRule: "text_formatting_rule", Archived: "archived", CreatedAt: "created_at", UpdatedAt: "updated_at", }
var ProjectRels = struct {
}{}
ProjectRels is where relationship names are stored.
var ProjectStatusColumns = struct { ID string ProjectID string Name string Color string DisplayOrder string CreatedAt string UpdatedAt string }{ ID: "id", ProjectID: "project_id", Name: "name", Color: "color", DisplayOrder: "display_order", CreatedAt: "created_at", UpdatedAt: "updated_at", }
var ProjectStatusRels = struct {
}{}
ProjectStatusRels is where relationship names are stored.
var ProjectStatusWhere = struct { ID whereHelperint64 ProjectID whereHelperint64 Name whereHelperstring Color whereHelperstring DisplayOrder whereHelperint64 CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time }{ ID: whereHelperint64{/* contains filtered or unexported fields */}, ProjectID: whereHelperint64{/* contains filtered or unexported fields */}, Name: whereHelperstring{/* contains filtered or unexported fields */}, Color: whereHelperstring{/* contains filtered or unexported fields */}, DisplayOrder: whereHelperint64{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, }
var ProjectWhere = struct { ID whereHelperint64 ProjectKey whereHelperstring Name whereHelperstring ChartEnabled whereHelperbool SubtaskingEnabled whereHelperbool ProjectLeaderCanEditProjectLeader whereHelperbool TextFormattingRule whereHelperstring Archived whereHelperbool CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time }{ ID: whereHelperint64{/* contains filtered or unexported fields */}, ProjectKey: whereHelperstring{/* contains filtered or unexported fields */}, Name: whereHelperstring{/* contains filtered or unexported fields */}, ChartEnabled: whereHelperbool{/* contains filtered or unexported fields */}, SubtaskingEnabled: whereHelperbool{/* contains filtered or unexported fields */}, ProjectLeaderCanEditProjectLeader: whereHelperbool{/* contains filtered or unexported fields */}, TextFormattingRule: whereHelperstring{/* contains filtered or unexported fields */}, Archived: whereHelperbool{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, }
var TableNames = struct { Issue string IssueType string Priority string Project string ProjectStatus string User string Wiki string }{ Issue: "issue", IssueType: "issue_type", Priority: "priority", Project: "project", ProjectStatus: "project_status", User: "user", Wiki: "wiki", }
var UserColumns = struct { ID string UserID string Name string RoleType string Language string Email string NulabAccountID string IsMyself string CreatedAt string UpdatedAt string }{ ID: "id", UserID: "user_id", Name: "name", RoleType: "role_type", Language: "language", Email: "email", NulabAccountID: "nulab_account_id", IsMyself: "is_myself", CreatedAt: "created_at", UpdatedAt: "updated_at", }
var UserRels = struct {
}{}
UserRels is where relationship names are stored.
var UserWhere = struct { ID whereHelperint64 UserID whereHelperstring Name whereHelperstring RoleType whereHelperint64 Language whereHelperstring Email whereHelperstring NulabAccountID whereHelpernull_Int64 IsMyself whereHelperbool CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time }{ ID: whereHelperint64{/* contains filtered or unexported fields */}, UserID: whereHelperstring{/* contains filtered or unexported fields */}, Name: whereHelperstring{/* contains filtered or unexported fields */}, RoleType: whereHelperint64{/* contains filtered or unexported fields */}, Language: whereHelperstring{/* contains filtered or unexported fields */}, Email: whereHelperstring{/* contains filtered or unexported fields */}, NulabAccountID: whereHelpernull_Int64{/* contains filtered or unexported fields */}, IsMyself: whereHelperbool{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, }
var WikiColumns = struct { ID string ProjectID string Name string Content string CreatedUserID string UpdatedUserID string CreatedAt string UpdatedAt string }{ ID: "id", ProjectID: "project_id", Name: "name", Content: "content", CreatedUserID: "created_user_id", UpdatedUserID: "updated_user_id", CreatedAt: "created_at", UpdatedAt: "updated_at", }
var WikiRels = struct {
}{}
WikiRels is where relationship names are stored.
var WikiWhere = struct { ID whereHelperint64 ProjectID whereHelperint64 Name whereHelperstring Content whereHelperstring CreatedUserID whereHelperint64 UpdatedUserID whereHelperint64 CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time }{ ID: whereHelperint64{/* contains filtered or unexported fields */}, ProjectID: whereHelperint64{/* contains filtered or unexported fields */}, Name: whereHelperstring{/* contains filtered or unexported fields */}, Content: whereHelperstring{/* contains filtered or unexported fields */}, CreatedUserID: whereHelperint64{/* contains filtered or unexported fields */}, UpdatedUserID: whereHelperint64{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, }
Functions ¶
func AddIssueHook ¶
AddIssueHook registers your hook function for all future operations.
func AddIssueTypeHook ¶
func AddIssueTypeHook(hookPoint boil.HookPoint, issueTypeHook IssueTypeHook)
AddIssueTypeHook registers your hook function for all future operations.
func AddPriorityHook ¶
func AddPriorityHook(hookPoint boil.HookPoint, priorityHook PriorityHook)
AddPriorityHook registers your hook function for all future operations.
func AddProjectHook ¶
func AddProjectHook(hookPoint boil.HookPoint, projectHook ProjectHook)
AddProjectHook registers your hook function for all future operations.
func AddProjectStatusHook ¶
func AddProjectStatusHook(hookPoint boil.HookPoint, projectStatusHook ProjectStatusHook)
AddProjectStatusHook registers your hook function for all future operations.
func AddUserHook ¶
AddUserHook registers your hook function for all future operations.
func AddWikiHook ¶ added in v0.1.1
AddWikiHook registers your hook function for all future operations.
func IssueExists ¶
IssueExists checks if the Issue row exists.
func IssueTypeExists ¶
IssueTypeExists checks if the IssueType row exists.
func IssueTypes ¶
IssueTypes retrieves all the records using an executor.
func Priorities ¶
Priorities retrieves all the records using an executor.
func PriorityExists ¶
PriorityExists checks if the Priority row exists.
func ProjectExists ¶
ProjectExists checks if the Project row exists.
func ProjectStatusExists ¶
ProjectStatusExists checks if the ProjectStatus row exists.
func ProjectStatuses ¶
ProjectStatuses retrieves all the records using an executor.
func UserExists ¶
UserExists checks if the User row exists.
func WikiExists ¶ added in v0.1.1
WikiExists checks if the Wiki row exists.
Types ¶
type Issue ¶
type Issue struct { ID int64 `boil:"id" json:"id" toml:"id" yaml:"id"` ProjectID null.Int64 `boil:"project_id" json:"project_id,omitempty" toml:"project_id" yaml:"project_id,omitempty"` IssueKey string `boil:"issue_key" json:"issue_key" toml:"issue_key" yaml:"issue_key"` KeyID int64 `boil:"key_id" json:"key_id" toml:"key_id" yaml:"key_id"` IssueTypeID null.Int64 `boil:"issue_type_id" json:"issue_type_id,omitempty" toml:"issue_type_id" yaml:"issue_type_id,omitempty"` Summary string `boil:"summary" json:"summary" toml:"summary" yaml:"summary"` Description string `boil:"description" json:"description" toml:"description" yaml:"description"` ResolutionID null.Int64 `boil:"resolution_id" json:"resolution_id,omitempty" toml:"resolution_id" yaml:"resolution_id,omitempty"` PriorityID null.Int64 `boil:"priority_id" json:"priority_id,omitempty" toml:"priority_id" yaml:"priority_id,omitempty"` StatusID null.Int64 `boil:"status_id" json:"status_id,omitempty" toml:"status_id" yaml:"status_id,omitempty"` AssigneeID null.Int64 `boil:"assignee_id" json:"assignee_id,omitempty" toml:"assignee_id" yaml:"assignee_id,omitempty"` StartDate null.Time `boil:"start_date" json:"start_date,omitempty" toml:"start_date" yaml:"start_date,omitempty"` DueDate null.Time `boil:"due_date" json:"due_date,omitempty" toml:"due_date" yaml:"due_date,omitempty"` EstimatedHours null.Float64 `boil:"estimated_hours" json:"estimated_hours,omitempty" toml:"estimated_hours" yaml:"estimated_hours,omitempty"` ActualHours null.Float64 `boil:"actual_hours" json:"actual_hours,omitempty" toml:"actual_hours" yaml:"actual_hours,omitempty"` ParentIssueID null.Int64 `boil:"parent_issue_id" json:"parent_issue_id,omitempty" toml:"parent_issue_id" yaml:"parent_issue_id,omitempty"` CreatedUserID int64 `boil:"created_user_id" json:"created_user_id" toml:"created_user_id" yaml:"created_user_id"` UpdatedUserID int64 `boil:"updated_user_id" json:"updated_user_id" toml:"updated_user_id" yaml:"updated_user_id"` CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"` UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"` R *issueR `boil:"-" json:"-" toml:"-" yaml:"-"` L issueL `boil:"-" json:"-" toml:"-" yaml:"-"` }
Issue is an object representing the database table.
func FindIssue ¶
func FindIssue(ctx context.Context, exec boil.ContextExecutor, iD int64, selectCols ...string) (*Issue, error)
FindIssue retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*Issue) Delete ¶
Delete deletes a single Issue record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Issue) Insert ¶
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*Issue) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*Issue) Update ¶
func (o *Issue) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the Issue. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
type IssueSlice ¶
type IssueSlice []*Issue
IssueSlice is an alias for a slice of pointers to Issue. This should generally be used opposed to []Issue.
func (IssueSlice) DeleteAll ¶
func (o IssueSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*IssueSlice) ReloadAll ¶
func (o *IssueSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (IssueSlice) UpdateAll ¶
func (o IssueSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type IssueType ¶
type IssueType struct { ID int64 `boil:"id" json:"id" toml:"id" yaml:"id"` ProjectID int64 `boil:"project_id" json:"project_id" toml:"project_id" yaml:"project_id"` Name string `boil:"name" json:"name" toml:"name" yaml:"name"` Color string `boil:"color" json:"color" toml:"color" yaml:"color"` DisplayOrder int64 `boil:"display_order" json:"display_order" toml:"display_order" yaml:"display_order"` CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"` UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"` R *issueTypeR `boil:"-" json:"-" toml:"-" yaml:"-"` L issueTypeL `boil:"-" json:"-" toml:"-" yaml:"-"` }
IssueType is an object representing the database table.
func FindIssueType ¶
func FindIssueType(ctx context.Context, exec boil.ContextExecutor, iD int64, selectCols ...string) (*IssueType, error)
FindIssueType retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*IssueType) Delete ¶
Delete deletes a single IssueType record with an executor. Delete will match against the primary key column to find the record to delete.
func (*IssueType) Insert ¶
func (o *IssueType) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*IssueType) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*IssueType) Update ¶
func (o *IssueType) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the IssueType. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
type IssueTypeHook ¶
IssueTypeHook is the signature for custom IssueType hook methods
type IssueTypeSlice ¶
type IssueTypeSlice []*IssueType
IssueTypeSlice is an alias for a slice of pointers to IssueType. This should generally be used opposed to []IssueType.
func (IssueTypeSlice) DeleteAll ¶
func (o IssueTypeSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*IssueTypeSlice) ReloadAll ¶
func (o *IssueTypeSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (IssueTypeSlice) UpdateAll ¶
func (o IssueTypeSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type M ¶
type M map[string]interface{}
M type is for providing columns and column values to UpdateAll.
type Priority ¶
type Priority struct { ID int64 `boil:"id" json:"id" toml:"id" yaml:"id"` Name string `boil:"name" json:"name" toml:"name" yaml:"name"` CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"` UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"` R *priorityR `boil:"-" json:"-" toml:"-" yaml:"-"` L priorityL `boil:"-" json:"-" toml:"-" yaml:"-"` }
Priority is an object representing the database table.
func FindPriority ¶
func FindPriority(ctx context.Context, exec boil.ContextExecutor, iD int64, selectCols ...string) (*Priority, error)
FindPriority retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*Priority) Delete ¶
Delete deletes a single Priority record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Priority) Insert ¶
func (o *Priority) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*Priority) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*Priority) Update ¶
func (o *Priority) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the Priority. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
type PriorityHook ¶
PriorityHook is the signature for custom Priority hook methods
type PrioritySlice ¶
type PrioritySlice []*Priority
PrioritySlice is an alias for a slice of pointers to Priority. This should generally be used opposed to []Priority.
func (PrioritySlice) DeleteAll ¶
func (o PrioritySlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*PrioritySlice) ReloadAll ¶
func (o *PrioritySlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (PrioritySlice) UpdateAll ¶
func (o PrioritySlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type Project ¶
type Project struct { ID int64 `boil:"id" json:"id" toml:"id" yaml:"id"` ProjectKey string `boil:"project_key" json:"project_key" toml:"project_key" yaml:"project_key"` Name string `boil:"name" json:"name" toml:"name" yaml:"name"` ChartEnabled bool `boil:"chart_enabled" json:"chart_enabled" toml:"chart_enabled" yaml:"chart_enabled"` SubtaskingEnabled bool `boil:"subtasking_enabled" json:"subtasking_enabled" toml:"subtasking_enabled" yaml:"subtasking_enabled"` ProjectLeaderCanEditProjectLeader bool `` /* 183-byte string literal not displayed */ TextFormattingRule string `boil:"text_formatting_rule" json:"text_formatting_rule" toml:"text_formatting_rule" yaml:"text_formatting_rule"` Archived bool `boil:"archived" json:"archived" toml:"archived" yaml:"archived"` CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"` UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"` R *projectR `boil:"-" json:"-" toml:"-" yaml:"-"` L projectL `boil:"-" json:"-" toml:"-" yaml:"-"` }
Project is an object representing the database table.
func FindProject ¶
func FindProject(ctx context.Context, exec boil.ContextExecutor, iD int64, selectCols ...string) (*Project, error)
FindProject retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*Project) Delete ¶
Delete deletes a single Project record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Project) Insert ¶
func (o *Project) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*Project) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*Project) Update ¶
func (o *Project) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the Project. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
type ProjectHook ¶
ProjectHook is the signature for custom Project hook methods
type ProjectSlice ¶
type ProjectSlice []*Project
ProjectSlice is an alias for a slice of pointers to Project. This should generally be used opposed to []Project.
func (ProjectSlice) DeleteAll ¶
func (o ProjectSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*ProjectSlice) ReloadAll ¶
func (o *ProjectSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (ProjectSlice) UpdateAll ¶
func (o ProjectSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type ProjectStatus ¶
type ProjectStatus struct { ID int64 `boil:"id" json:"id" toml:"id" yaml:"id"` ProjectID int64 `boil:"project_id" json:"project_id" toml:"project_id" yaml:"project_id"` Name string `boil:"name" json:"name" toml:"name" yaml:"name"` Color string `boil:"color" json:"color" toml:"color" yaml:"color"` DisplayOrder int64 `boil:"display_order" json:"display_order" toml:"display_order" yaml:"display_order"` CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"` UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"` R *projectStatusR `boil:"-" json:"-" toml:"-" yaml:"-"` L projectStatusL `boil:"-" json:"-" toml:"-" yaml:"-"` }
ProjectStatus is an object representing the database table.
func FindProjectStatus ¶
func FindProjectStatus(ctx context.Context, exec boil.ContextExecutor, iD int64, selectCols ...string) (*ProjectStatus, error)
FindProjectStatus retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*ProjectStatus) Delete ¶
func (o *ProjectStatus) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single ProjectStatus record with an executor. Delete will match against the primary key column to find the record to delete.
func (*ProjectStatus) Insert ¶
func (o *ProjectStatus) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*ProjectStatus) Reload ¶
func (o *ProjectStatus) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*ProjectStatus) Update ¶
func (o *ProjectStatus) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the ProjectStatus. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
type ProjectStatusHook ¶
type ProjectStatusHook func(context.Context, boil.ContextExecutor, *ProjectStatus) error
ProjectStatusHook is the signature for custom ProjectStatus hook methods
type ProjectStatusSlice ¶
type ProjectStatusSlice []*ProjectStatus
ProjectStatusSlice is an alias for a slice of pointers to ProjectStatus. This should generally be used opposed to []ProjectStatus.
func (ProjectStatusSlice) DeleteAll ¶
func (o ProjectStatusSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*ProjectStatusSlice) ReloadAll ¶
func (o *ProjectStatusSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (ProjectStatusSlice) UpdateAll ¶
func (o ProjectStatusSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type User ¶
type User struct { ID int64 `boil:"id" json:"id" toml:"id" yaml:"id"` UserID string `boil:"user_id" json:"user_id" toml:"user_id" yaml:"user_id"` Name string `boil:"name" json:"name" toml:"name" yaml:"name"` RoleType int64 `boil:"role_type" json:"role_type" toml:"role_type" yaml:"role_type"` Language string `boil:"language" json:"language" toml:"language" yaml:"language"` Email string `boil:"email" json:"email" toml:"email" yaml:"email"` NulabAccountID null.Int64 `boil:"nulab_account_id" json:"nulab_account_id,omitempty" toml:"nulab_account_id" yaml:"nulab_account_id,omitempty"` IsMyself bool `boil:"is_myself" json:"is_myself" toml:"is_myself" yaml:"is_myself"` CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"` UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"` R *userR `boil:"-" json:"-" toml:"-" yaml:"-"` L userL `boil:"-" json:"-" toml:"-" yaml:"-"` }
User is an object representing the database table.
func FindUser ¶
func FindUser(ctx context.Context, exec boil.ContextExecutor, iD int64, selectCols ...string) (*User, error)
FindUser retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*User) Delete ¶
Delete deletes a single User record with an executor. Delete will match against the primary key column to find the record to delete.
func (*User) Insert ¶
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*User) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*User) Update ¶
func (o *User) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the User. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
type UserSlice ¶
type UserSlice []*User
UserSlice is an alias for a slice of pointers to User. This should generally be used opposed to []User.
type Wiki ¶ added in v0.1.1
type Wiki struct { ID int64 `boil:"id" json:"id" toml:"id" yaml:"id"` ProjectID int64 `boil:"project_id" json:"project_id" toml:"project_id" yaml:"project_id"` Name string `boil:"name" json:"name" toml:"name" yaml:"name"` Content string `boil:"content" json:"content" toml:"content" yaml:"content"` CreatedUserID int64 `boil:"created_user_id" json:"created_user_id" toml:"created_user_id" yaml:"created_user_id"` UpdatedUserID int64 `boil:"updated_user_id" json:"updated_user_id" toml:"updated_user_id" yaml:"updated_user_id"` CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"` UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"` R *wikiR `boil:"-" json:"-" toml:"-" yaml:"-"` L wikiL `boil:"-" json:"-" toml:"-" yaml:"-"` }
Wiki is an object representing the database table.
func FindWiki ¶ added in v0.1.1
func FindWiki(ctx context.Context, exec boil.ContextExecutor, iD int64, selectCols ...string) (*Wiki, error)
FindWiki retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*Wiki) Delete ¶ added in v0.1.1
Delete deletes a single Wiki record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Wiki) Insert ¶ added in v0.1.1
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*Wiki) Reload ¶ added in v0.1.1
Reload refetches the object from the database using the primary keys with an executor.
func (*Wiki) Update ¶ added in v0.1.1
func (o *Wiki) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the Wiki. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
type WikiSlice ¶ added in v0.1.1
type WikiSlice []*Wiki
WikiSlice is an alias for a slice of pointers to Wiki. This should generally be used opposed to []Wiki.
func (WikiSlice) DeleteAll ¶ added in v0.1.1
DeleteAll deletes all rows in the slice, using an executor.