Documentation ¶
Index ¶
- Constants
- Variables
- func Asc(fields ...string) func(*sql.Selector)
- func Desc(fields ...string) func(*sql.Selector)
- func IsConstraintError(err error) bool
- func IsNotFound(err error) bool
- func IsNotLoaded(err error) bool
- func IsNotSingular(err error) bool
- func IsValidationError(err error) bool
- func MaskNotFound(err error) error
- func NewContext(parent context.Context, c *Client) context.Context
- func NewTxContext(parent context.Context, tx *Tx) context.Context
- type AggregateFunc
- type Client
- func (c *Client) BeginTx(ctx context.Context, opts *sql.TxOptions) (*Tx, error)
- func (c *Client) Close() error
- func (c *Client) Debug() *Client
- func (c *Client) Intercept(interceptors ...Interceptor)
- func (c *Client) Mutate(ctx context.Context, m Mutation) (Value, error)
- func (c *Client) Tx(ctx context.Context) (*Tx, error)
- func (c *Client) Use(hooks ...Hook)
- type CommitFunc
- type CommitHook
- type Committer
- type ConstraintError
- type Hook
- type InterceptFunc
- type Interceptor
- type Issue
- func (i *Issue) MarshalJSON() ([]byte, error)
- func (i *Issue) QueryAssignees() *UserQuery
- func (i *Issue) QueryClosedBy() *UserQuery
- func (i *Issue) QueryComments() *IssueCommentQuery
- func (i *Issue) QueryRepository() *RepositoryQuery
- func (i *Issue) QueryUser() *UserQuery
- func (i *Issue) String() string
- func (i *Issue) Unwrap() *Issue
- func (i *Issue) Update() *IssueUpdateOne
- func (i *Issue) Value(name string) (ent.Value, error)
- type IssueClient
- func (c *IssueClient) Create() *IssueCreate
- func (c *IssueClient) CreateBulk(builders ...*IssueCreate) *IssueCreateBulk
- func (c *IssueClient) Delete() *IssueDelete
- func (c *IssueClient) DeleteOne(i *Issue) *IssueDeleteOne
- func (c *IssueClient) DeleteOneID(id int64) *IssueDeleteOne
- func (c *IssueClient) Get(ctx context.Context, id int64) (*Issue, error)
- func (c *IssueClient) GetX(ctx context.Context, id int64) *Issue
- func (c *IssueClient) Hooks() []Hook
- func (c *IssueClient) Intercept(interceptors ...Interceptor)
- func (c *IssueClient) Interceptors() []Interceptor
- func (c *IssueClient) MapCreateBulk(slice any, setFunc func(*IssueCreate, int)) *IssueCreateBulk
- func (c *IssueClient) Query() *IssueQuery
- func (c *IssueClient) QueryAssignees(i *Issue) *UserQuery
- func (c *IssueClient) QueryClosedBy(i *Issue) *UserQuery
- func (c *IssueClient) QueryComments(i *Issue) *IssueCommentQuery
- func (c *IssueClient) QueryRepository(i *Issue) *RepositoryQuery
- func (c *IssueClient) QueryUser(i *Issue) *UserQuery
- func (c *IssueClient) Update() *IssueUpdate
- func (c *IssueClient) UpdateOne(i *Issue) *IssueUpdateOne
- func (c *IssueClient) UpdateOneID(id int64) *IssueUpdateOne
- func (c *IssueClient) Use(hooks ...Hook)
- type IssueComment
- func (ic *IssueComment) MarshalJSON() ([]byte, error)
- func (ic *IssueComment) QueryIssue() *IssueQuery
- func (ic *IssueComment) QueryUser() *UserQuery
- func (ic *IssueComment) String() string
- func (ic *IssueComment) Unwrap() *IssueComment
- func (ic *IssueComment) Update() *IssueCommentUpdateOne
- func (ic *IssueComment) Value(name string) (ent.Value, error)
- type IssueCommentClient
- func (c *IssueCommentClient) Create() *IssueCommentCreate
- func (c *IssueCommentClient) CreateBulk(builders ...*IssueCommentCreate) *IssueCommentCreateBulk
- func (c *IssueCommentClient) Delete() *IssueCommentDelete
- func (c *IssueCommentClient) DeleteOne(ic *IssueComment) *IssueCommentDeleteOne
- func (c *IssueCommentClient) DeleteOneID(id int64) *IssueCommentDeleteOne
- func (c *IssueCommentClient) Get(ctx context.Context, id int64) (*IssueComment, error)
- func (c *IssueCommentClient) GetX(ctx context.Context, id int64) *IssueComment
- func (c *IssueCommentClient) Hooks() []Hook
- func (c *IssueCommentClient) Intercept(interceptors ...Interceptor)
- func (c *IssueCommentClient) Interceptors() []Interceptor
- func (c *IssueCommentClient) MapCreateBulk(slice any, setFunc func(*IssueCommentCreate, int)) *IssueCommentCreateBulk
- func (c *IssueCommentClient) Query() *IssueCommentQuery
- func (c *IssueCommentClient) QueryIssue(ic *IssueComment) *IssueQuery
- func (c *IssueCommentClient) QueryUser(ic *IssueComment) *UserQuery
- func (c *IssueCommentClient) Update() *IssueCommentUpdate
- func (c *IssueCommentClient) UpdateOne(ic *IssueComment) *IssueCommentUpdateOne
- func (c *IssueCommentClient) UpdateOneID(id int64) *IssueCommentUpdateOne
- func (c *IssueCommentClient) Use(hooks ...Hook)
- type IssueCommentCreate
- func (icc *IssueCommentCreate) CopyIssueComment(input *IssueComment) *IssueCommentCreate
- func (icc *IssueCommentCreate) Exec(ctx context.Context) error
- func (icc *IssueCommentCreate) ExecX(ctx context.Context)
- func (icc *IssueCommentCreate) Mutation() *IssueCommentMutation
- func (icc *IssueCommentCreate) OnConflict(opts ...sql.ConflictOption) *IssueCommentUpsertOne
- func (icc *IssueCommentCreate) OnConflictColumns(columns ...string) *IssueCommentUpsertOne
- func (icc *IssueCommentCreate) Save(ctx context.Context) (*IssueComment, error)
- func (icc *IssueCommentCreate) SaveX(ctx context.Context) *IssueComment
- func (icc *IssueCommentCreate) SetAuthorAssociation(ia issuecomment.AuthorAssociation) *IssueCommentCreate
- func (icc *IssueCommentCreate) SetBody(s string) *IssueCommentCreate
- func (icc *IssueCommentCreate) SetCreatedAt(s string) *IssueCommentCreate
- func (icc *IssueCommentCreate) SetHTMLURL(s string) *IssueCommentCreate
- func (icc *IssueCommentCreate) SetID(i int64) *IssueCommentCreate
- func (icc *IssueCommentCreate) SetIssue(i *Issue) *IssueCommentCreate
- func (icc *IssueCommentCreate) SetIssueID(id int64) *IssueCommentCreate
- func (icc *IssueCommentCreate) SetIssueURL(s string) *IssueCommentCreate
- func (icc *IssueCommentCreate) SetNillableIssueID(id *int64) *IssueCommentCreate
- func (icc *IssueCommentCreate) SetNillableUserID(id *int64) *IssueCommentCreate
- func (icc *IssueCommentCreate) SetNodeID(s string) *IssueCommentCreate
- func (icc *IssueCommentCreate) SetReactions(m map[string]interface{}) *IssueCommentCreate
- func (icc *IssueCommentCreate) SetURL(s string) *IssueCommentCreate
- func (icc *IssueCommentCreate) SetUpdatedAt(s string) *IssueCommentCreate
- func (icc *IssueCommentCreate) SetUser(u *User) *IssueCommentCreate
- func (icc *IssueCommentCreate) SetUserID(id int64) *IssueCommentCreate
- type IssueCommentCreateBulk
- func (iccb *IssueCommentCreateBulk) Exec(ctx context.Context) error
- func (iccb *IssueCommentCreateBulk) ExecX(ctx context.Context)
- func (iccb *IssueCommentCreateBulk) OnConflict(opts ...sql.ConflictOption) *IssueCommentUpsertBulk
- func (iccb *IssueCommentCreateBulk) OnConflictColumns(columns ...string) *IssueCommentUpsertBulk
- func (iccb *IssueCommentCreateBulk) Save(ctx context.Context) ([]*IssueComment, error)
- func (iccb *IssueCommentCreateBulk) SaveX(ctx context.Context) []*IssueComment
- type IssueCommentDelete
- type IssueCommentDeleteOne
- type IssueCommentEdges
- type IssueCommentGroupBy
- func (icgb *IssueCommentGroupBy) Aggregate(fns ...AggregateFunc) *IssueCommentGroupBy
- func (s *IssueCommentGroupBy) Bool(ctx context.Context) (_ bool, err error)
- func (s *IssueCommentGroupBy) BoolX(ctx context.Context) bool
- func (s *IssueCommentGroupBy) Bools(ctx context.Context) ([]bool, error)
- func (s *IssueCommentGroupBy) BoolsX(ctx context.Context) []bool
- func (s *IssueCommentGroupBy) Float64(ctx context.Context) (_ float64, err error)
- func (s *IssueCommentGroupBy) Float64X(ctx context.Context) float64
- func (s *IssueCommentGroupBy) Float64s(ctx context.Context) ([]float64, error)
- func (s *IssueCommentGroupBy) Float64sX(ctx context.Context) []float64
- func (s *IssueCommentGroupBy) Int(ctx context.Context) (_ int, err error)
- func (s *IssueCommentGroupBy) IntX(ctx context.Context) int
- func (s *IssueCommentGroupBy) Ints(ctx context.Context) ([]int, error)
- func (s *IssueCommentGroupBy) IntsX(ctx context.Context) []int
- func (icgb *IssueCommentGroupBy) Scan(ctx context.Context, v any) error
- func (s *IssueCommentGroupBy) ScanX(ctx context.Context, v any)
- func (s *IssueCommentGroupBy) String(ctx context.Context) (_ string, err error)
- func (s *IssueCommentGroupBy) StringX(ctx context.Context) string
- func (s *IssueCommentGroupBy) Strings(ctx context.Context) ([]string, error)
- func (s *IssueCommentGroupBy) StringsX(ctx context.Context) []string
- type IssueCommentMutation
- func (m *IssueCommentMutation) AddField(name string, value ent.Value) error
- func (m *IssueCommentMutation) AddedEdges() []string
- func (m *IssueCommentMutation) AddedField(name string) (ent.Value, bool)
- func (m *IssueCommentMutation) AddedFields() []string
- func (m *IssueCommentMutation) AddedIDs(name string) []ent.Value
- func (m *IssueCommentMutation) AuthorAssociation() (r issuecomment.AuthorAssociation, exists bool)
- func (m *IssueCommentMutation) Body() (r string, exists bool)
- func (m *IssueCommentMutation) ClearEdge(name string) error
- func (m *IssueCommentMutation) ClearField(name string) error
- func (m *IssueCommentMutation) ClearIssue()
- func (m *IssueCommentMutation) ClearUser()
- func (m *IssueCommentMutation) ClearedEdges() []string
- func (m *IssueCommentMutation) ClearedFields() []string
- func (m IssueCommentMutation) Client() *Client
- func (m *IssueCommentMutation) CreatedAt() (r string, exists bool)
- func (m *IssueCommentMutation) EdgeCleared(name string) bool
- func (m *IssueCommentMutation) Field(name string) (ent.Value, bool)
- func (m *IssueCommentMutation) FieldCleared(name string) bool
- func (m *IssueCommentMutation) Fields() []string
- func (m *IssueCommentMutation) HTMLURL() (r string, exists bool)
- func (m *IssueCommentMutation) ID() (id int64, exists bool)
- func (m *IssueCommentMutation) IDs(ctx context.Context) ([]int64, error)
- func (m *IssueCommentMutation) IssueCleared() bool
- func (m *IssueCommentMutation) IssueID() (id int64, exists bool)
- func (m *IssueCommentMutation) IssueIDs() (ids []int64)
- func (m *IssueCommentMutation) IssueURL() (r string, exists bool)
- func (m *IssueCommentMutation) NodeID() (r string, exists bool)
- func (m *IssueCommentMutation) OldAuthorAssociation(ctx context.Context) (v issuecomment.AuthorAssociation, err error)
- func (m *IssueCommentMutation) OldBody(ctx context.Context) (v string, err error)
- func (m *IssueCommentMutation) OldCreatedAt(ctx context.Context) (v string, err error)
- func (m *IssueCommentMutation) OldField(ctx context.Context, name string) (ent.Value, error)
- func (m *IssueCommentMutation) OldHTMLURL(ctx context.Context) (v string, err error)
- func (m *IssueCommentMutation) OldIssueURL(ctx context.Context) (v string, err error)
- func (m *IssueCommentMutation) OldNodeID(ctx context.Context) (v string, err error)
- func (m *IssueCommentMutation) OldReactions(ctx context.Context) (v map[string]interface{}, err error)
- func (m *IssueCommentMutation) OldURL(ctx context.Context) (v string, err error)
- func (m *IssueCommentMutation) OldUpdatedAt(ctx context.Context) (v string, err error)
- func (m *IssueCommentMutation) Op() Op
- func (m *IssueCommentMutation) Reactions() (r map[string]interface{}, exists bool)
- func (m *IssueCommentMutation) RemovedEdges() []string
- func (m *IssueCommentMutation) RemovedIDs(name string) []ent.Value
- func (m *IssueCommentMutation) ResetAuthorAssociation()
- func (m *IssueCommentMutation) ResetBody()
- func (m *IssueCommentMutation) ResetCreatedAt()
- func (m *IssueCommentMutation) ResetEdge(name string) error
- func (m *IssueCommentMutation) ResetField(name string) error
- func (m *IssueCommentMutation) ResetHTMLURL()
- func (m *IssueCommentMutation) ResetIssue()
- func (m *IssueCommentMutation) ResetIssueURL()
- func (m *IssueCommentMutation) ResetNodeID()
- func (m *IssueCommentMutation) ResetReactions()
- func (m *IssueCommentMutation) ResetURL()
- func (m *IssueCommentMutation) ResetUpdatedAt()
- func (m *IssueCommentMutation) ResetUser()
- func (m *IssueCommentMutation) SetAuthorAssociation(ia issuecomment.AuthorAssociation)
- func (m *IssueCommentMutation) SetBody(s string)
- func (m *IssueCommentMutation) SetCreatedAt(s string)
- func (m *IssueCommentMutation) SetField(name string, value ent.Value) error
- func (m *IssueCommentMutation) SetHTMLURL(s string)
- func (m *IssueCommentMutation) SetID(id int64)
- func (m *IssueCommentMutation) SetIssueID(id int64)
- func (m *IssueCommentMutation) SetIssueURL(s string)
- func (m *IssueCommentMutation) SetNodeID(s string)
- func (m *IssueCommentMutation) SetOp(op Op)
- func (m *IssueCommentMutation) SetReactions(value map[string]interface{})
- func (m *IssueCommentMutation) SetURL(s string)
- func (m *IssueCommentMutation) SetUpdatedAt(s string)
- func (m *IssueCommentMutation) SetUserID(id int64)
- func (m IssueCommentMutation) Tx() (*Tx, error)
- func (m *IssueCommentMutation) Type() string
- func (m *IssueCommentMutation) URL() (r string, exists bool)
- func (m *IssueCommentMutation) UpdatedAt() (r string, exists bool)
- func (m *IssueCommentMutation) UserCleared() bool
- func (m *IssueCommentMutation) UserID() (id int64, exists bool)
- func (m *IssueCommentMutation) UserIDs() (ids []int64)
- func (m *IssueCommentMutation) Where(ps ...predicate.IssueComment)
- func (m *IssueCommentMutation) WhereP(ps ...func(*sql.Selector))
- type IssueCommentQuery
- func (icq *IssueCommentQuery) Aggregate(fns ...AggregateFunc) *IssueCommentSelect
- func (icq *IssueCommentQuery) All(ctx context.Context) ([]*IssueComment, error)
- func (icq *IssueCommentQuery) AllX(ctx context.Context) []*IssueComment
- func (icq *IssueCommentQuery) Clone() *IssueCommentQuery
- func (icq *IssueCommentQuery) Count(ctx context.Context) (int, error)
- func (icq *IssueCommentQuery) CountX(ctx context.Context) int
- func (icq *IssueCommentQuery) Exist(ctx context.Context) (bool, error)
- func (icq *IssueCommentQuery) ExistX(ctx context.Context) bool
- func (icq *IssueCommentQuery) First(ctx context.Context) (*IssueComment, error)
- func (icq *IssueCommentQuery) FirstID(ctx context.Context) (id int64, err error)
- func (icq *IssueCommentQuery) FirstIDX(ctx context.Context) int64
- func (icq *IssueCommentQuery) FirstX(ctx context.Context) *IssueComment
- func (icq *IssueCommentQuery) GroupBy(field string, fields ...string) *IssueCommentGroupBy
- func (icq *IssueCommentQuery) IDs(ctx context.Context) (ids []int64, err error)
- func (icq *IssueCommentQuery) IDsX(ctx context.Context) []int64
- func (icq *IssueCommentQuery) Limit(limit int) *IssueCommentQuery
- func (icq *IssueCommentQuery) Offset(offset int) *IssueCommentQuery
- func (icq *IssueCommentQuery) Only(ctx context.Context) (*IssueComment, error)
- func (icq *IssueCommentQuery) OnlyID(ctx context.Context) (id int64, err error)
- func (icq *IssueCommentQuery) OnlyIDX(ctx context.Context) int64
- func (icq *IssueCommentQuery) OnlyX(ctx context.Context) *IssueComment
- func (icq *IssueCommentQuery) Order(o ...issuecomment.OrderOption) *IssueCommentQuery
- func (icq *IssueCommentQuery) QueryIssue() *IssueQuery
- func (icq *IssueCommentQuery) QueryUser() *UserQuery
- func (icq *IssueCommentQuery) Select(fields ...string) *IssueCommentSelect
- func (icq *IssueCommentQuery) Unique(unique bool) *IssueCommentQuery
- func (icq *IssueCommentQuery) Where(ps ...predicate.IssueComment) *IssueCommentQuery
- func (icq *IssueCommentQuery) WithIssue(opts ...func(*IssueQuery)) *IssueCommentQuery
- func (icq *IssueCommentQuery) WithUser(opts ...func(*UserQuery)) *IssueCommentQuery
- type IssueCommentSelect
- func (ics *IssueCommentSelect) Aggregate(fns ...AggregateFunc) *IssueCommentSelect
- func (s *IssueCommentSelect) Bool(ctx context.Context) (_ bool, err error)
- func (s *IssueCommentSelect) BoolX(ctx context.Context) bool
- func (s *IssueCommentSelect) Bools(ctx context.Context) ([]bool, error)
- func (s *IssueCommentSelect) BoolsX(ctx context.Context) []bool
- func (s *IssueCommentSelect) Float64(ctx context.Context) (_ float64, err error)
- func (s *IssueCommentSelect) Float64X(ctx context.Context) float64
- func (s *IssueCommentSelect) Float64s(ctx context.Context) ([]float64, error)
- func (s *IssueCommentSelect) Float64sX(ctx context.Context) []float64
- func (s *IssueCommentSelect) Int(ctx context.Context) (_ int, err error)
- func (s *IssueCommentSelect) IntX(ctx context.Context) int
- func (s *IssueCommentSelect) Ints(ctx context.Context) ([]int, error)
- func (s *IssueCommentSelect) IntsX(ctx context.Context) []int
- func (ics *IssueCommentSelect) Scan(ctx context.Context, v any) error
- func (s *IssueCommentSelect) ScanX(ctx context.Context, v any)
- func (s *IssueCommentSelect) String(ctx context.Context) (_ string, err error)
- func (s *IssueCommentSelect) StringX(ctx context.Context) string
- func (s *IssueCommentSelect) Strings(ctx context.Context) ([]string, error)
- func (s *IssueCommentSelect) StringsX(ctx context.Context) []string
- type IssueCommentUpdate
- func (icu *IssueCommentUpdate) ClearIssue() *IssueCommentUpdate
- func (icu *IssueCommentUpdate) ClearUser() *IssueCommentUpdate
- func (icu *IssueCommentUpdate) Exec(ctx context.Context) error
- func (icu *IssueCommentUpdate) ExecX(ctx context.Context)
- func (icu *IssueCommentUpdate) Mutation() *IssueCommentMutation
- func (icu *IssueCommentUpdate) Save(ctx context.Context) (int, error)
- func (icu *IssueCommentUpdate) SaveX(ctx context.Context) int
- func (icu *IssueCommentUpdate) SetAuthorAssociation(ia issuecomment.AuthorAssociation) *IssueCommentUpdate
- func (icu *IssueCommentUpdate) SetBody(s string) *IssueCommentUpdate
- func (icu *IssueCommentUpdate) SetCreatedAt(s string) *IssueCommentUpdate
- func (icu *IssueCommentUpdate) SetHTMLURL(s string) *IssueCommentUpdate
- func (icu *IssueCommentUpdate) SetIssue(i *Issue) *IssueCommentUpdate
- func (icu *IssueCommentUpdate) SetIssueID(id int64) *IssueCommentUpdate
- func (icu *IssueCommentUpdate) SetIssueURL(s string) *IssueCommentUpdate
- func (icu *IssueCommentUpdate) SetNillableAuthorAssociation(ia *issuecomment.AuthorAssociation) *IssueCommentUpdate
- func (icu *IssueCommentUpdate) SetNillableBody(s *string) *IssueCommentUpdate
- func (icu *IssueCommentUpdate) SetNillableCreatedAt(s *string) *IssueCommentUpdate
- func (icu *IssueCommentUpdate) SetNillableHTMLURL(s *string) *IssueCommentUpdate
- func (icu *IssueCommentUpdate) SetNillableIssueID(id *int64) *IssueCommentUpdate
- func (icu *IssueCommentUpdate) SetNillableIssueURL(s *string) *IssueCommentUpdate
- func (icu *IssueCommentUpdate) SetNillableNodeID(s *string) *IssueCommentUpdate
- func (icu *IssueCommentUpdate) SetNillableURL(s *string) *IssueCommentUpdate
- func (icu *IssueCommentUpdate) SetNillableUpdatedAt(s *string) *IssueCommentUpdate
- func (icu *IssueCommentUpdate) SetNillableUserID(id *int64) *IssueCommentUpdate
- func (icu *IssueCommentUpdate) SetNodeID(s string) *IssueCommentUpdate
- func (icu *IssueCommentUpdate) SetReactions(m map[string]interface{}) *IssueCommentUpdate
- func (icu *IssueCommentUpdate) SetURL(s string) *IssueCommentUpdate
- func (icu *IssueCommentUpdate) SetUpdatedAt(s string) *IssueCommentUpdate
- func (icu *IssueCommentUpdate) SetUser(u *User) *IssueCommentUpdate
- func (icu *IssueCommentUpdate) SetUserID(id int64) *IssueCommentUpdate
- func (icu *IssueCommentUpdate) Where(ps ...predicate.IssueComment) *IssueCommentUpdate
- type IssueCommentUpdateOne
- func (icuo *IssueCommentUpdateOne) ClearIssue() *IssueCommentUpdateOne
- func (icuo *IssueCommentUpdateOne) ClearUser() *IssueCommentUpdateOne
- func (icuo *IssueCommentUpdateOne) CopyIssueComment(input *IssueComment) *IssueCommentUpdateOne
- func (icuo *IssueCommentUpdateOne) Exec(ctx context.Context) error
- func (icuo *IssueCommentUpdateOne) ExecX(ctx context.Context)
- func (icuo *IssueCommentUpdateOne) Mutation() *IssueCommentMutation
- func (icuo *IssueCommentUpdateOne) Save(ctx context.Context) (*IssueComment, error)
- func (icuo *IssueCommentUpdateOne) SaveX(ctx context.Context) *IssueComment
- func (icuo *IssueCommentUpdateOne) Select(field string, fields ...string) *IssueCommentUpdateOne
- func (icuo *IssueCommentUpdateOne) SetAuthorAssociation(ia issuecomment.AuthorAssociation) *IssueCommentUpdateOne
- func (icuo *IssueCommentUpdateOne) SetBody(s string) *IssueCommentUpdateOne
- func (icuo *IssueCommentUpdateOne) SetCreatedAt(s string) *IssueCommentUpdateOne
- func (icuo *IssueCommentUpdateOne) SetHTMLURL(s string) *IssueCommentUpdateOne
- func (icuo *IssueCommentUpdateOne) SetIssue(i *Issue) *IssueCommentUpdateOne
- func (icuo *IssueCommentUpdateOne) SetIssueID(id int64) *IssueCommentUpdateOne
- func (icuo *IssueCommentUpdateOne) SetIssueURL(s string) *IssueCommentUpdateOne
- func (icuo *IssueCommentUpdateOne) SetNillableAuthorAssociation(ia *issuecomment.AuthorAssociation) *IssueCommentUpdateOne
- func (icuo *IssueCommentUpdateOne) SetNillableBody(s *string) *IssueCommentUpdateOne
- func (icuo *IssueCommentUpdateOne) SetNillableCreatedAt(s *string) *IssueCommentUpdateOne
- func (icuo *IssueCommentUpdateOne) SetNillableHTMLURL(s *string) *IssueCommentUpdateOne
- func (icuo *IssueCommentUpdateOne) SetNillableIssueID(id *int64) *IssueCommentUpdateOne
- func (icuo *IssueCommentUpdateOne) SetNillableIssueURL(s *string) *IssueCommentUpdateOne
- func (icuo *IssueCommentUpdateOne) SetNillableNodeID(s *string) *IssueCommentUpdateOne
- func (icuo *IssueCommentUpdateOne) SetNillableURL(s *string) *IssueCommentUpdateOne
- func (icuo *IssueCommentUpdateOne) SetNillableUpdatedAt(s *string) *IssueCommentUpdateOne
- func (icuo *IssueCommentUpdateOne) SetNillableUserID(id *int64) *IssueCommentUpdateOne
- func (icuo *IssueCommentUpdateOne) SetNodeID(s string) *IssueCommentUpdateOne
- func (icuo *IssueCommentUpdateOne) SetReactions(m map[string]interface{}) *IssueCommentUpdateOne
- func (icuo *IssueCommentUpdateOne) SetURL(s string) *IssueCommentUpdateOne
- func (icuo *IssueCommentUpdateOne) SetUpdatedAt(s string) *IssueCommentUpdateOne
- func (icuo *IssueCommentUpdateOne) SetUser(u *User) *IssueCommentUpdateOne
- func (icuo *IssueCommentUpdateOne) SetUserID(id int64) *IssueCommentUpdateOne
- func (icuo *IssueCommentUpdateOne) Where(ps ...predicate.IssueComment) *IssueCommentUpdateOne
- type IssueCommentUpsert
- func (u *IssueCommentUpsert) SetAuthorAssociation(v issuecomment.AuthorAssociation) *IssueCommentUpsert
- func (u *IssueCommentUpsert) SetBody(v string) *IssueCommentUpsert
- func (u *IssueCommentUpsert) SetCreatedAt(v string) *IssueCommentUpsert
- func (u *IssueCommentUpsert) SetHTMLURL(v string) *IssueCommentUpsert
- func (u *IssueCommentUpsert) SetIssueURL(v string) *IssueCommentUpsert
- func (u *IssueCommentUpsert) SetNodeID(v string) *IssueCommentUpsert
- func (u *IssueCommentUpsert) SetReactions(v map[string]interface{}) *IssueCommentUpsert
- func (u *IssueCommentUpsert) SetURL(v string) *IssueCommentUpsert
- func (u *IssueCommentUpsert) SetUpdatedAt(v string) *IssueCommentUpsert
- func (u *IssueCommentUpsert) UpdateAuthorAssociation() *IssueCommentUpsert
- func (u *IssueCommentUpsert) UpdateBody() *IssueCommentUpsert
- func (u *IssueCommentUpsert) UpdateCreatedAt() *IssueCommentUpsert
- func (u *IssueCommentUpsert) UpdateHTMLURL() *IssueCommentUpsert
- func (u *IssueCommentUpsert) UpdateIssueURL() *IssueCommentUpsert
- func (u *IssueCommentUpsert) UpdateNodeID() *IssueCommentUpsert
- func (u *IssueCommentUpsert) UpdateReactions() *IssueCommentUpsert
- func (u *IssueCommentUpsert) UpdateURL() *IssueCommentUpsert
- func (u *IssueCommentUpsert) UpdateUpdatedAt() *IssueCommentUpsert
- type IssueCommentUpsertBulk
- func (u *IssueCommentUpsertBulk) DoNothing() *IssueCommentUpsertBulk
- func (u *IssueCommentUpsertBulk) Exec(ctx context.Context) error
- func (u *IssueCommentUpsertBulk) ExecX(ctx context.Context)
- func (u *IssueCommentUpsertBulk) Ignore() *IssueCommentUpsertBulk
- func (u *IssueCommentUpsertBulk) SetAuthorAssociation(v issuecomment.AuthorAssociation) *IssueCommentUpsertBulk
- func (u *IssueCommentUpsertBulk) SetBody(v string) *IssueCommentUpsertBulk
- func (u *IssueCommentUpsertBulk) SetCreatedAt(v string) *IssueCommentUpsertBulk
- func (u *IssueCommentUpsertBulk) SetHTMLURL(v string) *IssueCommentUpsertBulk
- func (u *IssueCommentUpsertBulk) SetIssueURL(v string) *IssueCommentUpsertBulk
- func (u *IssueCommentUpsertBulk) SetNodeID(v string) *IssueCommentUpsertBulk
- func (u *IssueCommentUpsertBulk) SetReactions(v map[string]interface{}) *IssueCommentUpsertBulk
- func (u *IssueCommentUpsertBulk) SetURL(v string) *IssueCommentUpsertBulk
- func (u *IssueCommentUpsertBulk) SetUpdatedAt(v string) *IssueCommentUpsertBulk
- func (u *IssueCommentUpsertBulk) Update(set func(*IssueCommentUpsert)) *IssueCommentUpsertBulk
- func (u *IssueCommentUpsertBulk) UpdateAuthorAssociation() *IssueCommentUpsertBulk
- func (u *IssueCommentUpsertBulk) UpdateBody() *IssueCommentUpsertBulk
- func (u *IssueCommentUpsertBulk) UpdateCreatedAt() *IssueCommentUpsertBulk
- func (u *IssueCommentUpsertBulk) UpdateHTMLURL() *IssueCommentUpsertBulk
- func (u *IssueCommentUpsertBulk) UpdateIssueURL() *IssueCommentUpsertBulk
- func (u *IssueCommentUpsertBulk) UpdateNewValues() *IssueCommentUpsertBulk
- func (u *IssueCommentUpsertBulk) UpdateNodeID() *IssueCommentUpsertBulk
- func (u *IssueCommentUpsertBulk) UpdateReactions() *IssueCommentUpsertBulk
- func (u *IssueCommentUpsertBulk) UpdateURL() *IssueCommentUpsertBulk
- func (u *IssueCommentUpsertBulk) UpdateUpdatedAt() *IssueCommentUpsertBulk
- type IssueCommentUpsertOne
- func (u *IssueCommentUpsertOne) DoNothing() *IssueCommentUpsertOne
- func (u *IssueCommentUpsertOne) Exec(ctx context.Context) error
- func (u *IssueCommentUpsertOne) ExecX(ctx context.Context)
- func (u *IssueCommentUpsertOne) ID(ctx context.Context) (id int64, err error)
- func (u *IssueCommentUpsertOne) IDX(ctx context.Context) int64
- func (u *IssueCommentUpsertOne) Ignore() *IssueCommentUpsertOne
- func (u *IssueCommentUpsertOne) SetAuthorAssociation(v issuecomment.AuthorAssociation) *IssueCommentUpsertOne
- func (u *IssueCommentUpsertOne) SetBody(v string) *IssueCommentUpsertOne
- func (u *IssueCommentUpsertOne) SetCreatedAt(v string) *IssueCommentUpsertOne
- func (u *IssueCommentUpsertOne) SetHTMLURL(v string) *IssueCommentUpsertOne
- func (u *IssueCommentUpsertOne) SetIssueURL(v string) *IssueCommentUpsertOne
- func (u *IssueCommentUpsertOne) SetNodeID(v string) *IssueCommentUpsertOne
- func (u *IssueCommentUpsertOne) SetReactions(v map[string]interface{}) *IssueCommentUpsertOne
- func (u *IssueCommentUpsertOne) SetURL(v string) *IssueCommentUpsertOne
- func (u *IssueCommentUpsertOne) SetUpdatedAt(v string) *IssueCommentUpsertOne
- func (u *IssueCommentUpsertOne) Update(set func(*IssueCommentUpsert)) *IssueCommentUpsertOne
- func (u *IssueCommentUpsertOne) UpdateAuthorAssociation() *IssueCommentUpsertOne
- func (u *IssueCommentUpsertOne) UpdateBody() *IssueCommentUpsertOne
- func (u *IssueCommentUpsertOne) UpdateCreatedAt() *IssueCommentUpsertOne
- func (u *IssueCommentUpsertOne) UpdateHTMLURL() *IssueCommentUpsertOne
- func (u *IssueCommentUpsertOne) UpdateIssueURL() *IssueCommentUpsertOne
- func (u *IssueCommentUpsertOne) UpdateNewValues() *IssueCommentUpsertOne
- func (u *IssueCommentUpsertOne) UpdateNodeID() *IssueCommentUpsertOne
- func (u *IssueCommentUpsertOne) UpdateReactions() *IssueCommentUpsertOne
- func (u *IssueCommentUpsertOne) UpdateURL() *IssueCommentUpsertOne
- func (u *IssueCommentUpsertOne) UpdateUpdatedAt() *IssueCommentUpsertOne
- type IssueComments
- type IssueCreate
- func (ic *IssueCreate) AddAssigneeIDs(ids ...int64) *IssueCreate
- func (ic *IssueCreate) AddAssignees(u ...*User) *IssueCreate
- func (ic *IssueCreate) AddCommentIDs(ids ...int64) *IssueCreate
- func (ic *IssueCreate) AddComments(i ...*IssueComment) *IssueCreate
- func (ic *IssueCreate) CopyIssue(input *Issue) *IssueCreate
- func (ic *IssueCreate) Exec(ctx context.Context) error
- func (ic *IssueCreate) ExecX(ctx context.Context)
- func (ic *IssueCreate) Mutation() *IssueMutation
- func (ic *IssueCreate) OnConflict(opts ...sql.ConflictOption) *IssueUpsertOne
- func (ic *IssueCreate) OnConflictColumns(columns ...string) *IssueUpsertOne
- func (ic *IssueCreate) Save(ctx context.Context) (*Issue, error)
- func (ic *IssueCreate) SaveX(ctx context.Context) *Issue
- func (ic *IssueCreate) SetActiveLockReason(s string) *IssueCreate
- func (ic *IssueCreate) SetAuthorAssociation(ia issue.AuthorAssociation) *IssueCreate
- func (ic *IssueCreate) SetBody(s string) *IssueCreate
- func (ic *IssueCreate) SetClosedAt(t time.Time) *IssueCreate
- func (ic *IssueCreate) SetClosedBy(u *User) *IssueCreate
- func (ic *IssueCreate) SetClosedByID(id int64) *IssueCreate
- func (ic *IssueCreate) SetCommentsURL(s string) *IssueCreate
- func (ic *IssueCreate) SetCreatedAt(t time.Time) *IssueCreate
- func (ic *IssueCreate) SetDraft(b bool) *IssueCreate
- func (ic *IssueCreate) SetEventsURL(s string) *IssueCreate
- func (ic *IssueCreate) SetHTMLURL(s string) *IssueCreate
- func (ic *IssueCreate) SetID(i int64) *IssueCreate
- func (ic *IssueCreate) SetLabelsURL(s string) *IssueCreate
- func (ic *IssueCreate) SetLocked(b bool) *IssueCreate
- func (ic *IssueCreate) SetNillableActiveLockReason(s *string) *IssueCreate
- func (ic *IssueCreate) SetNillableBody(s *string) *IssueCreate
- func (ic *IssueCreate) SetNillableClosedAt(t *time.Time) *IssueCreate
- func (ic *IssueCreate) SetNillableClosedByID(id *int64) *IssueCreate
- func (ic *IssueCreate) SetNillableStateReason(ir *issue.StateReason) *IssueCreate
- func (ic *IssueCreate) SetNillableUserID(id *int64) *IssueCreate
- func (ic *IssueCreate) SetNodeID(s string) *IssueCreate
- func (ic *IssueCreate) SetNumber(i int64) *IssueCreate
- func (ic *IssueCreate) SetReactions(m map[string]interface{}) *IssueCreate
- func (ic *IssueCreate) SetRepository(r *Repository) *IssueCreate
- func (ic *IssueCreate) SetRepositoryID(id int64) *IssueCreate
- func (ic *IssueCreate) SetRepositoryURL(s string) *IssueCreate
- func (ic *IssueCreate) SetState(s string) *IssueCreate
- func (ic *IssueCreate) SetStateReason(ir issue.StateReason) *IssueCreate
- func (ic *IssueCreate) SetTitle(s string) *IssueCreate
- func (ic *IssueCreate) SetURL(s string) *IssueCreate
- func (ic *IssueCreate) SetUpdatedAt(t time.Time) *IssueCreate
- func (ic *IssueCreate) SetUser(u *User) *IssueCreate
- func (ic *IssueCreate) SetUserID(id int64) *IssueCreate
- type IssueCreateBulk
- func (icb *IssueCreateBulk) Exec(ctx context.Context) error
- func (icb *IssueCreateBulk) ExecX(ctx context.Context)
- func (icb *IssueCreateBulk) OnConflict(opts ...sql.ConflictOption) *IssueUpsertBulk
- func (icb *IssueCreateBulk) OnConflictColumns(columns ...string) *IssueUpsertBulk
- func (icb *IssueCreateBulk) Save(ctx context.Context) ([]*Issue, error)
- func (icb *IssueCreateBulk) SaveX(ctx context.Context) []*Issue
- type IssueDelete
- type IssueDeleteOne
- type IssueEdges
- type IssueGroupBy
- func (igb *IssueGroupBy) Aggregate(fns ...AggregateFunc) *IssueGroupBy
- func (s *IssueGroupBy) Bool(ctx context.Context) (_ bool, err error)
- func (s *IssueGroupBy) BoolX(ctx context.Context) bool
- func (s *IssueGroupBy) Bools(ctx context.Context) ([]bool, error)
- func (s *IssueGroupBy) BoolsX(ctx context.Context) []bool
- func (s *IssueGroupBy) Float64(ctx context.Context) (_ float64, err error)
- func (s *IssueGroupBy) Float64X(ctx context.Context) float64
- func (s *IssueGroupBy) Float64s(ctx context.Context) ([]float64, error)
- func (s *IssueGroupBy) Float64sX(ctx context.Context) []float64
- func (s *IssueGroupBy) Int(ctx context.Context) (_ int, err error)
- func (s *IssueGroupBy) IntX(ctx context.Context) int
- func (s *IssueGroupBy) Ints(ctx context.Context) ([]int, error)
- func (s *IssueGroupBy) IntsX(ctx context.Context) []int
- func (igb *IssueGroupBy) Scan(ctx context.Context, v any) error
- func (s *IssueGroupBy) ScanX(ctx context.Context, v any)
- func (s *IssueGroupBy) String(ctx context.Context) (_ string, err error)
- func (s *IssueGroupBy) StringX(ctx context.Context) string
- func (s *IssueGroupBy) Strings(ctx context.Context) ([]string, error)
- func (s *IssueGroupBy) StringsX(ctx context.Context) []string
- type IssueMutation
- func (m *IssueMutation) ActiveLockReason() (r string, exists bool)
- func (m *IssueMutation) ActiveLockReasonCleared() bool
- func (m *IssueMutation) AddAssigneeIDs(ids ...int64)
- func (m *IssueMutation) AddCommentIDs(ids ...int64)
- func (m *IssueMutation) AddField(name string, value ent.Value) error
- func (m *IssueMutation) AddNumber(i int64)
- func (m *IssueMutation) AddedEdges() []string
- func (m *IssueMutation) AddedField(name string) (ent.Value, bool)
- func (m *IssueMutation) AddedFields() []string
- func (m *IssueMutation) AddedIDs(name string) []ent.Value
- func (m *IssueMutation) AddedNumber() (r int64, exists bool)
- func (m *IssueMutation) AssigneesCleared() bool
- func (m *IssueMutation) AssigneesIDs() (ids []int64)
- func (m *IssueMutation) AuthorAssociation() (r issue.AuthorAssociation, exists bool)
- func (m *IssueMutation) Body() (r string, exists bool)
- func (m *IssueMutation) BodyCleared() bool
- func (m *IssueMutation) ClearActiveLockReason()
- func (m *IssueMutation) ClearAssignees()
- func (m *IssueMutation) ClearBody()
- func (m *IssueMutation) ClearClosedAt()
- func (m *IssueMutation) ClearClosedBy()
- func (m *IssueMutation) ClearComments()
- func (m *IssueMutation) ClearEdge(name string) error
- func (m *IssueMutation) ClearField(name string) error
- func (m *IssueMutation) ClearRepository()
- func (m *IssueMutation) ClearStateReason()
- func (m *IssueMutation) ClearUser()
- func (m *IssueMutation) ClearedEdges() []string
- func (m *IssueMutation) ClearedFields() []string
- func (m IssueMutation) Client() *Client
- func (m *IssueMutation) ClosedAt() (r time.Time, exists bool)
- func (m *IssueMutation) ClosedAtCleared() bool
- func (m *IssueMutation) ClosedByCleared() bool
- func (m *IssueMutation) ClosedByID() (id int64, exists bool)
- func (m *IssueMutation) ClosedByIDs() (ids []int64)
- func (m *IssueMutation) CommentsCleared() bool
- func (m *IssueMutation) CommentsIDs() (ids []int64)
- func (m *IssueMutation) CommentsURL() (r string, exists bool)
- func (m *IssueMutation) CreatedAt() (r time.Time, exists bool)
- func (m *IssueMutation) Draft() (r bool, exists bool)
- func (m *IssueMutation) EdgeCleared(name string) bool
- func (m *IssueMutation) EventsURL() (r string, exists bool)
- func (m *IssueMutation) Field(name string) (ent.Value, bool)
- func (m *IssueMutation) FieldCleared(name string) bool
- func (m *IssueMutation) Fields() []string
- func (m *IssueMutation) HTMLURL() (r string, exists bool)
- func (m *IssueMutation) ID() (id int64, exists bool)
- func (m *IssueMutation) IDs(ctx context.Context) ([]int64, error)
- func (m *IssueMutation) LabelsURL() (r string, exists bool)
- func (m *IssueMutation) Locked() (r bool, exists bool)
- func (m *IssueMutation) NodeID() (r string, exists bool)
- func (m *IssueMutation) Number() (r int64, exists bool)
- func (m *IssueMutation) OldActiveLockReason(ctx context.Context) (v *string, err error)
- func (m *IssueMutation) OldAuthorAssociation(ctx context.Context) (v issue.AuthorAssociation, err error)
- func (m *IssueMutation) OldBody(ctx context.Context) (v *string, err error)
- func (m *IssueMutation) OldClosedAt(ctx context.Context) (v *time.Time, err error)
- func (m *IssueMutation) OldCommentsURL(ctx context.Context) (v string, err error)
- func (m *IssueMutation) OldCreatedAt(ctx context.Context) (v time.Time, err error)
- func (m *IssueMutation) OldDraft(ctx context.Context) (v bool, err error)
- func (m *IssueMutation) OldEventsURL(ctx context.Context) (v string, err error)
- func (m *IssueMutation) OldField(ctx context.Context, name string) (ent.Value, error)
- func (m *IssueMutation) OldHTMLURL(ctx context.Context) (v string, err error)
- func (m *IssueMutation) OldLabelsURL(ctx context.Context) (v string, err error)
- func (m *IssueMutation) OldLocked(ctx context.Context) (v bool, err error)
- func (m *IssueMutation) OldNodeID(ctx context.Context) (v string, err error)
- func (m *IssueMutation) OldNumber(ctx context.Context) (v int64, err error)
- func (m *IssueMutation) OldReactions(ctx context.Context) (v map[string]interface{}, err error)
- func (m *IssueMutation) OldRepositoryURL(ctx context.Context) (v string, err error)
- func (m *IssueMutation) OldState(ctx context.Context) (v string, err error)
- func (m *IssueMutation) OldStateReason(ctx context.Context) (v *issue.StateReason, err error)
- func (m *IssueMutation) OldTitle(ctx context.Context) (v string, err error)
- func (m *IssueMutation) OldURL(ctx context.Context) (v string, err error)
- func (m *IssueMutation) OldUpdatedAt(ctx context.Context) (v time.Time, err error)
- func (m *IssueMutation) Op() Op
- func (m *IssueMutation) Reactions() (r map[string]interface{}, exists bool)
- func (m *IssueMutation) RemoveAssigneeIDs(ids ...int64)
- func (m *IssueMutation) RemoveCommentIDs(ids ...int64)
- func (m *IssueMutation) RemovedAssigneesIDs() (ids []int64)
- func (m *IssueMutation) RemovedCommentsIDs() (ids []int64)
- func (m *IssueMutation) RemovedEdges() []string
- func (m *IssueMutation) RemovedIDs(name string) []ent.Value
- func (m *IssueMutation) RepositoryCleared() bool
- func (m *IssueMutation) RepositoryID() (id int64, exists bool)
- func (m *IssueMutation) RepositoryIDs() (ids []int64)
- func (m *IssueMutation) RepositoryURL() (r string, exists bool)
- func (m *IssueMutation) ResetActiveLockReason()
- func (m *IssueMutation) ResetAssignees()
- func (m *IssueMutation) ResetAuthorAssociation()
- func (m *IssueMutation) ResetBody()
- func (m *IssueMutation) ResetClosedAt()
- func (m *IssueMutation) ResetClosedBy()
- func (m *IssueMutation) ResetComments()
- func (m *IssueMutation) ResetCommentsURL()
- func (m *IssueMutation) ResetCreatedAt()
- func (m *IssueMutation) ResetDraft()
- func (m *IssueMutation) ResetEdge(name string) error
- func (m *IssueMutation) ResetEventsURL()
- func (m *IssueMutation) ResetField(name string) error
- func (m *IssueMutation) ResetHTMLURL()
- func (m *IssueMutation) ResetLabelsURL()
- func (m *IssueMutation) ResetLocked()
- func (m *IssueMutation) ResetNodeID()
- func (m *IssueMutation) ResetNumber()
- func (m *IssueMutation) ResetReactions()
- func (m *IssueMutation) ResetRepository()
- func (m *IssueMutation) ResetRepositoryURL()
- func (m *IssueMutation) ResetState()
- func (m *IssueMutation) ResetStateReason()
- func (m *IssueMutation) ResetTitle()
- func (m *IssueMutation) ResetURL()
- func (m *IssueMutation) ResetUpdatedAt()
- func (m *IssueMutation) ResetUser()
- func (m *IssueMutation) SetActiveLockReason(s string)
- func (m *IssueMutation) SetAuthorAssociation(ia issue.AuthorAssociation)
- func (m *IssueMutation) SetBody(s string)
- func (m *IssueMutation) SetClosedAt(t time.Time)
- func (m *IssueMutation) SetClosedByID(id int64)
- func (m *IssueMutation) SetCommentsURL(s string)
- func (m *IssueMutation) SetCreatedAt(t time.Time)
- func (m *IssueMutation) SetDraft(b bool)
- func (m *IssueMutation) SetEventsURL(s string)
- func (m *IssueMutation) SetField(name string, value ent.Value) error
- func (m *IssueMutation) SetHTMLURL(s string)
- func (m *IssueMutation) SetID(id int64)
- func (m *IssueMutation) SetLabelsURL(s string)
- func (m *IssueMutation) SetLocked(b bool)
- func (m *IssueMutation) SetNodeID(s string)
- func (m *IssueMutation) SetNumber(i int64)
- func (m *IssueMutation) SetOp(op Op)
- func (m *IssueMutation) SetReactions(value map[string]interface{})
- func (m *IssueMutation) SetRepositoryID(id int64)
- func (m *IssueMutation) SetRepositoryURL(s string)
- func (m *IssueMutation) SetState(s string)
- func (m *IssueMutation) SetStateReason(ir issue.StateReason)
- func (m *IssueMutation) SetTitle(s string)
- func (m *IssueMutation) SetURL(s string)
- func (m *IssueMutation) SetUpdatedAt(t time.Time)
- func (m *IssueMutation) SetUserID(id int64)
- func (m *IssueMutation) State() (r string, exists bool)
- func (m *IssueMutation) StateReason() (r issue.StateReason, exists bool)
- func (m *IssueMutation) StateReasonCleared() bool
- func (m *IssueMutation) Title() (r string, exists bool)
- func (m IssueMutation) Tx() (*Tx, error)
- func (m *IssueMutation) Type() string
- func (m *IssueMutation) URL() (r string, exists bool)
- func (m *IssueMutation) UpdatedAt() (r time.Time, exists bool)
- func (m *IssueMutation) UserCleared() bool
- func (m *IssueMutation) UserID() (id int64, exists bool)
- func (m *IssueMutation) UserIDs() (ids []int64)
- func (m *IssueMutation) Where(ps ...predicate.Issue)
- func (m *IssueMutation) WhereP(ps ...func(*sql.Selector))
- type IssueQuery
- func (iq *IssueQuery) Aggregate(fns ...AggregateFunc) *IssueSelect
- func (iq *IssueQuery) All(ctx context.Context) ([]*Issue, error)
- func (iq *IssueQuery) AllX(ctx context.Context) []*Issue
- func (iq *IssueQuery) Clone() *IssueQuery
- func (iq *IssueQuery) Count(ctx context.Context) (int, error)
- func (iq *IssueQuery) CountX(ctx context.Context) int
- func (iq *IssueQuery) Exist(ctx context.Context) (bool, error)
- func (iq *IssueQuery) ExistX(ctx context.Context) bool
- func (iq *IssueQuery) First(ctx context.Context) (*Issue, error)
- func (iq *IssueQuery) FirstID(ctx context.Context) (id int64, err error)
- func (iq *IssueQuery) FirstIDX(ctx context.Context) int64
- func (iq *IssueQuery) FirstX(ctx context.Context) *Issue
- func (iq *IssueQuery) GroupBy(field string, fields ...string) *IssueGroupBy
- func (iq *IssueQuery) IDs(ctx context.Context) (ids []int64, err error)
- func (iq *IssueQuery) IDsX(ctx context.Context) []int64
- func (iq *IssueQuery) Limit(limit int) *IssueQuery
- func (iq *IssueQuery) Offset(offset int) *IssueQuery
- func (iq *IssueQuery) Only(ctx context.Context) (*Issue, error)
- func (iq *IssueQuery) OnlyID(ctx context.Context) (id int64, err error)
- func (iq *IssueQuery) OnlyIDX(ctx context.Context) int64
- func (iq *IssueQuery) OnlyX(ctx context.Context) *Issue
- func (iq *IssueQuery) Order(o ...issue.OrderOption) *IssueQuery
- func (iq *IssueQuery) QueryAssignees() *UserQuery
- func (iq *IssueQuery) QueryClosedBy() *UserQuery
- func (iq *IssueQuery) QueryComments() *IssueCommentQuery
- func (iq *IssueQuery) QueryRepository() *RepositoryQuery
- func (iq *IssueQuery) QueryUser() *UserQuery
- func (iq *IssueQuery) Select(fields ...string) *IssueSelect
- func (iq *IssueQuery) Unique(unique bool) *IssueQuery
- func (iq *IssueQuery) Where(ps ...predicate.Issue) *IssueQuery
- func (iq *IssueQuery) WithAssignees(opts ...func(*UserQuery)) *IssueQuery
- func (iq *IssueQuery) WithClosedBy(opts ...func(*UserQuery)) *IssueQuery
- func (iq *IssueQuery) WithComments(opts ...func(*IssueCommentQuery)) *IssueQuery
- func (iq *IssueQuery) WithRepository(opts ...func(*RepositoryQuery)) *IssueQuery
- func (iq *IssueQuery) WithUser(opts ...func(*UserQuery)) *IssueQuery
- type IssueSelect
- func (is *IssueSelect) Aggregate(fns ...AggregateFunc) *IssueSelect
- func (s *IssueSelect) Bool(ctx context.Context) (_ bool, err error)
- func (s *IssueSelect) BoolX(ctx context.Context) bool
- func (s *IssueSelect) Bools(ctx context.Context) ([]bool, error)
- func (s *IssueSelect) BoolsX(ctx context.Context) []bool
- func (s *IssueSelect) Float64(ctx context.Context) (_ float64, err error)
- func (s *IssueSelect) Float64X(ctx context.Context) float64
- func (s *IssueSelect) Float64s(ctx context.Context) ([]float64, error)
- func (s *IssueSelect) Float64sX(ctx context.Context) []float64
- func (s *IssueSelect) Int(ctx context.Context) (_ int, err error)
- func (s *IssueSelect) IntX(ctx context.Context) int
- func (s *IssueSelect) Ints(ctx context.Context) ([]int, error)
- func (s *IssueSelect) IntsX(ctx context.Context) []int
- func (is *IssueSelect) Scan(ctx context.Context, v any) error
- func (s *IssueSelect) ScanX(ctx context.Context, v any)
- func (s *IssueSelect) String(ctx context.Context) (_ string, err error)
- func (s *IssueSelect) StringX(ctx context.Context) string
- func (s *IssueSelect) Strings(ctx context.Context) ([]string, error)
- func (s *IssueSelect) StringsX(ctx context.Context) []string
- type IssueUpdate
- func (iu *IssueUpdate) AddAssigneeIDs(ids ...int64) *IssueUpdate
- func (iu *IssueUpdate) AddAssignees(u ...*User) *IssueUpdate
- func (iu *IssueUpdate) AddCommentIDs(ids ...int64) *IssueUpdate
- func (iu *IssueUpdate) AddComments(i ...*IssueComment) *IssueUpdate
- func (iu *IssueUpdate) AddNumber(i int64) *IssueUpdate
- func (iu *IssueUpdate) ClearActiveLockReason() *IssueUpdate
- func (iu *IssueUpdate) ClearAssignees() *IssueUpdate
- func (iu *IssueUpdate) ClearBody() *IssueUpdate
- func (iu *IssueUpdate) ClearClosedAt() *IssueUpdate
- func (iu *IssueUpdate) ClearClosedBy() *IssueUpdate
- func (iu *IssueUpdate) ClearComments() *IssueUpdate
- func (iu *IssueUpdate) ClearRepository() *IssueUpdate
- func (iu *IssueUpdate) ClearStateReason() *IssueUpdate
- func (iu *IssueUpdate) ClearUser() *IssueUpdate
- func (iu *IssueUpdate) Exec(ctx context.Context) error
- func (iu *IssueUpdate) ExecX(ctx context.Context)
- func (iu *IssueUpdate) Mutation() *IssueMutation
- func (iu *IssueUpdate) RemoveAssigneeIDs(ids ...int64) *IssueUpdate
- func (iu *IssueUpdate) RemoveAssignees(u ...*User) *IssueUpdate
- func (iu *IssueUpdate) RemoveCommentIDs(ids ...int64) *IssueUpdate
- func (iu *IssueUpdate) RemoveComments(i ...*IssueComment) *IssueUpdate
- func (iu *IssueUpdate) Save(ctx context.Context) (int, error)
- func (iu *IssueUpdate) SaveX(ctx context.Context) int
- func (iu *IssueUpdate) SetActiveLockReason(s string) *IssueUpdate
- func (iu *IssueUpdate) SetAuthorAssociation(ia issue.AuthorAssociation) *IssueUpdate
- func (iu *IssueUpdate) SetBody(s string) *IssueUpdate
- func (iu *IssueUpdate) SetClosedAt(t time.Time) *IssueUpdate
- func (iu *IssueUpdate) SetClosedBy(u *User) *IssueUpdate
- func (iu *IssueUpdate) SetClosedByID(id int64) *IssueUpdate
- func (iu *IssueUpdate) SetCommentsURL(s string) *IssueUpdate
- func (iu *IssueUpdate) SetCreatedAt(t time.Time) *IssueUpdate
- func (iu *IssueUpdate) SetDraft(b bool) *IssueUpdate
- func (iu *IssueUpdate) SetEventsURL(s string) *IssueUpdate
- func (iu *IssueUpdate) SetHTMLURL(s string) *IssueUpdate
- func (iu *IssueUpdate) SetLabelsURL(s string) *IssueUpdate
- func (iu *IssueUpdate) SetLocked(b bool) *IssueUpdate
- func (iu *IssueUpdate) SetNillableActiveLockReason(s *string) *IssueUpdate
- func (iu *IssueUpdate) SetNillableAuthorAssociation(ia *issue.AuthorAssociation) *IssueUpdate
- func (iu *IssueUpdate) SetNillableBody(s *string) *IssueUpdate
- func (iu *IssueUpdate) SetNillableClosedAt(t *time.Time) *IssueUpdate
- func (iu *IssueUpdate) SetNillableClosedByID(id *int64) *IssueUpdate
- func (iu *IssueUpdate) SetNillableCommentsURL(s *string) *IssueUpdate
- func (iu *IssueUpdate) SetNillableCreatedAt(t *time.Time) *IssueUpdate
- func (iu *IssueUpdate) SetNillableDraft(b *bool) *IssueUpdate
- func (iu *IssueUpdate) SetNillableEventsURL(s *string) *IssueUpdate
- func (iu *IssueUpdate) SetNillableHTMLURL(s *string) *IssueUpdate
- func (iu *IssueUpdate) SetNillableLabelsURL(s *string) *IssueUpdate
- func (iu *IssueUpdate) SetNillableLocked(b *bool) *IssueUpdate
- func (iu *IssueUpdate) SetNillableNodeID(s *string) *IssueUpdate
- func (iu *IssueUpdate) SetNillableNumber(i *int64) *IssueUpdate
- func (iu *IssueUpdate) SetNillableRepositoryURL(s *string) *IssueUpdate
- func (iu *IssueUpdate) SetNillableState(s *string) *IssueUpdate
- func (iu *IssueUpdate) SetNillableStateReason(ir *issue.StateReason) *IssueUpdate
- func (iu *IssueUpdate) SetNillableTitle(s *string) *IssueUpdate
- func (iu *IssueUpdate) SetNillableURL(s *string) *IssueUpdate
- func (iu *IssueUpdate) SetNillableUpdatedAt(t *time.Time) *IssueUpdate
- func (iu *IssueUpdate) SetNillableUserID(id *int64) *IssueUpdate
- func (iu *IssueUpdate) SetNodeID(s string) *IssueUpdate
- func (iu *IssueUpdate) SetNumber(i int64) *IssueUpdate
- func (iu *IssueUpdate) SetReactions(m map[string]interface{}) *IssueUpdate
- func (iu *IssueUpdate) SetRepository(r *Repository) *IssueUpdate
- func (iu *IssueUpdate) SetRepositoryID(id int64) *IssueUpdate
- func (iu *IssueUpdate) SetRepositoryURL(s string) *IssueUpdate
- func (iu *IssueUpdate) SetState(s string) *IssueUpdate
- func (iu *IssueUpdate) SetStateReason(ir issue.StateReason) *IssueUpdate
- func (iu *IssueUpdate) SetTitle(s string) *IssueUpdate
- func (iu *IssueUpdate) SetURL(s string) *IssueUpdate
- func (iu *IssueUpdate) SetUpdatedAt(t time.Time) *IssueUpdate
- func (iu *IssueUpdate) SetUser(u *User) *IssueUpdate
- func (iu *IssueUpdate) SetUserID(id int64) *IssueUpdate
- func (iu *IssueUpdate) Where(ps ...predicate.Issue) *IssueUpdate
- type IssueUpdateOne
- func (iuo *IssueUpdateOne) AddAssigneeIDs(ids ...int64) *IssueUpdateOne
- func (iuo *IssueUpdateOne) AddAssignees(u ...*User) *IssueUpdateOne
- func (iuo *IssueUpdateOne) AddCommentIDs(ids ...int64) *IssueUpdateOne
- func (iuo *IssueUpdateOne) AddComments(i ...*IssueComment) *IssueUpdateOne
- func (iuo *IssueUpdateOne) AddNumber(i int64) *IssueUpdateOne
- func (iuo *IssueUpdateOne) ClearActiveLockReason() *IssueUpdateOne
- func (iuo *IssueUpdateOne) ClearAssignees() *IssueUpdateOne
- func (iuo *IssueUpdateOne) ClearBody() *IssueUpdateOne
- func (iuo *IssueUpdateOne) ClearClosedAt() *IssueUpdateOne
- func (iuo *IssueUpdateOne) ClearClosedBy() *IssueUpdateOne
- func (iuo *IssueUpdateOne) ClearComments() *IssueUpdateOne
- func (iuo *IssueUpdateOne) ClearRepository() *IssueUpdateOne
- func (iuo *IssueUpdateOne) ClearStateReason() *IssueUpdateOne
- func (iuo *IssueUpdateOne) ClearUser() *IssueUpdateOne
- func (iuo *IssueUpdateOne) CopyIssue(input *Issue) *IssueUpdateOne
- func (iuo *IssueUpdateOne) Exec(ctx context.Context) error
- func (iuo *IssueUpdateOne) ExecX(ctx context.Context)
- func (iuo *IssueUpdateOne) Mutation() *IssueMutation
- func (iuo *IssueUpdateOne) RemoveAssigneeIDs(ids ...int64) *IssueUpdateOne
- func (iuo *IssueUpdateOne) RemoveAssignees(u ...*User) *IssueUpdateOne
- func (iuo *IssueUpdateOne) RemoveCommentIDs(ids ...int64) *IssueUpdateOne
- func (iuo *IssueUpdateOne) RemoveComments(i ...*IssueComment) *IssueUpdateOne
- func (iuo *IssueUpdateOne) Save(ctx context.Context) (*Issue, error)
- func (iuo *IssueUpdateOne) SaveX(ctx context.Context) *Issue
- func (iuo *IssueUpdateOne) Select(field string, fields ...string) *IssueUpdateOne
- func (iuo *IssueUpdateOne) SetActiveLockReason(s string) *IssueUpdateOne
- func (iuo *IssueUpdateOne) SetAuthorAssociation(ia issue.AuthorAssociation) *IssueUpdateOne
- func (iuo *IssueUpdateOne) SetBody(s string) *IssueUpdateOne
- func (iuo *IssueUpdateOne) SetClosedAt(t time.Time) *IssueUpdateOne
- func (iuo *IssueUpdateOne) SetClosedBy(u *User) *IssueUpdateOne
- func (iuo *IssueUpdateOne) SetClosedByID(id int64) *IssueUpdateOne
- func (iuo *IssueUpdateOne) SetCommentsURL(s string) *IssueUpdateOne
- func (iuo *IssueUpdateOne) SetCreatedAt(t time.Time) *IssueUpdateOne
- func (iuo *IssueUpdateOne) SetDraft(b bool) *IssueUpdateOne
- func (iuo *IssueUpdateOne) SetEventsURL(s string) *IssueUpdateOne
- func (iuo *IssueUpdateOne) SetHTMLURL(s string) *IssueUpdateOne
- func (iuo *IssueUpdateOne) SetLabelsURL(s string) *IssueUpdateOne
- func (iuo *IssueUpdateOne) SetLocked(b bool) *IssueUpdateOne
- func (iuo *IssueUpdateOne) SetNillableActiveLockReason(s *string) *IssueUpdateOne
- func (iuo *IssueUpdateOne) SetNillableAuthorAssociation(ia *issue.AuthorAssociation) *IssueUpdateOne
- func (iuo *IssueUpdateOne) SetNillableBody(s *string) *IssueUpdateOne
- func (iuo *IssueUpdateOne) SetNillableClosedAt(t *time.Time) *IssueUpdateOne
- func (iuo *IssueUpdateOne) SetNillableClosedByID(id *int64) *IssueUpdateOne
- func (iuo *IssueUpdateOne) SetNillableCommentsURL(s *string) *IssueUpdateOne
- func (iuo *IssueUpdateOne) SetNillableCreatedAt(t *time.Time) *IssueUpdateOne
- func (iuo *IssueUpdateOne) SetNillableDraft(b *bool) *IssueUpdateOne
- func (iuo *IssueUpdateOne) SetNillableEventsURL(s *string) *IssueUpdateOne
- func (iuo *IssueUpdateOne) SetNillableHTMLURL(s *string) *IssueUpdateOne
- func (iuo *IssueUpdateOne) SetNillableLabelsURL(s *string) *IssueUpdateOne
- func (iuo *IssueUpdateOne) SetNillableLocked(b *bool) *IssueUpdateOne
- func (iuo *IssueUpdateOne) SetNillableNodeID(s *string) *IssueUpdateOne
- func (iuo *IssueUpdateOne) SetNillableNumber(i *int64) *IssueUpdateOne
- func (iuo *IssueUpdateOne) SetNillableRepositoryURL(s *string) *IssueUpdateOne
- func (iuo *IssueUpdateOne) SetNillableState(s *string) *IssueUpdateOne
- func (iuo *IssueUpdateOne) SetNillableStateReason(ir *issue.StateReason) *IssueUpdateOne
- func (iuo *IssueUpdateOne) SetNillableTitle(s *string) *IssueUpdateOne
- func (iuo *IssueUpdateOne) SetNillableURL(s *string) *IssueUpdateOne
- func (iuo *IssueUpdateOne) SetNillableUpdatedAt(t *time.Time) *IssueUpdateOne
- func (iuo *IssueUpdateOne) SetNillableUserID(id *int64) *IssueUpdateOne
- func (iuo *IssueUpdateOne) SetNodeID(s string) *IssueUpdateOne
- func (iuo *IssueUpdateOne) SetNumber(i int64) *IssueUpdateOne
- func (iuo *IssueUpdateOne) SetReactions(m map[string]interface{}) *IssueUpdateOne
- func (iuo *IssueUpdateOne) SetRepository(r *Repository) *IssueUpdateOne
- func (iuo *IssueUpdateOne) SetRepositoryID(id int64) *IssueUpdateOne
- func (iuo *IssueUpdateOne) SetRepositoryURL(s string) *IssueUpdateOne
- func (iuo *IssueUpdateOne) SetState(s string) *IssueUpdateOne
- func (iuo *IssueUpdateOne) SetStateReason(ir issue.StateReason) *IssueUpdateOne
- func (iuo *IssueUpdateOne) SetTitle(s string) *IssueUpdateOne
- func (iuo *IssueUpdateOne) SetURL(s string) *IssueUpdateOne
- func (iuo *IssueUpdateOne) SetUpdatedAt(t time.Time) *IssueUpdateOne
- func (iuo *IssueUpdateOne) SetUser(u *User) *IssueUpdateOne
- func (iuo *IssueUpdateOne) SetUserID(id int64) *IssueUpdateOne
- func (iuo *IssueUpdateOne) Where(ps ...predicate.Issue) *IssueUpdateOne
- type IssueUpsert
- func (u *IssueUpsert) AddNumber(v int64) *IssueUpsert
- func (u *IssueUpsert) ClearActiveLockReason() *IssueUpsert
- func (u *IssueUpsert) ClearBody() *IssueUpsert
- func (u *IssueUpsert) ClearClosedAt() *IssueUpsert
- func (u *IssueUpsert) ClearStateReason() *IssueUpsert
- func (u *IssueUpsert) SetActiveLockReason(v string) *IssueUpsert
- func (u *IssueUpsert) SetAuthorAssociation(v issue.AuthorAssociation) *IssueUpsert
- func (u *IssueUpsert) SetBody(v string) *IssueUpsert
- func (u *IssueUpsert) SetClosedAt(v time.Time) *IssueUpsert
- func (u *IssueUpsert) SetCommentsURL(v string) *IssueUpsert
- func (u *IssueUpsert) SetCreatedAt(v time.Time) *IssueUpsert
- func (u *IssueUpsert) SetDraft(v bool) *IssueUpsert
- func (u *IssueUpsert) SetEventsURL(v string) *IssueUpsert
- func (u *IssueUpsert) SetHTMLURL(v string) *IssueUpsert
- func (u *IssueUpsert) SetLabelsURL(v string) *IssueUpsert
- func (u *IssueUpsert) SetLocked(v bool) *IssueUpsert
- func (u *IssueUpsert) SetNodeID(v string) *IssueUpsert
- func (u *IssueUpsert) SetNumber(v int64) *IssueUpsert
- func (u *IssueUpsert) SetReactions(v map[string]interface{}) *IssueUpsert
- func (u *IssueUpsert) SetRepositoryURL(v string) *IssueUpsert
- func (u *IssueUpsert) SetState(v string) *IssueUpsert
- func (u *IssueUpsert) SetStateReason(v issue.StateReason) *IssueUpsert
- func (u *IssueUpsert) SetTitle(v string) *IssueUpsert
- func (u *IssueUpsert) SetURL(v string) *IssueUpsert
- func (u *IssueUpsert) SetUpdatedAt(v time.Time) *IssueUpsert
- func (u *IssueUpsert) UpdateActiveLockReason() *IssueUpsert
- func (u *IssueUpsert) UpdateAuthorAssociation() *IssueUpsert
- func (u *IssueUpsert) UpdateBody() *IssueUpsert
- func (u *IssueUpsert) UpdateClosedAt() *IssueUpsert
- func (u *IssueUpsert) UpdateCommentsURL() *IssueUpsert
- func (u *IssueUpsert) UpdateCreatedAt() *IssueUpsert
- func (u *IssueUpsert) UpdateDraft() *IssueUpsert
- func (u *IssueUpsert) UpdateEventsURL() *IssueUpsert
- func (u *IssueUpsert) UpdateHTMLURL() *IssueUpsert
- func (u *IssueUpsert) UpdateLabelsURL() *IssueUpsert
- func (u *IssueUpsert) UpdateLocked() *IssueUpsert
- func (u *IssueUpsert) UpdateNodeID() *IssueUpsert
- func (u *IssueUpsert) UpdateNumber() *IssueUpsert
- func (u *IssueUpsert) UpdateReactions() *IssueUpsert
- func (u *IssueUpsert) UpdateRepositoryURL() *IssueUpsert
- func (u *IssueUpsert) UpdateState() *IssueUpsert
- func (u *IssueUpsert) UpdateStateReason() *IssueUpsert
- func (u *IssueUpsert) UpdateTitle() *IssueUpsert
- func (u *IssueUpsert) UpdateURL() *IssueUpsert
- func (u *IssueUpsert) UpdateUpdatedAt() *IssueUpsert
- type IssueUpsertBulk
- func (u *IssueUpsertBulk) AddNumber(v int64) *IssueUpsertBulk
- func (u *IssueUpsertBulk) ClearActiveLockReason() *IssueUpsertBulk
- func (u *IssueUpsertBulk) ClearBody() *IssueUpsertBulk
- func (u *IssueUpsertBulk) ClearClosedAt() *IssueUpsertBulk
- func (u *IssueUpsertBulk) ClearStateReason() *IssueUpsertBulk
- func (u *IssueUpsertBulk) DoNothing() *IssueUpsertBulk
- func (u *IssueUpsertBulk) Exec(ctx context.Context) error
- func (u *IssueUpsertBulk) ExecX(ctx context.Context)
- func (u *IssueUpsertBulk) Ignore() *IssueUpsertBulk
- func (u *IssueUpsertBulk) SetActiveLockReason(v string) *IssueUpsertBulk
- func (u *IssueUpsertBulk) SetAuthorAssociation(v issue.AuthorAssociation) *IssueUpsertBulk
- func (u *IssueUpsertBulk) SetBody(v string) *IssueUpsertBulk
- func (u *IssueUpsertBulk) SetClosedAt(v time.Time) *IssueUpsertBulk
- func (u *IssueUpsertBulk) SetCommentsURL(v string) *IssueUpsertBulk
- func (u *IssueUpsertBulk) SetCreatedAt(v time.Time) *IssueUpsertBulk
- func (u *IssueUpsertBulk) SetDraft(v bool) *IssueUpsertBulk
- func (u *IssueUpsertBulk) SetEventsURL(v string) *IssueUpsertBulk
- func (u *IssueUpsertBulk) SetHTMLURL(v string) *IssueUpsertBulk
- func (u *IssueUpsertBulk) SetLabelsURL(v string) *IssueUpsertBulk
- func (u *IssueUpsertBulk) SetLocked(v bool) *IssueUpsertBulk
- func (u *IssueUpsertBulk) SetNodeID(v string) *IssueUpsertBulk
- func (u *IssueUpsertBulk) SetNumber(v int64) *IssueUpsertBulk
- func (u *IssueUpsertBulk) SetReactions(v map[string]interface{}) *IssueUpsertBulk
- func (u *IssueUpsertBulk) SetRepositoryURL(v string) *IssueUpsertBulk
- func (u *IssueUpsertBulk) SetState(v string) *IssueUpsertBulk
- func (u *IssueUpsertBulk) SetStateReason(v issue.StateReason) *IssueUpsertBulk
- func (u *IssueUpsertBulk) SetTitle(v string) *IssueUpsertBulk
- func (u *IssueUpsertBulk) SetURL(v string) *IssueUpsertBulk
- func (u *IssueUpsertBulk) SetUpdatedAt(v time.Time) *IssueUpsertBulk
- func (u *IssueUpsertBulk) Update(set func(*IssueUpsert)) *IssueUpsertBulk
- func (u *IssueUpsertBulk) UpdateActiveLockReason() *IssueUpsertBulk
- func (u *IssueUpsertBulk) UpdateAuthorAssociation() *IssueUpsertBulk
- func (u *IssueUpsertBulk) UpdateBody() *IssueUpsertBulk
- func (u *IssueUpsertBulk) UpdateClosedAt() *IssueUpsertBulk
- func (u *IssueUpsertBulk) UpdateCommentsURL() *IssueUpsertBulk
- func (u *IssueUpsertBulk) UpdateCreatedAt() *IssueUpsertBulk
- func (u *IssueUpsertBulk) UpdateDraft() *IssueUpsertBulk
- func (u *IssueUpsertBulk) UpdateEventsURL() *IssueUpsertBulk
- func (u *IssueUpsertBulk) UpdateHTMLURL() *IssueUpsertBulk
- func (u *IssueUpsertBulk) UpdateLabelsURL() *IssueUpsertBulk
- func (u *IssueUpsertBulk) UpdateLocked() *IssueUpsertBulk
- func (u *IssueUpsertBulk) UpdateNewValues() *IssueUpsertBulk
- func (u *IssueUpsertBulk) UpdateNodeID() *IssueUpsertBulk
- func (u *IssueUpsertBulk) UpdateNumber() *IssueUpsertBulk
- func (u *IssueUpsertBulk) UpdateReactions() *IssueUpsertBulk
- func (u *IssueUpsertBulk) UpdateRepositoryURL() *IssueUpsertBulk
- func (u *IssueUpsertBulk) UpdateState() *IssueUpsertBulk
- func (u *IssueUpsertBulk) UpdateStateReason() *IssueUpsertBulk
- func (u *IssueUpsertBulk) UpdateTitle() *IssueUpsertBulk
- func (u *IssueUpsertBulk) UpdateURL() *IssueUpsertBulk
- func (u *IssueUpsertBulk) UpdateUpdatedAt() *IssueUpsertBulk
- type IssueUpsertOne
- func (u *IssueUpsertOne) AddNumber(v int64) *IssueUpsertOne
- func (u *IssueUpsertOne) ClearActiveLockReason() *IssueUpsertOne
- func (u *IssueUpsertOne) ClearBody() *IssueUpsertOne
- func (u *IssueUpsertOne) ClearClosedAt() *IssueUpsertOne
- func (u *IssueUpsertOne) ClearStateReason() *IssueUpsertOne
- func (u *IssueUpsertOne) DoNothing() *IssueUpsertOne
- func (u *IssueUpsertOne) Exec(ctx context.Context) error
- func (u *IssueUpsertOne) ExecX(ctx context.Context)
- func (u *IssueUpsertOne) ID(ctx context.Context) (id int64, err error)
- func (u *IssueUpsertOne) IDX(ctx context.Context) int64
- func (u *IssueUpsertOne) Ignore() *IssueUpsertOne
- func (u *IssueUpsertOne) SetActiveLockReason(v string) *IssueUpsertOne
- func (u *IssueUpsertOne) SetAuthorAssociation(v issue.AuthorAssociation) *IssueUpsertOne
- func (u *IssueUpsertOne) SetBody(v string) *IssueUpsertOne
- func (u *IssueUpsertOne) SetClosedAt(v time.Time) *IssueUpsertOne
- func (u *IssueUpsertOne) SetCommentsURL(v string) *IssueUpsertOne
- func (u *IssueUpsertOne) SetCreatedAt(v time.Time) *IssueUpsertOne
- func (u *IssueUpsertOne) SetDraft(v bool) *IssueUpsertOne
- func (u *IssueUpsertOne) SetEventsURL(v string) *IssueUpsertOne
- func (u *IssueUpsertOne) SetHTMLURL(v string) *IssueUpsertOne
- func (u *IssueUpsertOne) SetLabelsURL(v string) *IssueUpsertOne
- func (u *IssueUpsertOne) SetLocked(v bool) *IssueUpsertOne
- func (u *IssueUpsertOne) SetNodeID(v string) *IssueUpsertOne
- func (u *IssueUpsertOne) SetNumber(v int64) *IssueUpsertOne
- func (u *IssueUpsertOne) SetReactions(v map[string]interface{}) *IssueUpsertOne
- func (u *IssueUpsertOne) SetRepositoryURL(v string) *IssueUpsertOne
- func (u *IssueUpsertOne) SetState(v string) *IssueUpsertOne
- func (u *IssueUpsertOne) SetStateReason(v issue.StateReason) *IssueUpsertOne
- func (u *IssueUpsertOne) SetTitle(v string) *IssueUpsertOne
- func (u *IssueUpsertOne) SetURL(v string) *IssueUpsertOne
- func (u *IssueUpsertOne) SetUpdatedAt(v time.Time) *IssueUpsertOne
- func (u *IssueUpsertOne) Update(set func(*IssueUpsert)) *IssueUpsertOne
- func (u *IssueUpsertOne) UpdateActiveLockReason() *IssueUpsertOne
- func (u *IssueUpsertOne) UpdateAuthorAssociation() *IssueUpsertOne
- func (u *IssueUpsertOne) UpdateBody() *IssueUpsertOne
- func (u *IssueUpsertOne) UpdateClosedAt() *IssueUpsertOne
- func (u *IssueUpsertOne) UpdateCommentsURL() *IssueUpsertOne
- func (u *IssueUpsertOne) UpdateCreatedAt() *IssueUpsertOne
- func (u *IssueUpsertOne) UpdateDraft() *IssueUpsertOne
- func (u *IssueUpsertOne) UpdateEventsURL() *IssueUpsertOne
- func (u *IssueUpsertOne) UpdateHTMLURL() *IssueUpsertOne
- func (u *IssueUpsertOne) UpdateLabelsURL() *IssueUpsertOne
- func (u *IssueUpsertOne) UpdateLocked() *IssueUpsertOne
- func (u *IssueUpsertOne) UpdateNewValues() *IssueUpsertOne
- func (u *IssueUpsertOne) UpdateNodeID() *IssueUpsertOne
- func (u *IssueUpsertOne) UpdateNumber() *IssueUpsertOne
- func (u *IssueUpsertOne) UpdateReactions() *IssueUpsertOne
- func (u *IssueUpsertOne) UpdateRepositoryURL() *IssueUpsertOne
- func (u *IssueUpsertOne) UpdateState() *IssueUpsertOne
- func (u *IssueUpsertOne) UpdateStateReason() *IssueUpsertOne
- func (u *IssueUpsertOne) UpdateTitle() *IssueUpsertOne
- func (u *IssueUpsertOne) UpdateURL() *IssueUpsertOne
- func (u *IssueUpsertOne) UpdateUpdatedAt() *IssueUpsertOne
- type Issues
- type MutateFunc
- type Mutation
- type Mutator
- type NotFoundError
- type NotLoadedError
- type NotSingularError
- type Op
- type Option
- type OrderFunc
- type Policy
- type Querier
- type QuerierFunc
- type Query
- type QueryContext
- type Repositories
- type Repository
- func (r *Repository) MarshalJSON() ([]byte, error)
- func (r *Repository) QueryIssues() *IssueQuery
- func (r *Repository) QueryOwner() *UserQuery
- func (r *Repository) String() string
- func (r *Repository) Unwrap() *Repository
- func (r *Repository) Update() *RepositoryUpdateOne
- func (r *Repository) Value(name string) (ent.Value, error)
- type RepositoryClient
- func (c *RepositoryClient) Create() *RepositoryCreate
- func (c *RepositoryClient) CreateBulk(builders ...*RepositoryCreate) *RepositoryCreateBulk
- func (c *RepositoryClient) Delete() *RepositoryDelete
- func (c *RepositoryClient) DeleteOne(r *Repository) *RepositoryDeleteOne
- func (c *RepositoryClient) DeleteOneID(id int64) *RepositoryDeleteOne
- func (c *RepositoryClient) Get(ctx context.Context, id int64) (*Repository, error)
- func (c *RepositoryClient) GetX(ctx context.Context, id int64) *Repository
- func (c *RepositoryClient) Hooks() []Hook
- func (c *RepositoryClient) Intercept(interceptors ...Interceptor)
- func (c *RepositoryClient) Interceptors() []Interceptor
- func (c *RepositoryClient) MapCreateBulk(slice any, setFunc func(*RepositoryCreate, int)) *RepositoryCreateBulk
- func (c *RepositoryClient) Query() *RepositoryQuery
- func (c *RepositoryClient) QueryIssues(r *Repository) *IssueQuery
- func (c *RepositoryClient) QueryOwner(r *Repository) *UserQuery
- func (c *RepositoryClient) Update() *RepositoryUpdate
- func (c *RepositoryClient) UpdateOne(r *Repository) *RepositoryUpdateOne
- func (c *RepositoryClient) UpdateOneID(id int64) *RepositoryUpdateOne
- func (c *RepositoryClient) Use(hooks ...Hook)
- type RepositoryCreate
- func (rc *RepositoryCreate) AddIssueIDs(ids ...int64) *RepositoryCreate
- func (rc *RepositoryCreate) AddIssues(i ...*Issue) *RepositoryCreate
- func (rc *RepositoryCreate) CopyRepository(input *Repository) *RepositoryCreate
- func (rc *RepositoryCreate) Exec(ctx context.Context) error
- func (rc *RepositoryCreate) ExecX(ctx context.Context)
- func (rc *RepositoryCreate) Mutation() *RepositoryMutation
- func (rc *RepositoryCreate) OnConflict(opts ...sql.ConflictOption) *RepositoryUpsertOne
- func (rc *RepositoryCreate) OnConflictColumns(columns ...string) *RepositoryUpsertOne
- func (rc *RepositoryCreate) Save(ctx context.Context) (*Repository, error)
- func (rc *RepositoryCreate) SaveX(ctx context.Context) *Repository
- func (rc *RepositoryCreate) SetArchiveURL(s string) *RepositoryCreate
- func (rc *RepositoryCreate) SetArchived(b bool) *RepositoryCreate
- func (rc *RepositoryCreate) SetAssigneesURL(s string) *RepositoryCreate
- func (rc *RepositoryCreate) SetBlobsURL(s string) *RepositoryCreate
- func (rc *RepositoryCreate) SetBranchesURL(s string) *RepositoryCreate
- func (rc *RepositoryCreate) SetCloneURL(s string) *RepositoryCreate
- func (rc *RepositoryCreate) SetCollaboratorsURL(s string) *RepositoryCreate
- func (rc *RepositoryCreate) SetCommentsURL(s string) *RepositoryCreate
- func (rc *RepositoryCreate) SetCommitsURL(s string) *RepositoryCreate
- func (rc *RepositoryCreate) SetCompareURL(s string) *RepositoryCreate
- func (rc *RepositoryCreate) SetContentsURL(s string) *RepositoryCreate
- func (rc *RepositoryCreate) SetContributorsURL(s string) *RepositoryCreate
- func (rc *RepositoryCreate) SetCreatedAt(t time.Time) *RepositoryCreate
- func (rc *RepositoryCreate) SetDefaultBranch(s string) *RepositoryCreate
- func (rc *RepositoryCreate) SetDeploymentsURL(s string) *RepositoryCreate
- func (rc *RepositoryCreate) SetDescription(s string) *RepositoryCreate
- func (rc *RepositoryCreate) SetDisabled(b bool) *RepositoryCreate
- func (rc *RepositoryCreate) SetDownloadsURL(s string) *RepositoryCreate
- func (rc *RepositoryCreate) SetEventsURL(s string) *RepositoryCreate
- func (rc *RepositoryCreate) SetFork(b bool) *RepositoryCreate
- func (rc *RepositoryCreate) SetForks(i int64) *RepositoryCreate
- func (rc *RepositoryCreate) SetForksCount(i int64) *RepositoryCreate
- func (rc *RepositoryCreate) SetForksURL(s string) *RepositoryCreate
- func (rc *RepositoryCreate) SetFullName(s string) *RepositoryCreate
- func (rc *RepositoryCreate) SetGitCommitsURL(s string) *RepositoryCreate
- func (rc *RepositoryCreate) SetGitRefsURL(s string) *RepositoryCreate
- func (rc *RepositoryCreate) SetGitTagsURL(s string) *RepositoryCreate
- func (rc *RepositoryCreate) SetGitURL(s string) *RepositoryCreate
- func (rc *RepositoryCreate) SetHTMLURL(s string) *RepositoryCreate
- func (rc *RepositoryCreate) SetHasDiscussions(b bool) *RepositoryCreate
- func (rc *RepositoryCreate) SetHasDownloads(b bool) *RepositoryCreate
- func (rc *RepositoryCreate) SetHasIssuesEnabled(b bool) *RepositoryCreate
- func (rc *RepositoryCreate) SetHasPages(b bool) *RepositoryCreate
- func (rc *RepositoryCreate) SetHasProjects(b bool) *RepositoryCreate
- func (rc *RepositoryCreate) SetHasWiki(b bool) *RepositoryCreate
- func (rc *RepositoryCreate) SetHomepage(s string) *RepositoryCreate
- func (rc *RepositoryCreate) SetHooksURL(s string) *RepositoryCreate
- func (rc *RepositoryCreate) SetID(i int64) *RepositoryCreate
- func (rc *RepositoryCreate) SetIsTemplate(b bool) *RepositoryCreate
- func (rc *RepositoryCreate) SetIssueCommentURL(s string) *RepositoryCreate
- func (rc *RepositoryCreate) SetIssueEventsURL(s string) *RepositoryCreate
- func (rc *RepositoryCreate) SetIssuesURL(s string) *RepositoryCreate
- func (rc *RepositoryCreate) SetKeysURL(s string) *RepositoryCreate
- func (rc *RepositoryCreate) SetLabelsURL(s string) *RepositoryCreate
- func (rc *RepositoryCreate) SetLanguage(s string) *RepositoryCreate
- func (rc *RepositoryCreate) SetLanguagesURL(s string) *RepositoryCreate
- func (rc *RepositoryCreate) SetLicense(m *model.License) *RepositoryCreate
- func (rc *RepositoryCreate) SetMergesURL(s string) *RepositoryCreate
- func (rc *RepositoryCreate) SetMilestonesURL(s string) *RepositoryCreate
- func (rc *RepositoryCreate) SetMirrorURL(s string) *RepositoryCreate
- func (rc *RepositoryCreate) SetName(s string) *RepositoryCreate
- func (rc *RepositoryCreate) SetNetworkCount(i int64) *RepositoryCreate
- func (rc *RepositoryCreate) SetNillableDescription(s *string) *RepositoryCreate
- func (rc *RepositoryCreate) SetNillableHomepage(s *string) *RepositoryCreate
- func (rc *RepositoryCreate) SetNillableLanguage(s *string) *RepositoryCreate
- func (rc *RepositoryCreate) SetNillableMirrorURL(s *string) *RepositoryCreate
- func (rc *RepositoryCreate) SetNillableOwnerID(id *int64) *RepositoryCreate
- func (rc *RepositoryCreate) SetNillableVisibility(r *repository.Visibility) *RepositoryCreate
- func (rc *RepositoryCreate) SetNodeID(s string) *RepositoryCreate
- func (rc *RepositoryCreate) SetNotificationsURL(s string) *RepositoryCreate
- func (rc *RepositoryCreate) SetOpenIssues(i int64) *RepositoryCreate
- func (rc *RepositoryCreate) SetOpenIssuesCount(i int64) *RepositoryCreate
- func (rc *RepositoryCreate) SetOwner(u *User) *RepositoryCreate
- func (rc *RepositoryCreate) SetOwnerID(id int64) *RepositoryCreate
- func (rc *RepositoryCreate) SetPrivate(b bool) *RepositoryCreate
- func (rc *RepositoryCreate) SetPullsURL(s string) *RepositoryCreate
- func (rc *RepositoryCreate) SetPushedAt(t time.Time) *RepositoryCreate
- func (rc *RepositoryCreate) SetReleasesURL(s string) *RepositoryCreate
- func (rc *RepositoryCreate) SetSSHURL(s string) *RepositoryCreate
- func (rc *RepositoryCreate) SetSize(i int64) *RepositoryCreate
- func (rc *RepositoryCreate) SetStargazersCount(i int64) *RepositoryCreate
- func (rc *RepositoryCreate) SetStargazersURL(s string) *RepositoryCreate
- func (rc *RepositoryCreate) SetStatusesURL(s string) *RepositoryCreate
- func (rc *RepositoryCreate) SetSubscribersCount(i int64) *RepositoryCreate
- func (rc *RepositoryCreate) SetSubscribersURL(s string) *RepositoryCreate
- func (rc *RepositoryCreate) SetSubscriptionURL(s string) *RepositoryCreate
- func (rc *RepositoryCreate) SetSvnURL(s string) *RepositoryCreate
- func (rc *RepositoryCreate) SetTagsURL(s string) *RepositoryCreate
- func (rc *RepositoryCreate) SetTeamsURL(s string) *RepositoryCreate
- func (rc *RepositoryCreate) SetTopics(s []string) *RepositoryCreate
- func (rc *RepositoryCreate) SetTreesURL(s string) *RepositoryCreate
- func (rc *RepositoryCreate) SetURL(s string) *RepositoryCreate
- func (rc *RepositoryCreate) SetUpdatedAt(t time.Time) *RepositoryCreate
- func (rc *RepositoryCreate) SetVisibility(r repository.Visibility) *RepositoryCreate
- func (rc *RepositoryCreate) SetWatchers(i int64) *RepositoryCreate
- func (rc *RepositoryCreate) SetWatchersCount(i int64) *RepositoryCreate
- type RepositoryCreateBulk
- func (rcb *RepositoryCreateBulk) Exec(ctx context.Context) error
- func (rcb *RepositoryCreateBulk) ExecX(ctx context.Context)
- func (rcb *RepositoryCreateBulk) OnConflict(opts ...sql.ConflictOption) *RepositoryUpsertBulk
- func (rcb *RepositoryCreateBulk) OnConflictColumns(columns ...string) *RepositoryUpsertBulk
- func (rcb *RepositoryCreateBulk) Save(ctx context.Context) ([]*Repository, error)
- func (rcb *RepositoryCreateBulk) SaveX(ctx context.Context) []*Repository
- type RepositoryDelete
- type RepositoryDeleteOne
- type RepositoryEdges
- type RepositoryGroupBy
- func (rgb *RepositoryGroupBy) Aggregate(fns ...AggregateFunc) *RepositoryGroupBy
- func (s *RepositoryGroupBy) Bool(ctx context.Context) (_ bool, err error)
- func (s *RepositoryGroupBy) BoolX(ctx context.Context) bool
- func (s *RepositoryGroupBy) Bools(ctx context.Context) ([]bool, error)
- func (s *RepositoryGroupBy) BoolsX(ctx context.Context) []bool
- func (s *RepositoryGroupBy) Float64(ctx context.Context) (_ float64, err error)
- func (s *RepositoryGroupBy) Float64X(ctx context.Context) float64
- func (s *RepositoryGroupBy) Float64s(ctx context.Context) ([]float64, error)
- func (s *RepositoryGroupBy) Float64sX(ctx context.Context) []float64
- func (s *RepositoryGroupBy) Int(ctx context.Context) (_ int, err error)
- func (s *RepositoryGroupBy) IntX(ctx context.Context) int
- func (s *RepositoryGroupBy) Ints(ctx context.Context) ([]int, error)
- func (s *RepositoryGroupBy) IntsX(ctx context.Context) []int
- func (rgb *RepositoryGroupBy) Scan(ctx context.Context, v any) error
- func (s *RepositoryGroupBy) ScanX(ctx context.Context, v any)
- func (s *RepositoryGroupBy) String(ctx context.Context) (_ string, err error)
- func (s *RepositoryGroupBy) StringX(ctx context.Context) string
- func (s *RepositoryGroupBy) Strings(ctx context.Context) ([]string, error)
- func (s *RepositoryGroupBy) StringsX(ctx context.Context) []string
- type RepositoryMutation
- func (m *RepositoryMutation) AddField(name string, value ent.Value) error
- func (m *RepositoryMutation) AddForks(i int64)
- func (m *RepositoryMutation) AddForksCount(i int64)
- func (m *RepositoryMutation) AddIssueIDs(ids ...int64)
- func (m *RepositoryMutation) AddNetworkCount(i int64)
- func (m *RepositoryMutation) AddOpenIssues(i int64)
- func (m *RepositoryMutation) AddOpenIssuesCount(i int64)
- func (m *RepositoryMutation) AddSize(i int64)
- func (m *RepositoryMutation) AddStargazersCount(i int64)
- func (m *RepositoryMutation) AddSubscribersCount(i int64)
- func (m *RepositoryMutation) AddWatchers(i int64)
- func (m *RepositoryMutation) AddWatchersCount(i int64)
- func (m *RepositoryMutation) AddedEdges() []string
- func (m *RepositoryMutation) AddedField(name string) (ent.Value, bool)
- func (m *RepositoryMutation) AddedFields() []string
- func (m *RepositoryMutation) AddedForks() (r int64, exists bool)
- func (m *RepositoryMutation) AddedForksCount() (r int64, exists bool)
- func (m *RepositoryMutation) AddedIDs(name string) []ent.Value
- func (m *RepositoryMutation) AddedNetworkCount() (r int64, exists bool)
- func (m *RepositoryMutation) AddedOpenIssues() (r int64, exists bool)
- func (m *RepositoryMutation) AddedOpenIssuesCount() (r int64, exists bool)
- func (m *RepositoryMutation) AddedSize() (r int64, exists bool)
- func (m *RepositoryMutation) AddedStargazersCount() (r int64, exists bool)
- func (m *RepositoryMutation) AddedSubscribersCount() (r int64, exists bool)
- func (m *RepositoryMutation) AddedWatchers() (r int64, exists bool)
- func (m *RepositoryMutation) AddedWatchersCount() (r int64, exists bool)
- func (m *RepositoryMutation) AppendTopics(s []string)
- func (m *RepositoryMutation) AppendedTopics() ([]string, bool)
- func (m *RepositoryMutation) ArchiveURL() (r string, exists bool)
- func (m *RepositoryMutation) Archived() (r bool, exists bool)
- func (m *RepositoryMutation) AssigneesURL() (r string, exists bool)
- func (m *RepositoryMutation) BlobsURL() (r string, exists bool)
- func (m *RepositoryMutation) BranchesURL() (r string, exists bool)
- func (m *RepositoryMutation) ClearDescription()
- func (m *RepositoryMutation) ClearEdge(name string) error
- func (m *RepositoryMutation) ClearField(name string) error
- func (m *RepositoryMutation) ClearHomepage()
- func (m *RepositoryMutation) ClearIssues()
- func (m *RepositoryMutation) ClearLanguage()
- func (m *RepositoryMutation) ClearLicense()
- func (m *RepositoryMutation) ClearMirrorURL()
- func (m *RepositoryMutation) ClearOwner()
- func (m *RepositoryMutation) ClearVisibility()
- func (m *RepositoryMutation) ClearedEdges() []string
- func (m *RepositoryMutation) ClearedFields() []string
- func (m RepositoryMutation) Client() *Client
- func (m *RepositoryMutation) CloneURL() (r string, exists bool)
- func (m *RepositoryMutation) CollaboratorsURL() (r string, exists bool)
- func (m *RepositoryMutation) CommentsURL() (r string, exists bool)
- func (m *RepositoryMutation) CommitsURL() (r string, exists bool)
- func (m *RepositoryMutation) CompareURL() (r string, exists bool)
- func (m *RepositoryMutation) ContentsURL() (r string, exists bool)
- func (m *RepositoryMutation) ContributorsURL() (r string, exists bool)
- func (m *RepositoryMutation) CreatedAt() (r time.Time, exists bool)
- func (m *RepositoryMutation) DefaultBranch() (r string, exists bool)
- func (m *RepositoryMutation) DeploymentsURL() (r string, exists bool)
- func (m *RepositoryMutation) Description() (r string, exists bool)
- func (m *RepositoryMutation) DescriptionCleared() bool
- func (m *RepositoryMutation) Disabled() (r bool, exists bool)
- func (m *RepositoryMutation) DownloadsURL() (r string, exists bool)
- func (m *RepositoryMutation) EdgeCleared(name string) bool
- func (m *RepositoryMutation) EventsURL() (r string, exists bool)
- func (m *RepositoryMutation) Field(name string) (ent.Value, bool)
- func (m *RepositoryMutation) FieldCleared(name string) bool
- func (m *RepositoryMutation) Fields() []string
- func (m *RepositoryMutation) Fork() (r bool, exists bool)
- func (m *RepositoryMutation) Forks() (r int64, exists bool)
- func (m *RepositoryMutation) ForksCount() (r int64, exists bool)
- func (m *RepositoryMutation) ForksURL() (r string, exists bool)
- func (m *RepositoryMutation) FullName() (r string, exists bool)
- func (m *RepositoryMutation) GitCommitsURL() (r string, exists bool)
- func (m *RepositoryMutation) GitRefsURL() (r string, exists bool)
- func (m *RepositoryMutation) GitTagsURL() (r string, exists bool)
- func (m *RepositoryMutation) GitURL() (r string, exists bool)
- func (m *RepositoryMutation) HTMLURL() (r string, exists bool)
- func (m *RepositoryMutation) HasDiscussions() (r bool, exists bool)
- func (m *RepositoryMutation) HasDownloads() (r bool, exists bool)
- func (m *RepositoryMutation) HasIssuesEnabled() (r bool, exists bool)
- func (m *RepositoryMutation) HasPages() (r bool, exists bool)
- func (m *RepositoryMutation) HasProjects() (r bool, exists bool)
- func (m *RepositoryMutation) HasWiki() (r bool, exists bool)
- func (m *RepositoryMutation) Homepage() (r string, exists bool)
- func (m *RepositoryMutation) HomepageCleared() bool
- func (m *RepositoryMutation) HooksURL() (r string, exists bool)
- func (m *RepositoryMutation) ID() (id int64, exists bool)
- func (m *RepositoryMutation) IDs(ctx context.Context) ([]int64, error)
- func (m *RepositoryMutation) IsTemplate() (r bool, exists bool)
- func (m *RepositoryMutation) IssueCommentURL() (r string, exists bool)
- func (m *RepositoryMutation) IssueEventsURL() (r string, exists bool)
- func (m *RepositoryMutation) IssuesCleared() bool
- func (m *RepositoryMutation) IssuesIDs() (ids []int64)
- func (m *RepositoryMutation) IssuesURL() (r string, exists bool)
- func (m *RepositoryMutation) KeysURL() (r string, exists bool)
- func (m *RepositoryMutation) LabelsURL() (r string, exists bool)
- func (m *RepositoryMutation) Language() (r string, exists bool)
- func (m *RepositoryMutation) LanguageCleared() bool
- func (m *RepositoryMutation) LanguagesURL() (r string, exists bool)
- func (m *RepositoryMutation) License() (r *model.License, exists bool)
- func (m *RepositoryMutation) LicenseCleared() bool
- func (m *RepositoryMutation) MergesURL() (r string, exists bool)
- func (m *RepositoryMutation) MilestonesURL() (r string, exists bool)
- func (m *RepositoryMutation) MirrorURL() (r string, exists bool)
- func (m *RepositoryMutation) MirrorURLCleared() bool
- func (m *RepositoryMutation) Name() (r string, exists bool)
- func (m *RepositoryMutation) NetworkCount() (r int64, exists bool)
- func (m *RepositoryMutation) NodeID() (r string, exists bool)
- func (m *RepositoryMutation) NotificationsURL() (r string, exists bool)
- func (m *RepositoryMutation) OldArchiveURL(ctx context.Context) (v string, err error)
- func (m *RepositoryMutation) OldArchived(ctx context.Context) (v bool, err error)
- func (m *RepositoryMutation) OldAssigneesURL(ctx context.Context) (v string, err error)
- func (m *RepositoryMutation) OldBlobsURL(ctx context.Context) (v string, err error)
- func (m *RepositoryMutation) OldBranchesURL(ctx context.Context) (v string, err error)
- func (m *RepositoryMutation) OldCloneURL(ctx context.Context) (v string, err error)
- func (m *RepositoryMutation) OldCollaboratorsURL(ctx context.Context) (v string, err error)
- func (m *RepositoryMutation) OldCommentsURL(ctx context.Context) (v string, err error)
- func (m *RepositoryMutation) OldCommitsURL(ctx context.Context) (v string, err error)
- func (m *RepositoryMutation) OldCompareURL(ctx context.Context) (v string, err error)
- func (m *RepositoryMutation) OldContentsURL(ctx context.Context) (v string, err error)
- func (m *RepositoryMutation) OldContributorsURL(ctx context.Context) (v string, err error)
- func (m *RepositoryMutation) OldCreatedAt(ctx context.Context) (v time.Time, err error)
- func (m *RepositoryMutation) OldDefaultBranch(ctx context.Context) (v string, err error)
- func (m *RepositoryMutation) OldDeploymentsURL(ctx context.Context) (v string, err error)
- func (m *RepositoryMutation) OldDescription(ctx context.Context) (v string, err error)
- func (m *RepositoryMutation) OldDisabled(ctx context.Context) (v bool, err error)
- func (m *RepositoryMutation) OldDownloadsURL(ctx context.Context) (v string, err error)
- func (m *RepositoryMutation) OldEventsURL(ctx context.Context) (v string, err error)
- func (m *RepositoryMutation) OldField(ctx context.Context, name string) (ent.Value, error)
- func (m *RepositoryMutation) OldFork(ctx context.Context) (v bool, err error)
- func (m *RepositoryMutation) OldForks(ctx context.Context) (v int64, err error)
- func (m *RepositoryMutation) OldForksCount(ctx context.Context) (v int64, err error)
- func (m *RepositoryMutation) OldForksURL(ctx context.Context) (v string, err error)
- func (m *RepositoryMutation) OldFullName(ctx context.Context) (v string, err error)
- func (m *RepositoryMutation) OldGitCommitsURL(ctx context.Context) (v string, err error)
- func (m *RepositoryMutation) OldGitRefsURL(ctx context.Context) (v string, err error)
- func (m *RepositoryMutation) OldGitTagsURL(ctx context.Context) (v string, err error)
- func (m *RepositoryMutation) OldGitURL(ctx context.Context) (v string, err error)
- func (m *RepositoryMutation) OldHTMLURL(ctx context.Context) (v string, err error)
- func (m *RepositoryMutation) OldHasDiscussions(ctx context.Context) (v bool, err error)
- func (m *RepositoryMutation) OldHasDownloads(ctx context.Context) (v bool, err error)
- func (m *RepositoryMutation) OldHasIssuesEnabled(ctx context.Context) (v bool, err error)
- func (m *RepositoryMutation) OldHasPages(ctx context.Context) (v bool, err error)
- func (m *RepositoryMutation) OldHasProjects(ctx context.Context) (v bool, err error)
- func (m *RepositoryMutation) OldHasWiki(ctx context.Context) (v bool, err error)
- func (m *RepositoryMutation) OldHomepage(ctx context.Context) (v string, err error)
- func (m *RepositoryMutation) OldHooksURL(ctx context.Context) (v string, err error)
- func (m *RepositoryMutation) OldIsTemplate(ctx context.Context) (v bool, err error)
- func (m *RepositoryMutation) OldIssueCommentURL(ctx context.Context) (v string, err error)
- func (m *RepositoryMutation) OldIssueEventsURL(ctx context.Context) (v string, err error)
- func (m *RepositoryMutation) OldIssuesURL(ctx context.Context) (v string, err error)
- func (m *RepositoryMutation) OldKeysURL(ctx context.Context) (v string, err error)
- func (m *RepositoryMutation) OldLabelsURL(ctx context.Context) (v string, err error)
- func (m *RepositoryMutation) OldLanguage(ctx context.Context) (v string, err error)
- func (m *RepositoryMutation) OldLanguagesURL(ctx context.Context) (v string, err error)
- func (m *RepositoryMutation) OldLicense(ctx context.Context) (v *model.License, err error)
- func (m *RepositoryMutation) OldMergesURL(ctx context.Context) (v string, err error)
- func (m *RepositoryMutation) OldMilestonesURL(ctx context.Context) (v string, err error)
- func (m *RepositoryMutation) OldMirrorURL(ctx context.Context) (v *string, err error)
- func (m *RepositoryMutation) OldName(ctx context.Context) (v string, err error)
- func (m *RepositoryMutation) OldNetworkCount(ctx context.Context) (v int64, err error)
- func (m *RepositoryMutation) OldNodeID(ctx context.Context) (v string, err error)
- func (m *RepositoryMutation) OldNotificationsURL(ctx context.Context) (v string, err error)
- func (m *RepositoryMutation) OldOpenIssues(ctx context.Context) (v int64, err error)
- func (m *RepositoryMutation) OldOpenIssuesCount(ctx context.Context) (v int64, err error)
- func (m *RepositoryMutation) OldPrivate(ctx context.Context) (v bool, err error)
- func (m *RepositoryMutation) OldPullsURL(ctx context.Context) (v string, err error)
- func (m *RepositoryMutation) OldPushedAt(ctx context.Context) (v time.Time, err error)
- func (m *RepositoryMutation) OldReleasesURL(ctx context.Context) (v string, err error)
- func (m *RepositoryMutation) OldSSHURL(ctx context.Context) (v string, err error)
- func (m *RepositoryMutation) OldSize(ctx context.Context) (v int64, err error)
- func (m *RepositoryMutation) OldStargazersCount(ctx context.Context) (v int64, err error)
- func (m *RepositoryMutation) OldStargazersURL(ctx context.Context) (v string, err error)
- func (m *RepositoryMutation) OldStatusesURL(ctx context.Context) (v string, err error)
- func (m *RepositoryMutation) OldSubscribersCount(ctx context.Context) (v int64, err error)
- func (m *RepositoryMutation) OldSubscribersURL(ctx context.Context) (v string, err error)
- func (m *RepositoryMutation) OldSubscriptionURL(ctx context.Context) (v string, err error)
- func (m *RepositoryMutation) OldSvnURL(ctx context.Context) (v string, err error)
- func (m *RepositoryMutation) OldTagsURL(ctx context.Context) (v string, err error)
- func (m *RepositoryMutation) OldTeamsURL(ctx context.Context) (v string, err error)
- func (m *RepositoryMutation) OldTopics(ctx context.Context) (v []string, err error)
- func (m *RepositoryMutation) OldTreesURL(ctx context.Context) (v string, err error)
- func (m *RepositoryMutation) OldURL(ctx context.Context) (v string, err error)
- func (m *RepositoryMutation) OldUpdatedAt(ctx context.Context) (v time.Time, err error)
- func (m *RepositoryMutation) OldVisibility(ctx context.Context) (v *repository.Visibility, err error)
- func (m *RepositoryMutation) OldWatchers(ctx context.Context) (v int64, err error)
- func (m *RepositoryMutation) OldWatchersCount(ctx context.Context) (v int64, err error)
- func (m *RepositoryMutation) Op() Op
- func (m *RepositoryMutation) OpenIssues() (r int64, exists bool)
- func (m *RepositoryMutation) OpenIssuesCount() (r int64, exists bool)
- func (m *RepositoryMutation) OwnerCleared() bool
- func (m *RepositoryMutation) OwnerID() (id int64, exists bool)
- func (m *RepositoryMutation) OwnerIDs() (ids []int64)
- func (m *RepositoryMutation) Private() (r bool, exists bool)
- func (m *RepositoryMutation) PullsURL() (r string, exists bool)
- func (m *RepositoryMutation) PushedAt() (r time.Time, exists bool)
- func (m *RepositoryMutation) ReleasesURL() (r string, exists bool)
- func (m *RepositoryMutation) RemoveIssueIDs(ids ...int64)
- func (m *RepositoryMutation) RemovedEdges() []string
- func (m *RepositoryMutation) RemovedIDs(name string) []ent.Value
- func (m *RepositoryMutation) RemovedIssuesIDs() (ids []int64)
- func (m *RepositoryMutation) ResetArchiveURL()
- func (m *RepositoryMutation) ResetArchived()
- func (m *RepositoryMutation) ResetAssigneesURL()
- func (m *RepositoryMutation) ResetBlobsURL()
- func (m *RepositoryMutation) ResetBranchesURL()
- func (m *RepositoryMutation) ResetCloneURL()
- func (m *RepositoryMutation) ResetCollaboratorsURL()
- func (m *RepositoryMutation) ResetCommentsURL()
- func (m *RepositoryMutation) ResetCommitsURL()
- func (m *RepositoryMutation) ResetCompareURL()
- func (m *RepositoryMutation) ResetContentsURL()
- func (m *RepositoryMutation) ResetContributorsURL()
- func (m *RepositoryMutation) ResetCreatedAt()
- func (m *RepositoryMutation) ResetDefaultBranch()
- func (m *RepositoryMutation) ResetDeploymentsURL()
- func (m *RepositoryMutation) ResetDescription()
- func (m *RepositoryMutation) ResetDisabled()
- func (m *RepositoryMutation) ResetDownloadsURL()
- func (m *RepositoryMutation) ResetEdge(name string) error
- func (m *RepositoryMutation) ResetEventsURL()
- func (m *RepositoryMutation) ResetField(name string) error
- func (m *RepositoryMutation) ResetFork()
- func (m *RepositoryMutation) ResetForks()
- func (m *RepositoryMutation) ResetForksCount()
- func (m *RepositoryMutation) ResetForksURL()
- func (m *RepositoryMutation) ResetFullName()
- func (m *RepositoryMutation) ResetGitCommitsURL()
- func (m *RepositoryMutation) ResetGitRefsURL()
- func (m *RepositoryMutation) ResetGitTagsURL()
- func (m *RepositoryMutation) ResetGitURL()
- func (m *RepositoryMutation) ResetHTMLURL()
- func (m *RepositoryMutation) ResetHasDiscussions()
- func (m *RepositoryMutation) ResetHasDownloads()
- func (m *RepositoryMutation) ResetHasIssuesEnabled()
- func (m *RepositoryMutation) ResetHasPages()
- func (m *RepositoryMutation) ResetHasProjects()
- func (m *RepositoryMutation) ResetHasWiki()
- func (m *RepositoryMutation) ResetHomepage()
- func (m *RepositoryMutation) ResetHooksURL()
- func (m *RepositoryMutation) ResetIsTemplate()
- func (m *RepositoryMutation) ResetIssueCommentURL()
- func (m *RepositoryMutation) ResetIssueEventsURL()
- func (m *RepositoryMutation) ResetIssues()
- func (m *RepositoryMutation) ResetIssuesURL()
- func (m *RepositoryMutation) ResetKeysURL()
- func (m *RepositoryMutation) ResetLabelsURL()
- func (m *RepositoryMutation) ResetLanguage()
- func (m *RepositoryMutation) ResetLanguagesURL()
- func (m *RepositoryMutation) ResetLicense()
- func (m *RepositoryMutation) ResetMergesURL()
- func (m *RepositoryMutation) ResetMilestonesURL()
- func (m *RepositoryMutation) ResetMirrorURL()
- func (m *RepositoryMutation) ResetName()
- func (m *RepositoryMutation) ResetNetworkCount()
- func (m *RepositoryMutation) ResetNodeID()
- func (m *RepositoryMutation) ResetNotificationsURL()
- func (m *RepositoryMutation) ResetOpenIssues()
- func (m *RepositoryMutation) ResetOpenIssuesCount()
- func (m *RepositoryMutation) ResetOwner()
- func (m *RepositoryMutation) ResetPrivate()
- func (m *RepositoryMutation) ResetPullsURL()
- func (m *RepositoryMutation) ResetPushedAt()
- func (m *RepositoryMutation) ResetReleasesURL()
- func (m *RepositoryMutation) ResetSSHURL()
- func (m *RepositoryMutation) ResetSize()
- func (m *RepositoryMutation) ResetStargazersCount()
- func (m *RepositoryMutation) ResetStargazersURL()
- func (m *RepositoryMutation) ResetStatusesURL()
- func (m *RepositoryMutation) ResetSubscribersCount()
- func (m *RepositoryMutation) ResetSubscribersURL()
- func (m *RepositoryMutation) ResetSubscriptionURL()
- func (m *RepositoryMutation) ResetSvnURL()
- func (m *RepositoryMutation) ResetTagsURL()
- func (m *RepositoryMutation) ResetTeamsURL()
- func (m *RepositoryMutation) ResetTopics()
- func (m *RepositoryMutation) ResetTreesURL()
- func (m *RepositoryMutation) ResetURL()
- func (m *RepositoryMutation) ResetUpdatedAt()
- func (m *RepositoryMutation) ResetVisibility()
- func (m *RepositoryMutation) ResetWatchers()
- func (m *RepositoryMutation) ResetWatchersCount()
- func (m *RepositoryMutation) SSHURL() (r string, exists bool)
- func (m *RepositoryMutation) SetArchiveURL(s string)
- func (m *RepositoryMutation) SetArchived(b bool)
- func (m *RepositoryMutation) SetAssigneesURL(s string)
- func (m *RepositoryMutation) SetBlobsURL(s string)
- func (m *RepositoryMutation) SetBranchesURL(s string)
- func (m *RepositoryMutation) SetCloneURL(s string)
- func (m *RepositoryMutation) SetCollaboratorsURL(s string)
- func (m *RepositoryMutation) SetCommentsURL(s string)
- func (m *RepositoryMutation) SetCommitsURL(s string)
- func (m *RepositoryMutation) SetCompareURL(s string)
- func (m *RepositoryMutation) SetContentsURL(s string)
- func (m *RepositoryMutation) SetContributorsURL(s string)
- func (m *RepositoryMutation) SetCreatedAt(t time.Time)
- func (m *RepositoryMutation) SetDefaultBranch(s string)
- func (m *RepositoryMutation) SetDeploymentsURL(s string)
- func (m *RepositoryMutation) SetDescription(s string)
- func (m *RepositoryMutation) SetDisabled(b bool)
- func (m *RepositoryMutation) SetDownloadsURL(s string)
- func (m *RepositoryMutation) SetEventsURL(s string)
- func (m *RepositoryMutation) SetField(name string, value ent.Value) error
- func (m *RepositoryMutation) SetFork(b bool)
- func (m *RepositoryMutation) SetForks(i int64)
- func (m *RepositoryMutation) SetForksCount(i int64)
- func (m *RepositoryMutation) SetForksURL(s string)
- func (m *RepositoryMutation) SetFullName(s string)
- func (m *RepositoryMutation) SetGitCommitsURL(s string)
- func (m *RepositoryMutation) SetGitRefsURL(s string)
- func (m *RepositoryMutation) SetGitTagsURL(s string)
- func (m *RepositoryMutation) SetGitURL(s string)
- func (m *RepositoryMutation) SetHTMLURL(s string)
- func (m *RepositoryMutation) SetHasDiscussions(b bool)
- func (m *RepositoryMutation) SetHasDownloads(b bool)
- func (m *RepositoryMutation) SetHasIssuesEnabled(b bool)
- func (m *RepositoryMutation) SetHasPages(b bool)
- func (m *RepositoryMutation) SetHasProjects(b bool)
- func (m *RepositoryMutation) SetHasWiki(b bool)
- func (m *RepositoryMutation) SetHomepage(s string)
- func (m *RepositoryMutation) SetHooksURL(s string)
- func (m *RepositoryMutation) SetID(id int64)
- func (m *RepositoryMutation) SetIsTemplate(b bool)
- func (m *RepositoryMutation) SetIssueCommentURL(s string)
- func (m *RepositoryMutation) SetIssueEventsURL(s string)
- func (m *RepositoryMutation) SetIssuesURL(s string)
- func (m *RepositoryMutation) SetKeysURL(s string)
- func (m *RepositoryMutation) SetLabelsURL(s string)
- func (m *RepositoryMutation) SetLanguage(s string)
- func (m *RepositoryMutation) SetLanguagesURL(s string)
- func (m *RepositoryMutation) SetLicense(value *model.License)
- func (m *RepositoryMutation) SetMergesURL(s string)
- func (m *RepositoryMutation) SetMilestonesURL(s string)
- func (m *RepositoryMutation) SetMirrorURL(s string)
- func (m *RepositoryMutation) SetName(s string)
- func (m *RepositoryMutation) SetNetworkCount(i int64)
- func (m *RepositoryMutation) SetNodeID(s string)
- func (m *RepositoryMutation) SetNotificationsURL(s string)
- func (m *RepositoryMutation) SetOp(op Op)
- func (m *RepositoryMutation) SetOpenIssues(i int64)
- func (m *RepositoryMutation) SetOpenIssuesCount(i int64)
- func (m *RepositoryMutation) SetOwnerID(id int64)
- func (m *RepositoryMutation) SetPrivate(b bool)
- func (m *RepositoryMutation) SetPullsURL(s string)
- func (m *RepositoryMutation) SetPushedAt(t time.Time)
- func (m *RepositoryMutation) SetReleasesURL(s string)
- func (m *RepositoryMutation) SetSSHURL(s string)
- func (m *RepositoryMutation) SetSize(i int64)
- func (m *RepositoryMutation) SetStargazersCount(i int64)
- func (m *RepositoryMutation) SetStargazersURL(s string)
- func (m *RepositoryMutation) SetStatusesURL(s string)
- func (m *RepositoryMutation) SetSubscribersCount(i int64)
- func (m *RepositoryMutation) SetSubscribersURL(s string)
- func (m *RepositoryMutation) SetSubscriptionURL(s string)
- func (m *RepositoryMutation) SetSvnURL(s string)
- func (m *RepositoryMutation) SetTagsURL(s string)
- func (m *RepositoryMutation) SetTeamsURL(s string)
- func (m *RepositoryMutation) SetTopics(s []string)
- func (m *RepositoryMutation) SetTreesURL(s string)
- func (m *RepositoryMutation) SetURL(s string)
- func (m *RepositoryMutation) SetUpdatedAt(t time.Time)
- func (m *RepositoryMutation) SetVisibility(r repository.Visibility)
- func (m *RepositoryMutation) SetWatchers(i int64)
- func (m *RepositoryMutation) SetWatchersCount(i int64)
- func (m *RepositoryMutation) Size() (r int64, exists bool)
- func (m *RepositoryMutation) StargazersCount() (r int64, exists bool)
- func (m *RepositoryMutation) StargazersURL() (r string, exists bool)
- func (m *RepositoryMutation) StatusesURL() (r string, exists bool)
- func (m *RepositoryMutation) SubscribersCount() (r int64, exists bool)
- func (m *RepositoryMutation) SubscribersURL() (r string, exists bool)
- func (m *RepositoryMutation) SubscriptionURL() (r string, exists bool)
- func (m *RepositoryMutation) SvnURL() (r string, exists bool)
- func (m *RepositoryMutation) TagsURL() (r string, exists bool)
- func (m *RepositoryMutation) TeamsURL() (r string, exists bool)
- func (m *RepositoryMutation) Topics() (r []string, exists bool)
- func (m *RepositoryMutation) TreesURL() (r string, exists bool)
- func (m RepositoryMutation) Tx() (*Tx, error)
- func (m *RepositoryMutation) Type() string
- func (m *RepositoryMutation) URL() (r string, exists bool)
- func (m *RepositoryMutation) UpdatedAt() (r time.Time, exists bool)
- func (m *RepositoryMutation) Visibility() (r repository.Visibility, exists bool)
- func (m *RepositoryMutation) VisibilityCleared() bool
- func (m *RepositoryMutation) Watchers() (r int64, exists bool)
- func (m *RepositoryMutation) WatchersCount() (r int64, exists bool)
- func (m *RepositoryMutation) Where(ps ...predicate.Repository)
- func (m *RepositoryMutation) WhereP(ps ...func(*sql.Selector))
- type RepositoryQuery
- func (rq *RepositoryQuery) Aggregate(fns ...AggregateFunc) *RepositorySelect
- func (rq *RepositoryQuery) All(ctx context.Context) ([]*Repository, error)
- func (rq *RepositoryQuery) AllX(ctx context.Context) []*Repository
- func (rq *RepositoryQuery) Clone() *RepositoryQuery
- func (rq *RepositoryQuery) Count(ctx context.Context) (int, error)
- func (rq *RepositoryQuery) CountX(ctx context.Context) int
- func (rq *RepositoryQuery) Exist(ctx context.Context) (bool, error)
- func (rq *RepositoryQuery) ExistX(ctx context.Context) bool
- func (rq *RepositoryQuery) First(ctx context.Context) (*Repository, error)
- func (rq *RepositoryQuery) FirstID(ctx context.Context) (id int64, err error)
- func (rq *RepositoryQuery) FirstIDX(ctx context.Context) int64
- func (rq *RepositoryQuery) FirstX(ctx context.Context) *Repository
- func (rq *RepositoryQuery) GroupBy(field string, fields ...string) *RepositoryGroupBy
- func (rq *RepositoryQuery) IDs(ctx context.Context) (ids []int64, err error)
- func (rq *RepositoryQuery) IDsX(ctx context.Context) []int64
- func (rq *RepositoryQuery) Limit(limit int) *RepositoryQuery
- func (rq *RepositoryQuery) Offset(offset int) *RepositoryQuery
- func (rq *RepositoryQuery) Only(ctx context.Context) (*Repository, error)
- func (rq *RepositoryQuery) OnlyID(ctx context.Context) (id int64, err error)
- func (rq *RepositoryQuery) OnlyIDX(ctx context.Context) int64
- func (rq *RepositoryQuery) OnlyX(ctx context.Context) *Repository
- func (rq *RepositoryQuery) Order(o ...repository.OrderOption) *RepositoryQuery
- func (rq *RepositoryQuery) QueryIssues() *IssueQuery
- func (rq *RepositoryQuery) QueryOwner() *UserQuery
- func (rq *RepositoryQuery) Select(fields ...string) *RepositorySelect
- func (rq *RepositoryQuery) Unique(unique bool) *RepositoryQuery
- func (rq *RepositoryQuery) Where(ps ...predicate.Repository) *RepositoryQuery
- func (rq *RepositoryQuery) WithIssues(opts ...func(*IssueQuery)) *RepositoryQuery
- func (rq *RepositoryQuery) WithOwner(opts ...func(*UserQuery)) *RepositoryQuery
- type RepositorySelect
- func (rs *RepositorySelect) Aggregate(fns ...AggregateFunc) *RepositorySelect
- func (s *RepositorySelect) Bool(ctx context.Context) (_ bool, err error)
- func (s *RepositorySelect) BoolX(ctx context.Context) bool
- func (s *RepositorySelect) Bools(ctx context.Context) ([]bool, error)
- func (s *RepositorySelect) BoolsX(ctx context.Context) []bool
- func (s *RepositorySelect) Float64(ctx context.Context) (_ float64, err error)
- func (s *RepositorySelect) Float64X(ctx context.Context) float64
- func (s *RepositorySelect) Float64s(ctx context.Context) ([]float64, error)
- func (s *RepositorySelect) Float64sX(ctx context.Context) []float64
- func (s *RepositorySelect) Int(ctx context.Context) (_ int, err error)
- func (s *RepositorySelect) IntX(ctx context.Context) int
- func (s *RepositorySelect) Ints(ctx context.Context) ([]int, error)
- func (s *RepositorySelect) IntsX(ctx context.Context) []int
- func (rs *RepositorySelect) Scan(ctx context.Context, v any) error
- func (s *RepositorySelect) ScanX(ctx context.Context, v any)
- func (s *RepositorySelect) String(ctx context.Context) (_ string, err error)
- func (s *RepositorySelect) StringX(ctx context.Context) string
- func (s *RepositorySelect) Strings(ctx context.Context) ([]string, error)
- func (s *RepositorySelect) StringsX(ctx context.Context) []string
- type RepositoryUpdate
- func (ru *RepositoryUpdate) AddForks(i int64) *RepositoryUpdate
- func (ru *RepositoryUpdate) AddForksCount(i int64) *RepositoryUpdate
- func (ru *RepositoryUpdate) AddIssueIDs(ids ...int64) *RepositoryUpdate
- func (ru *RepositoryUpdate) AddIssues(i ...*Issue) *RepositoryUpdate
- func (ru *RepositoryUpdate) AddNetworkCount(i int64) *RepositoryUpdate
- func (ru *RepositoryUpdate) AddOpenIssues(i int64) *RepositoryUpdate
- func (ru *RepositoryUpdate) AddOpenIssuesCount(i int64) *RepositoryUpdate
- func (ru *RepositoryUpdate) AddSize(i int64) *RepositoryUpdate
- func (ru *RepositoryUpdate) AddStargazersCount(i int64) *RepositoryUpdate
- func (ru *RepositoryUpdate) AddSubscribersCount(i int64) *RepositoryUpdate
- func (ru *RepositoryUpdate) AddWatchers(i int64) *RepositoryUpdate
- func (ru *RepositoryUpdate) AddWatchersCount(i int64) *RepositoryUpdate
- func (ru *RepositoryUpdate) AppendTopics(s []string) *RepositoryUpdate
- func (ru *RepositoryUpdate) ClearDescription() *RepositoryUpdate
- func (ru *RepositoryUpdate) ClearHomepage() *RepositoryUpdate
- func (ru *RepositoryUpdate) ClearIssues() *RepositoryUpdate
- func (ru *RepositoryUpdate) ClearLanguage() *RepositoryUpdate
- func (ru *RepositoryUpdate) ClearLicense() *RepositoryUpdate
- func (ru *RepositoryUpdate) ClearMirrorURL() *RepositoryUpdate
- func (ru *RepositoryUpdate) ClearOwner() *RepositoryUpdate
- func (ru *RepositoryUpdate) ClearVisibility() *RepositoryUpdate
- func (ru *RepositoryUpdate) Exec(ctx context.Context) error
- func (ru *RepositoryUpdate) ExecX(ctx context.Context)
- func (ru *RepositoryUpdate) Mutation() *RepositoryMutation
- func (ru *RepositoryUpdate) RemoveIssueIDs(ids ...int64) *RepositoryUpdate
- func (ru *RepositoryUpdate) RemoveIssues(i ...*Issue) *RepositoryUpdate
- func (ru *RepositoryUpdate) Save(ctx context.Context) (int, error)
- func (ru *RepositoryUpdate) SaveX(ctx context.Context) int
- func (ru *RepositoryUpdate) SetArchiveURL(s string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetArchived(b bool) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetAssigneesURL(s string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetBlobsURL(s string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetBranchesURL(s string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetCloneURL(s string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetCollaboratorsURL(s string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetCommentsURL(s string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetCommitsURL(s string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetCompareURL(s string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetContentsURL(s string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetContributorsURL(s string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetCreatedAt(t time.Time) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetDefaultBranch(s string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetDeploymentsURL(s string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetDescription(s string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetDisabled(b bool) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetDownloadsURL(s string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetEventsURL(s string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetFork(b bool) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetForks(i int64) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetForksCount(i int64) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetForksURL(s string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetFullName(s string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetGitCommitsURL(s string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetGitRefsURL(s string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetGitTagsURL(s string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetGitURL(s string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetHTMLURL(s string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetHasDiscussions(b bool) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetHasDownloads(b bool) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetHasIssuesEnabled(b bool) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetHasPages(b bool) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetHasProjects(b bool) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetHasWiki(b bool) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetHomepage(s string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetHooksURL(s string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetIsTemplate(b bool) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetIssueCommentURL(s string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetIssueEventsURL(s string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetIssuesURL(s string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetKeysURL(s string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetLabelsURL(s string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetLanguage(s string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetLanguagesURL(s string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetLicense(m *model.License) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetMergesURL(s string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetMilestonesURL(s string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetMirrorURL(s string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetName(s string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNetworkCount(i int64) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNillableArchiveURL(s *string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNillableArchived(b *bool) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNillableAssigneesURL(s *string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNillableBlobsURL(s *string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNillableBranchesURL(s *string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNillableCloneURL(s *string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNillableCollaboratorsURL(s *string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNillableCommentsURL(s *string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNillableCommitsURL(s *string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNillableCompareURL(s *string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNillableContentsURL(s *string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNillableContributorsURL(s *string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNillableCreatedAt(t *time.Time) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNillableDefaultBranch(s *string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNillableDeploymentsURL(s *string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNillableDescription(s *string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNillableDisabled(b *bool) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNillableDownloadsURL(s *string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNillableEventsURL(s *string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNillableFork(b *bool) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNillableForks(i *int64) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNillableForksCount(i *int64) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNillableForksURL(s *string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNillableFullName(s *string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNillableGitCommitsURL(s *string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNillableGitRefsURL(s *string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNillableGitTagsURL(s *string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNillableGitURL(s *string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNillableHTMLURL(s *string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNillableHasDiscussions(b *bool) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNillableHasDownloads(b *bool) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNillableHasIssuesEnabled(b *bool) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNillableHasPages(b *bool) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNillableHasProjects(b *bool) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNillableHasWiki(b *bool) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNillableHomepage(s *string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNillableHooksURL(s *string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNillableIsTemplate(b *bool) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNillableIssueCommentURL(s *string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNillableIssueEventsURL(s *string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNillableIssuesURL(s *string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNillableKeysURL(s *string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNillableLabelsURL(s *string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNillableLanguage(s *string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNillableLanguagesURL(s *string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNillableMergesURL(s *string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNillableMilestonesURL(s *string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNillableMirrorURL(s *string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNillableName(s *string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNillableNetworkCount(i *int64) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNillableNodeID(s *string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNillableNotificationsURL(s *string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNillableOpenIssues(i *int64) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNillableOpenIssuesCount(i *int64) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNillableOwnerID(id *int64) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNillablePrivate(b *bool) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNillablePullsURL(s *string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNillablePushedAt(t *time.Time) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNillableReleasesURL(s *string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNillableSSHURL(s *string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNillableSize(i *int64) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNillableStargazersCount(i *int64) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNillableStargazersURL(s *string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNillableStatusesURL(s *string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNillableSubscribersCount(i *int64) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNillableSubscribersURL(s *string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNillableSubscriptionURL(s *string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNillableSvnURL(s *string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNillableTagsURL(s *string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNillableTeamsURL(s *string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNillableTreesURL(s *string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNillableURL(s *string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNillableUpdatedAt(t *time.Time) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNillableVisibility(r *repository.Visibility) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNillableWatchers(i *int64) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNillableWatchersCount(i *int64) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNodeID(s string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetNotificationsURL(s string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetOpenIssues(i int64) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetOpenIssuesCount(i int64) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetOwner(u *User) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetOwnerID(id int64) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetPrivate(b bool) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetPullsURL(s string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetPushedAt(t time.Time) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetReleasesURL(s string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetSSHURL(s string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetSize(i int64) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetStargazersCount(i int64) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetStargazersURL(s string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetStatusesURL(s string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetSubscribersCount(i int64) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetSubscribersURL(s string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetSubscriptionURL(s string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetSvnURL(s string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetTagsURL(s string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetTeamsURL(s string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetTopics(s []string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetTreesURL(s string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetURL(s string) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetUpdatedAt(t time.Time) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetVisibility(r repository.Visibility) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetWatchers(i int64) *RepositoryUpdate
- func (ru *RepositoryUpdate) SetWatchersCount(i int64) *RepositoryUpdate
- func (ru *RepositoryUpdate) Where(ps ...predicate.Repository) *RepositoryUpdate
- type RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) AddForks(i int64) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) AddForksCount(i int64) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) AddIssueIDs(ids ...int64) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) AddIssues(i ...*Issue) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) AddNetworkCount(i int64) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) AddOpenIssues(i int64) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) AddOpenIssuesCount(i int64) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) AddSize(i int64) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) AddStargazersCount(i int64) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) AddSubscribersCount(i int64) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) AddWatchers(i int64) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) AddWatchersCount(i int64) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) AppendTopics(s []string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) ClearDescription() *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) ClearHomepage() *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) ClearIssues() *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) ClearLanguage() *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) ClearLicense() *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) ClearMirrorURL() *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) ClearOwner() *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) ClearVisibility() *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) CopyRepository(input *Repository) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) Exec(ctx context.Context) error
- func (ruo *RepositoryUpdateOne) ExecX(ctx context.Context)
- func (ruo *RepositoryUpdateOne) Mutation() *RepositoryMutation
- func (ruo *RepositoryUpdateOne) RemoveIssueIDs(ids ...int64) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) RemoveIssues(i ...*Issue) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) Save(ctx context.Context) (*Repository, error)
- func (ruo *RepositoryUpdateOne) SaveX(ctx context.Context) *Repository
- func (ruo *RepositoryUpdateOne) Select(field string, fields ...string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetArchiveURL(s string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetArchived(b bool) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetAssigneesURL(s string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetBlobsURL(s string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetBranchesURL(s string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetCloneURL(s string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetCollaboratorsURL(s string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetCommentsURL(s string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetCommitsURL(s string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetCompareURL(s string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetContentsURL(s string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetContributorsURL(s string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetCreatedAt(t time.Time) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetDefaultBranch(s string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetDeploymentsURL(s string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetDescription(s string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetDisabled(b bool) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetDownloadsURL(s string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetEventsURL(s string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetFork(b bool) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetForks(i int64) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetForksCount(i int64) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetForksURL(s string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetFullName(s string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetGitCommitsURL(s string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetGitRefsURL(s string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetGitTagsURL(s string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetGitURL(s string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetHTMLURL(s string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetHasDiscussions(b bool) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetHasDownloads(b bool) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetHasIssuesEnabled(b bool) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetHasPages(b bool) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetHasProjects(b bool) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetHasWiki(b bool) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetHomepage(s string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetHooksURL(s string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetIsTemplate(b bool) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetIssueCommentURL(s string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetIssueEventsURL(s string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetIssuesURL(s string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetKeysURL(s string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetLabelsURL(s string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetLanguage(s string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetLanguagesURL(s string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetLicense(m *model.License) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetMergesURL(s string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetMilestonesURL(s string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetMirrorURL(s string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetName(s string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNetworkCount(i int64) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNillableArchiveURL(s *string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNillableArchived(b *bool) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNillableAssigneesURL(s *string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNillableBlobsURL(s *string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNillableBranchesURL(s *string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNillableCloneURL(s *string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNillableCollaboratorsURL(s *string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNillableCommentsURL(s *string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNillableCommitsURL(s *string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNillableCompareURL(s *string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNillableContentsURL(s *string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNillableContributorsURL(s *string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNillableCreatedAt(t *time.Time) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNillableDefaultBranch(s *string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNillableDeploymentsURL(s *string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNillableDescription(s *string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNillableDisabled(b *bool) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNillableDownloadsURL(s *string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNillableEventsURL(s *string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNillableFork(b *bool) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNillableForks(i *int64) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNillableForksCount(i *int64) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNillableForksURL(s *string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNillableFullName(s *string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNillableGitCommitsURL(s *string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNillableGitRefsURL(s *string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNillableGitTagsURL(s *string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNillableGitURL(s *string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNillableHTMLURL(s *string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNillableHasDiscussions(b *bool) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNillableHasDownloads(b *bool) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNillableHasIssuesEnabled(b *bool) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNillableHasPages(b *bool) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNillableHasProjects(b *bool) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNillableHasWiki(b *bool) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNillableHomepage(s *string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNillableHooksURL(s *string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNillableIsTemplate(b *bool) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNillableIssueCommentURL(s *string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNillableIssueEventsURL(s *string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNillableIssuesURL(s *string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNillableKeysURL(s *string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNillableLabelsURL(s *string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNillableLanguage(s *string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNillableLanguagesURL(s *string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNillableMergesURL(s *string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNillableMilestonesURL(s *string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNillableMirrorURL(s *string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNillableName(s *string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNillableNetworkCount(i *int64) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNillableNodeID(s *string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNillableNotificationsURL(s *string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNillableOpenIssues(i *int64) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNillableOpenIssuesCount(i *int64) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNillableOwnerID(id *int64) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNillablePrivate(b *bool) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNillablePullsURL(s *string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNillablePushedAt(t *time.Time) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNillableReleasesURL(s *string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNillableSSHURL(s *string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNillableSize(i *int64) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNillableStargazersCount(i *int64) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNillableStargazersURL(s *string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNillableStatusesURL(s *string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNillableSubscribersCount(i *int64) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNillableSubscribersURL(s *string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNillableSubscriptionURL(s *string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNillableSvnURL(s *string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNillableTagsURL(s *string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNillableTeamsURL(s *string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNillableTreesURL(s *string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNillableURL(s *string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNillableUpdatedAt(t *time.Time) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNillableVisibility(r *repository.Visibility) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNillableWatchers(i *int64) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNillableWatchersCount(i *int64) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNodeID(s string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetNotificationsURL(s string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetOpenIssues(i int64) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetOpenIssuesCount(i int64) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetOwner(u *User) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetOwnerID(id int64) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetPrivate(b bool) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetPullsURL(s string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetPushedAt(t time.Time) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetReleasesURL(s string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetSSHURL(s string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetSize(i int64) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetStargazersCount(i int64) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetStargazersURL(s string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetStatusesURL(s string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetSubscribersCount(i int64) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetSubscribersURL(s string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetSubscriptionURL(s string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetSvnURL(s string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetTagsURL(s string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetTeamsURL(s string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetTopics(s []string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetTreesURL(s string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetURL(s string) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetUpdatedAt(t time.Time) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetVisibility(r repository.Visibility) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetWatchers(i int64) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) SetWatchersCount(i int64) *RepositoryUpdateOne
- func (ruo *RepositoryUpdateOne) Where(ps ...predicate.Repository) *RepositoryUpdateOne
- type RepositoryUpsert
- func (u *RepositoryUpsert) AddForks(v int64) *RepositoryUpsert
- func (u *RepositoryUpsert) AddForksCount(v int64) *RepositoryUpsert
- func (u *RepositoryUpsert) AddNetworkCount(v int64) *RepositoryUpsert
- func (u *RepositoryUpsert) AddOpenIssues(v int64) *RepositoryUpsert
- func (u *RepositoryUpsert) AddOpenIssuesCount(v int64) *RepositoryUpsert
- func (u *RepositoryUpsert) AddSize(v int64) *RepositoryUpsert
- func (u *RepositoryUpsert) AddStargazersCount(v int64) *RepositoryUpsert
- func (u *RepositoryUpsert) AddSubscribersCount(v int64) *RepositoryUpsert
- func (u *RepositoryUpsert) AddWatchers(v int64) *RepositoryUpsert
- func (u *RepositoryUpsert) AddWatchersCount(v int64) *RepositoryUpsert
- func (u *RepositoryUpsert) ClearDescription() *RepositoryUpsert
- func (u *RepositoryUpsert) ClearHomepage() *RepositoryUpsert
- func (u *RepositoryUpsert) ClearLanguage() *RepositoryUpsert
- func (u *RepositoryUpsert) ClearLicense() *RepositoryUpsert
- func (u *RepositoryUpsert) ClearMirrorURL() *RepositoryUpsert
- func (u *RepositoryUpsert) ClearVisibility() *RepositoryUpsert
- func (u *RepositoryUpsert) SetArchiveURL(v string) *RepositoryUpsert
- func (u *RepositoryUpsert) SetArchived(v bool) *RepositoryUpsert
- func (u *RepositoryUpsert) SetAssigneesURL(v string) *RepositoryUpsert
- func (u *RepositoryUpsert) SetBlobsURL(v string) *RepositoryUpsert
- func (u *RepositoryUpsert) SetBranchesURL(v string) *RepositoryUpsert
- func (u *RepositoryUpsert) SetCloneURL(v string) *RepositoryUpsert
- func (u *RepositoryUpsert) SetCollaboratorsURL(v string) *RepositoryUpsert
- func (u *RepositoryUpsert) SetCommentsURL(v string) *RepositoryUpsert
- func (u *RepositoryUpsert) SetCommitsURL(v string) *RepositoryUpsert
- func (u *RepositoryUpsert) SetCompareURL(v string) *RepositoryUpsert
- func (u *RepositoryUpsert) SetContentsURL(v string) *RepositoryUpsert
- func (u *RepositoryUpsert) SetContributorsURL(v string) *RepositoryUpsert
- func (u *RepositoryUpsert) SetCreatedAt(v time.Time) *RepositoryUpsert
- func (u *RepositoryUpsert) SetDefaultBranch(v string) *RepositoryUpsert
- func (u *RepositoryUpsert) SetDeploymentsURL(v string) *RepositoryUpsert
- func (u *RepositoryUpsert) SetDescription(v string) *RepositoryUpsert
- func (u *RepositoryUpsert) SetDisabled(v bool) *RepositoryUpsert
- func (u *RepositoryUpsert) SetDownloadsURL(v string) *RepositoryUpsert
- func (u *RepositoryUpsert) SetEventsURL(v string) *RepositoryUpsert
- func (u *RepositoryUpsert) SetFork(v bool) *RepositoryUpsert
- func (u *RepositoryUpsert) SetForks(v int64) *RepositoryUpsert
- func (u *RepositoryUpsert) SetForksCount(v int64) *RepositoryUpsert
- func (u *RepositoryUpsert) SetForksURL(v string) *RepositoryUpsert
- func (u *RepositoryUpsert) SetFullName(v string) *RepositoryUpsert
- func (u *RepositoryUpsert) SetGitCommitsURL(v string) *RepositoryUpsert
- func (u *RepositoryUpsert) SetGitRefsURL(v string) *RepositoryUpsert
- func (u *RepositoryUpsert) SetGitTagsURL(v string) *RepositoryUpsert
- func (u *RepositoryUpsert) SetGitURL(v string) *RepositoryUpsert
- func (u *RepositoryUpsert) SetHTMLURL(v string) *RepositoryUpsert
- func (u *RepositoryUpsert) SetHasDiscussions(v bool) *RepositoryUpsert
- func (u *RepositoryUpsert) SetHasDownloads(v bool) *RepositoryUpsert
- func (u *RepositoryUpsert) SetHasIssuesEnabled(v bool) *RepositoryUpsert
- func (u *RepositoryUpsert) SetHasPages(v bool) *RepositoryUpsert
- func (u *RepositoryUpsert) SetHasProjects(v bool) *RepositoryUpsert
- func (u *RepositoryUpsert) SetHasWiki(v bool) *RepositoryUpsert
- func (u *RepositoryUpsert) SetHomepage(v string) *RepositoryUpsert
- func (u *RepositoryUpsert) SetHooksURL(v string) *RepositoryUpsert
- func (u *RepositoryUpsert) SetIsTemplate(v bool) *RepositoryUpsert
- func (u *RepositoryUpsert) SetIssueCommentURL(v string) *RepositoryUpsert
- func (u *RepositoryUpsert) SetIssueEventsURL(v string) *RepositoryUpsert
- func (u *RepositoryUpsert) SetIssuesURL(v string) *RepositoryUpsert
- func (u *RepositoryUpsert) SetKeysURL(v string) *RepositoryUpsert
- func (u *RepositoryUpsert) SetLabelsURL(v string) *RepositoryUpsert
- func (u *RepositoryUpsert) SetLanguage(v string) *RepositoryUpsert
- func (u *RepositoryUpsert) SetLanguagesURL(v string) *RepositoryUpsert
- func (u *RepositoryUpsert) SetLicense(v *model.License) *RepositoryUpsert
- func (u *RepositoryUpsert) SetMergesURL(v string) *RepositoryUpsert
- func (u *RepositoryUpsert) SetMilestonesURL(v string) *RepositoryUpsert
- func (u *RepositoryUpsert) SetMirrorURL(v string) *RepositoryUpsert
- func (u *RepositoryUpsert) SetName(v string) *RepositoryUpsert
- func (u *RepositoryUpsert) SetNetworkCount(v int64) *RepositoryUpsert
- func (u *RepositoryUpsert) SetNodeID(v string) *RepositoryUpsert
- func (u *RepositoryUpsert) SetNotificationsURL(v string) *RepositoryUpsert
- func (u *RepositoryUpsert) SetOpenIssues(v int64) *RepositoryUpsert
- func (u *RepositoryUpsert) SetOpenIssuesCount(v int64) *RepositoryUpsert
- func (u *RepositoryUpsert) SetPrivate(v bool) *RepositoryUpsert
- func (u *RepositoryUpsert) SetPullsURL(v string) *RepositoryUpsert
- func (u *RepositoryUpsert) SetPushedAt(v time.Time) *RepositoryUpsert
- func (u *RepositoryUpsert) SetReleasesURL(v string) *RepositoryUpsert
- func (u *RepositoryUpsert) SetSSHURL(v string) *RepositoryUpsert
- func (u *RepositoryUpsert) SetSize(v int64) *RepositoryUpsert
- func (u *RepositoryUpsert) SetStargazersCount(v int64) *RepositoryUpsert
- func (u *RepositoryUpsert) SetStargazersURL(v string) *RepositoryUpsert
- func (u *RepositoryUpsert) SetStatusesURL(v string) *RepositoryUpsert
- func (u *RepositoryUpsert) SetSubscribersCount(v int64) *RepositoryUpsert
- func (u *RepositoryUpsert) SetSubscribersURL(v string) *RepositoryUpsert
- func (u *RepositoryUpsert) SetSubscriptionURL(v string) *RepositoryUpsert
- func (u *RepositoryUpsert) SetSvnURL(v string) *RepositoryUpsert
- func (u *RepositoryUpsert) SetTagsURL(v string) *RepositoryUpsert
- func (u *RepositoryUpsert) SetTeamsURL(v string) *RepositoryUpsert
- func (u *RepositoryUpsert) SetTopics(v []string) *RepositoryUpsert
- func (u *RepositoryUpsert) SetTreesURL(v string) *RepositoryUpsert
- func (u *RepositoryUpsert) SetURL(v string) *RepositoryUpsert
- func (u *RepositoryUpsert) SetUpdatedAt(v time.Time) *RepositoryUpsert
- func (u *RepositoryUpsert) SetVisibility(v repository.Visibility) *RepositoryUpsert
- func (u *RepositoryUpsert) SetWatchers(v int64) *RepositoryUpsert
- func (u *RepositoryUpsert) SetWatchersCount(v int64) *RepositoryUpsert
- func (u *RepositoryUpsert) UpdateArchiveURL() *RepositoryUpsert
- func (u *RepositoryUpsert) UpdateArchived() *RepositoryUpsert
- func (u *RepositoryUpsert) UpdateAssigneesURL() *RepositoryUpsert
- func (u *RepositoryUpsert) UpdateBlobsURL() *RepositoryUpsert
- func (u *RepositoryUpsert) UpdateBranchesURL() *RepositoryUpsert
- func (u *RepositoryUpsert) UpdateCloneURL() *RepositoryUpsert
- func (u *RepositoryUpsert) UpdateCollaboratorsURL() *RepositoryUpsert
- func (u *RepositoryUpsert) UpdateCommentsURL() *RepositoryUpsert
- func (u *RepositoryUpsert) UpdateCommitsURL() *RepositoryUpsert
- func (u *RepositoryUpsert) UpdateCompareURL() *RepositoryUpsert
- func (u *RepositoryUpsert) UpdateContentsURL() *RepositoryUpsert
- func (u *RepositoryUpsert) UpdateContributorsURL() *RepositoryUpsert
- func (u *RepositoryUpsert) UpdateCreatedAt() *RepositoryUpsert
- func (u *RepositoryUpsert) UpdateDefaultBranch() *RepositoryUpsert
- func (u *RepositoryUpsert) UpdateDeploymentsURL() *RepositoryUpsert
- func (u *RepositoryUpsert) UpdateDescription() *RepositoryUpsert
- func (u *RepositoryUpsert) UpdateDisabled() *RepositoryUpsert
- func (u *RepositoryUpsert) UpdateDownloadsURL() *RepositoryUpsert
- func (u *RepositoryUpsert) UpdateEventsURL() *RepositoryUpsert
- func (u *RepositoryUpsert) UpdateFork() *RepositoryUpsert
- func (u *RepositoryUpsert) UpdateForks() *RepositoryUpsert
- func (u *RepositoryUpsert) UpdateForksCount() *RepositoryUpsert
- func (u *RepositoryUpsert) UpdateForksURL() *RepositoryUpsert
- func (u *RepositoryUpsert) UpdateFullName() *RepositoryUpsert
- func (u *RepositoryUpsert) UpdateGitCommitsURL() *RepositoryUpsert
- func (u *RepositoryUpsert) UpdateGitRefsURL() *RepositoryUpsert
- func (u *RepositoryUpsert) UpdateGitTagsURL() *RepositoryUpsert
- func (u *RepositoryUpsert) UpdateGitURL() *RepositoryUpsert
- func (u *RepositoryUpsert) UpdateHTMLURL() *RepositoryUpsert
- func (u *RepositoryUpsert) UpdateHasDiscussions() *RepositoryUpsert
- func (u *RepositoryUpsert) UpdateHasDownloads() *RepositoryUpsert
- func (u *RepositoryUpsert) UpdateHasIssuesEnabled() *RepositoryUpsert
- func (u *RepositoryUpsert) UpdateHasPages() *RepositoryUpsert
- func (u *RepositoryUpsert) UpdateHasProjects() *RepositoryUpsert
- func (u *RepositoryUpsert) UpdateHasWiki() *RepositoryUpsert
- func (u *RepositoryUpsert) UpdateHomepage() *RepositoryUpsert
- func (u *RepositoryUpsert) UpdateHooksURL() *RepositoryUpsert
- func (u *RepositoryUpsert) UpdateIsTemplate() *RepositoryUpsert
- func (u *RepositoryUpsert) UpdateIssueCommentURL() *RepositoryUpsert
- func (u *RepositoryUpsert) UpdateIssueEventsURL() *RepositoryUpsert
- func (u *RepositoryUpsert) UpdateIssuesURL() *RepositoryUpsert
- func (u *RepositoryUpsert) UpdateKeysURL() *RepositoryUpsert
- func (u *RepositoryUpsert) UpdateLabelsURL() *RepositoryUpsert
- func (u *RepositoryUpsert) UpdateLanguage() *RepositoryUpsert
- func (u *RepositoryUpsert) UpdateLanguagesURL() *RepositoryUpsert
- func (u *RepositoryUpsert) UpdateLicense() *RepositoryUpsert
- func (u *RepositoryUpsert) UpdateMergesURL() *RepositoryUpsert
- func (u *RepositoryUpsert) UpdateMilestonesURL() *RepositoryUpsert
- func (u *RepositoryUpsert) UpdateMirrorURL() *RepositoryUpsert
- func (u *RepositoryUpsert) UpdateName() *RepositoryUpsert
- func (u *RepositoryUpsert) UpdateNetworkCount() *RepositoryUpsert
- func (u *RepositoryUpsert) UpdateNodeID() *RepositoryUpsert
- func (u *RepositoryUpsert) UpdateNotificationsURL() *RepositoryUpsert
- func (u *RepositoryUpsert) UpdateOpenIssues() *RepositoryUpsert
- func (u *RepositoryUpsert) UpdateOpenIssuesCount() *RepositoryUpsert
- func (u *RepositoryUpsert) UpdatePrivate() *RepositoryUpsert
- func (u *RepositoryUpsert) UpdatePullsURL() *RepositoryUpsert
- func (u *RepositoryUpsert) UpdatePushedAt() *RepositoryUpsert
- func (u *RepositoryUpsert) UpdateReleasesURL() *RepositoryUpsert
- func (u *RepositoryUpsert) UpdateSSHURL() *RepositoryUpsert
- func (u *RepositoryUpsert) UpdateSize() *RepositoryUpsert
- func (u *RepositoryUpsert) UpdateStargazersCount() *RepositoryUpsert
- func (u *RepositoryUpsert) UpdateStargazersURL() *RepositoryUpsert
- func (u *RepositoryUpsert) UpdateStatusesURL() *RepositoryUpsert
- func (u *RepositoryUpsert) UpdateSubscribersCount() *RepositoryUpsert
- func (u *RepositoryUpsert) UpdateSubscribersURL() *RepositoryUpsert
- func (u *RepositoryUpsert) UpdateSubscriptionURL() *RepositoryUpsert
- func (u *RepositoryUpsert) UpdateSvnURL() *RepositoryUpsert
- func (u *RepositoryUpsert) UpdateTagsURL() *RepositoryUpsert
- func (u *RepositoryUpsert) UpdateTeamsURL() *RepositoryUpsert
- func (u *RepositoryUpsert) UpdateTopics() *RepositoryUpsert
- func (u *RepositoryUpsert) UpdateTreesURL() *RepositoryUpsert
- func (u *RepositoryUpsert) UpdateURL() *RepositoryUpsert
- func (u *RepositoryUpsert) UpdateUpdatedAt() *RepositoryUpsert
- func (u *RepositoryUpsert) UpdateVisibility() *RepositoryUpsert
- func (u *RepositoryUpsert) UpdateWatchers() *RepositoryUpsert
- func (u *RepositoryUpsert) UpdateWatchersCount() *RepositoryUpsert
- type RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) AddForks(v int64) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) AddForksCount(v int64) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) AddNetworkCount(v int64) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) AddOpenIssues(v int64) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) AddOpenIssuesCount(v int64) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) AddSize(v int64) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) AddStargazersCount(v int64) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) AddSubscribersCount(v int64) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) AddWatchers(v int64) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) AddWatchersCount(v int64) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) ClearDescription() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) ClearHomepage() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) ClearLanguage() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) ClearLicense() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) ClearMirrorURL() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) ClearVisibility() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) DoNothing() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) Exec(ctx context.Context) error
- func (u *RepositoryUpsertBulk) ExecX(ctx context.Context)
- func (u *RepositoryUpsertBulk) Ignore() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) SetArchiveURL(v string) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) SetArchived(v bool) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) SetAssigneesURL(v string) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) SetBlobsURL(v string) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) SetBranchesURL(v string) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) SetCloneURL(v string) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) SetCollaboratorsURL(v string) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) SetCommentsURL(v string) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) SetCommitsURL(v string) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) SetCompareURL(v string) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) SetContentsURL(v string) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) SetContributorsURL(v string) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) SetCreatedAt(v time.Time) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) SetDefaultBranch(v string) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) SetDeploymentsURL(v string) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) SetDescription(v string) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) SetDisabled(v bool) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) SetDownloadsURL(v string) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) SetEventsURL(v string) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) SetFork(v bool) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) SetForks(v int64) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) SetForksCount(v int64) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) SetForksURL(v string) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) SetFullName(v string) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) SetGitCommitsURL(v string) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) SetGitRefsURL(v string) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) SetGitTagsURL(v string) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) SetGitURL(v string) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) SetHTMLURL(v string) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) SetHasDiscussions(v bool) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) SetHasDownloads(v bool) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) SetHasIssuesEnabled(v bool) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) SetHasPages(v bool) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) SetHasProjects(v bool) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) SetHasWiki(v bool) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) SetHomepage(v string) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) SetHooksURL(v string) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) SetIsTemplate(v bool) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) SetIssueCommentURL(v string) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) SetIssueEventsURL(v string) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) SetIssuesURL(v string) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) SetKeysURL(v string) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) SetLabelsURL(v string) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) SetLanguage(v string) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) SetLanguagesURL(v string) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) SetLicense(v *model.License) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) SetMergesURL(v string) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) SetMilestonesURL(v string) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) SetMirrorURL(v string) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) SetName(v string) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) SetNetworkCount(v int64) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) SetNodeID(v string) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) SetNotificationsURL(v string) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) SetOpenIssues(v int64) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) SetOpenIssuesCount(v int64) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) SetPrivate(v bool) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) SetPullsURL(v string) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) SetPushedAt(v time.Time) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) SetReleasesURL(v string) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) SetSSHURL(v string) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) SetSize(v int64) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) SetStargazersCount(v int64) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) SetStargazersURL(v string) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) SetStatusesURL(v string) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) SetSubscribersCount(v int64) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) SetSubscribersURL(v string) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) SetSubscriptionURL(v string) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) SetSvnURL(v string) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) SetTagsURL(v string) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) SetTeamsURL(v string) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) SetTopics(v []string) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) SetTreesURL(v string) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) SetURL(v string) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) SetUpdatedAt(v time.Time) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) SetVisibility(v repository.Visibility) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) SetWatchers(v int64) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) SetWatchersCount(v int64) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) Update(set func(*RepositoryUpsert)) *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdateArchiveURL() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdateArchived() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdateAssigneesURL() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdateBlobsURL() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdateBranchesURL() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdateCloneURL() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdateCollaboratorsURL() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdateCommentsURL() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdateCommitsURL() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdateCompareURL() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdateContentsURL() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdateContributorsURL() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdateCreatedAt() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdateDefaultBranch() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdateDeploymentsURL() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdateDescription() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdateDisabled() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdateDownloadsURL() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdateEventsURL() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdateFork() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdateForks() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdateForksCount() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdateForksURL() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdateFullName() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdateGitCommitsURL() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdateGitRefsURL() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdateGitTagsURL() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdateGitURL() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdateHTMLURL() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdateHasDiscussions() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdateHasDownloads() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdateHasIssuesEnabled() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdateHasPages() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdateHasProjects() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdateHasWiki() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdateHomepage() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdateHooksURL() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdateIsTemplate() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdateIssueCommentURL() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdateIssueEventsURL() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdateIssuesURL() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdateKeysURL() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdateLabelsURL() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdateLanguage() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdateLanguagesURL() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdateLicense() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdateMergesURL() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdateMilestonesURL() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdateMirrorURL() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdateName() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdateNetworkCount() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdateNewValues() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdateNodeID() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdateNotificationsURL() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdateOpenIssues() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdateOpenIssuesCount() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdatePrivate() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdatePullsURL() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdatePushedAt() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdateReleasesURL() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdateSSHURL() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdateSize() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdateStargazersCount() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdateStargazersURL() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdateStatusesURL() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdateSubscribersCount() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdateSubscribersURL() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdateSubscriptionURL() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdateSvnURL() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdateTagsURL() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdateTeamsURL() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdateTopics() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdateTreesURL() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdateURL() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdateUpdatedAt() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdateVisibility() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdateWatchers() *RepositoryUpsertBulk
- func (u *RepositoryUpsertBulk) UpdateWatchersCount() *RepositoryUpsertBulk
- type RepositoryUpsertOne
- func (u *RepositoryUpsertOne) AddForks(v int64) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) AddForksCount(v int64) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) AddNetworkCount(v int64) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) AddOpenIssues(v int64) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) AddOpenIssuesCount(v int64) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) AddSize(v int64) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) AddStargazersCount(v int64) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) AddSubscribersCount(v int64) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) AddWatchers(v int64) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) AddWatchersCount(v int64) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) ClearDescription() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) ClearHomepage() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) ClearLanguage() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) ClearLicense() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) ClearMirrorURL() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) ClearVisibility() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) DoNothing() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) Exec(ctx context.Context) error
- func (u *RepositoryUpsertOne) ExecX(ctx context.Context)
- func (u *RepositoryUpsertOne) ID(ctx context.Context) (id int64, err error)
- func (u *RepositoryUpsertOne) IDX(ctx context.Context) int64
- func (u *RepositoryUpsertOne) Ignore() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) SetArchiveURL(v string) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) SetArchived(v bool) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) SetAssigneesURL(v string) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) SetBlobsURL(v string) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) SetBranchesURL(v string) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) SetCloneURL(v string) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) SetCollaboratorsURL(v string) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) SetCommentsURL(v string) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) SetCommitsURL(v string) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) SetCompareURL(v string) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) SetContentsURL(v string) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) SetContributorsURL(v string) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) SetCreatedAt(v time.Time) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) SetDefaultBranch(v string) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) SetDeploymentsURL(v string) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) SetDescription(v string) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) SetDisabled(v bool) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) SetDownloadsURL(v string) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) SetEventsURL(v string) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) SetFork(v bool) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) SetForks(v int64) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) SetForksCount(v int64) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) SetForksURL(v string) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) SetFullName(v string) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) SetGitCommitsURL(v string) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) SetGitRefsURL(v string) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) SetGitTagsURL(v string) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) SetGitURL(v string) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) SetHTMLURL(v string) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) SetHasDiscussions(v bool) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) SetHasDownloads(v bool) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) SetHasIssuesEnabled(v bool) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) SetHasPages(v bool) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) SetHasProjects(v bool) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) SetHasWiki(v bool) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) SetHomepage(v string) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) SetHooksURL(v string) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) SetIsTemplate(v bool) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) SetIssueCommentURL(v string) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) SetIssueEventsURL(v string) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) SetIssuesURL(v string) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) SetKeysURL(v string) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) SetLabelsURL(v string) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) SetLanguage(v string) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) SetLanguagesURL(v string) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) SetLicense(v *model.License) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) SetMergesURL(v string) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) SetMilestonesURL(v string) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) SetMirrorURL(v string) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) SetName(v string) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) SetNetworkCount(v int64) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) SetNodeID(v string) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) SetNotificationsURL(v string) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) SetOpenIssues(v int64) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) SetOpenIssuesCount(v int64) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) SetPrivate(v bool) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) SetPullsURL(v string) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) SetPushedAt(v time.Time) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) SetReleasesURL(v string) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) SetSSHURL(v string) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) SetSize(v int64) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) SetStargazersCount(v int64) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) SetStargazersURL(v string) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) SetStatusesURL(v string) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) SetSubscribersCount(v int64) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) SetSubscribersURL(v string) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) SetSubscriptionURL(v string) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) SetSvnURL(v string) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) SetTagsURL(v string) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) SetTeamsURL(v string) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) SetTopics(v []string) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) SetTreesURL(v string) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) SetURL(v string) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) SetUpdatedAt(v time.Time) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) SetVisibility(v repository.Visibility) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) SetWatchers(v int64) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) SetWatchersCount(v int64) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) Update(set func(*RepositoryUpsert)) *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdateArchiveURL() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdateArchived() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdateAssigneesURL() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdateBlobsURL() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdateBranchesURL() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdateCloneURL() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdateCollaboratorsURL() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdateCommentsURL() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdateCommitsURL() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdateCompareURL() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdateContentsURL() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdateContributorsURL() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdateCreatedAt() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdateDefaultBranch() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdateDeploymentsURL() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdateDescription() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdateDisabled() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdateDownloadsURL() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdateEventsURL() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdateFork() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdateForks() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdateForksCount() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdateForksURL() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdateFullName() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdateGitCommitsURL() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdateGitRefsURL() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdateGitTagsURL() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdateGitURL() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdateHTMLURL() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdateHasDiscussions() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdateHasDownloads() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdateHasIssuesEnabled() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdateHasPages() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdateHasProjects() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdateHasWiki() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdateHomepage() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdateHooksURL() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdateIsTemplate() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdateIssueCommentURL() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdateIssueEventsURL() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdateIssuesURL() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdateKeysURL() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdateLabelsURL() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdateLanguage() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdateLanguagesURL() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdateLicense() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdateMergesURL() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdateMilestonesURL() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdateMirrorURL() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdateName() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdateNetworkCount() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdateNewValues() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdateNodeID() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdateNotificationsURL() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdateOpenIssues() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdateOpenIssuesCount() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdatePrivate() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdatePullsURL() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdatePushedAt() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdateReleasesURL() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdateSSHURL() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdateSize() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdateStargazersCount() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdateStargazersURL() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdateStatusesURL() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdateSubscribersCount() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdateSubscribersURL() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdateSubscriptionURL() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdateSvnURL() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdateTagsURL() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdateTeamsURL() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdateTopics() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdateTreesURL() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdateURL() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdateUpdatedAt() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdateVisibility() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdateWatchers() *RepositoryUpsertOne
- func (u *RepositoryUpsertOne) UpdateWatchersCount() *RepositoryUpsertOne
- type RollbackFunc
- type RollbackHook
- type Rollbacker
- type TraverseFunc
- type Traverser
- type Tx
- type User
- func (u *User) MarshalJSON() ([]byte, error)
- func (u *User) QueryCommentsCreated() *IssueCommentQuery
- func (u *User) QueryIssuesAssigned() *IssueQuery
- func (u *User) QueryIssuesClosed() *IssueQuery
- func (u *User) QueryIssuesCreated() *IssueQuery
- func (u *User) QueryRepositories() *RepositoryQuery
- func (u *User) String() string
- func (u *User) Unwrap() *User
- func (u *User) Update() *UserUpdateOne
- func (u *User) Value(name string) (ent.Value, error)
- type UserClient
- func (c *UserClient) Create() *UserCreate
- func (c *UserClient) CreateBulk(builders ...*UserCreate) *UserCreateBulk
- func (c *UserClient) Delete() *UserDelete
- func (c *UserClient) DeleteOne(u *User) *UserDeleteOne
- func (c *UserClient) DeleteOneID(id int64) *UserDeleteOne
- func (c *UserClient) Get(ctx context.Context, id int64) (*User, error)
- func (c *UserClient) GetX(ctx context.Context, id int64) *User
- func (c *UserClient) Hooks() []Hook
- func (c *UserClient) Intercept(interceptors ...Interceptor)
- func (c *UserClient) Interceptors() []Interceptor
- func (c *UserClient) MapCreateBulk(slice any, setFunc func(*UserCreate, int)) *UserCreateBulk
- func (c *UserClient) Query() *UserQuery
- func (c *UserClient) QueryCommentsCreated(u *User) *IssueCommentQuery
- func (c *UserClient) QueryIssuesAssigned(u *User) *IssueQuery
- func (c *UserClient) QueryIssuesClosed(u *User) *IssueQuery
- func (c *UserClient) QueryIssuesCreated(u *User) *IssueQuery
- func (c *UserClient) QueryRepositories(u *User) *RepositoryQuery
- func (c *UserClient) Update() *UserUpdate
- func (c *UserClient) UpdateOne(u *User) *UserUpdateOne
- func (c *UserClient) UpdateOneID(id int64) *UserUpdateOne
- func (c *UserClient) Use(hooks ...Hook)
- type UserCreate
- func (uc *UserCreate) AddCommentsCreated(i ...*IssueComment) *UserCreate
- func (uc *UserCreate) AddCommentsCreatedIDs(ids ...int64) *UserCreate
- func (uc *UserCreate) AddIssuesAssigned(i ...*Issue) *UserCreate
- func (uc *UserCreate) AddIssuesAssignedIDs(ids ...int64) *UserCreate
- func (uc *UserCreate) AddIssuesClosed(i ...*Issue) *UserCreate
- func (uc *UserCreate) AddIssuesClosedIDs(ids ...int64) *UserCreate
- func (uc *UserCreate) AddIssuesCreated(i ...*Issue) *UserCreate
- func (uc *UserCreate) AddIssuesCreatedIDs(ids ...int64) *UserCreate
- func (uc *UserCreate) AddRepositories(r ...*Repository) *UserCreate
- func (uc *UserCreate) AddRepositoryIDs(ids ...int64) *UserCreate
- func (uc *UserCreate) CopyUser(input *User) *UserCreate
- func (uc *UserCreate) Exec(ctx context.Context) error
- func (uc *UserCreate) ExecX(ctx context.Context)
- func (uc *UserCreate) Mutation() *UserMutation
- func (uc *UserCreate) OnConflict(opts ...sql.ConflictOption) *UserUpsertOne
- func (uc *UserCreate) OnConflictColumns(columns ...string) *UserUpsertOne
- func (uc *UserCreate) Save(ctx context.Context) (*User, error)
- func (uc *UserCreate) SaveX(ctx context.Context) *User
- func (uc *UserCreate) SetAvatarURL(s string) *UserCreate
- func (uc *UserCreate) SetBio(s string) *UserCreate
- func (uc *UserCreate) SetBlog(s string) *UserCreate
- func (uc *UserCreate) SetCompany(s string) *UserCreate
- func (uc *UserCreate) SetCreatedAt(t time.Time) *UserCreate
- func (uc *UserCreate) SetEmail(s string) *UserCreate
- func (uc *UserCreate) SetEventsURL(s string) *UserCreate
- func (uc *UserCreate) SetFollowers(i int64) *UserCreate
- func (uc *UserCreate) SetFollowersURL(s string) *UserCreate
- func (uc *UserCreate) SetFollowing(i int64) *UserCreate
- func (uc *UserCreate) SetFollowingURL(s string) *UserCreate
- func (uc *UserCreate) SetGistsURL(s string) *UserCreate
- func (uc *UserCreate) SetGravatarID(s string) *UserCreate
- func (uc *UserCreate) SetHTMLURL(s string) *UserCreate
- func (uc *UserCreate) SetHireable(b bool) *UserCreate
- func (uc *UserCreate) SetID(i int64) *UserCreate
- func (uc *UserCreate) SetLocation(s string) *UserCreate
- func (uc *UserCreate) SetLogin(s string) *UserCreate
- func (uc *UserCreate) SetName(s string) *UserCreate
- func (uc *UserCreate) SetNillableBio(s *string) *UserCreate
- func (uc *UserCreate) SetNillableBlog(s *string) *UserCreate
- func (uc *UserCreate) SetNillableCompany(s *string) *UserCreate
- func (uc *UserCreate) SetNillableEmail(s *string) *UserCreate
- func (uc *UserCreate) SetNillableGravatarID(s *string) *UserCreate
- func (uc *UserCreate) SetNillableHireable(b *bool) *UserCreate
- func (uc *UserCreate) SetNillableLocation(s *string) *UserCreate
- func (uc *UserCreate) SetNillableName(s *string) *UserCreate
- func (uc *UserCreate) SetNodeID(s string) *UserCreate
- func (uc *UserCreate) SetOrganizationsURL(s string) *UserCreate
- func (uc *UserCreate) SetPublicGists(i int64) *UserCreate
- func (uc *UserCreate) SetPublicRepos(i int64) *UserCreate
- func (uc *UserCreate) SetReceivedEventsURL(s string) *UserCreate
- func (uc *UserCreate) SetReposURL(s string) *UserCreate
- func (uc *UserCreate) SetSiteAdmin(b bool) *UserCreate
- func (uc *UserCreate) SetStarredURL(s string) *UserCreate
- func (uc *UserCreate) SetSubscriptionsURL(s string) *UserCreate
- func (uc *UserCreate) SetType(s string) *UserCreate
- func (uc *UserCreate) SetURL(s string) *UserCreate
- func (uc *UserCreate) SetUpdatedAt(t time.Time) *UserCreate
- type UserCreateBulk
- func (ucb *UserCreateBulk) Exec(ctx context.Context) error
- func (ucb *UserCreateBulk) ExecX(ctx context.Context)
- func (ucb *UserCreateBulk) OnConflict(opts ...sql.ConflictOption) *UserUpsertBulk
- func (ucb *UserCreateBulk) OnConflictColumns(columns ...string) *UserUpsertBulk
- func (ucb *UserCreateBulk) Save(ctx context.Context) ([]*User, error)
- func (ucb *UserCreateBulk) SaveX(ctx context.Context) []*User
- type UserDelete
- type UserDeleteOne
- type UserEdges
- func (e UserEdges) CommentsCreatedOrErr() ([]*IssueComment, error)
- func (e UserEdges) IssuesAssignedOrErr() ([]*Issue, error)
- func (e UserEdges) IssuesClosedOrErr() ([]*Issue, error)
- func (e UserEdges) IssuesCreatedOrErr() ([]*Issue, error)
- func (e UserEdges) RepositoriesOrErr() ([]*Repository, error)
- type UserGroupBy
- func (ugb *UserGroupBy) Aggregate(fns ...AggregateFunc) *UserGroupBy
- func (s *UserGroupBy) Bool(ctx context.Context) (_ bool, err error)
- func (s *UserGroupBy) BoolX(ctx context.Context) bool
- func (s *UserGroupBy) Bools(ctx context.Context) ([]bool, error)
- func (s *UserGroupBy) BoolsX(ctx context.Context) []bool
- func (s *UserGroupBy) Float64(ctx context.Context) (_ float64, err error)
- func (s *UserGroupBy) Float64X(ctx context.Context) float64
- func (s *UserGroupBy) Float64s(ctx context.Context) ([]float64, error)
- func (s *UserGroupBy) Float64sX(ctx context.Context) []float64
- func (s *UserGroupBy) Int(ctx context.Context) (_ int, err error)
- func (s *UserGroupBy) IntX(ctx context.Context) int
- func (s *UserGroupBy) Ints(ctx context.Context) ([]int, error)
- func (s *UserGroupBy) IntsX(ctx context.Context) []int
- func (ugb *UserGroupBy) Scan(ctx context.Context, v any) error
- func (s *UserGroupBy) ScanX(ctx context.Context, v any)
- func (s *UserGroupBy) String(ctx context.Context) (_ string, err error)
- func (s *UserGroupBy) StringX(ctx context.Context) string
- func (s *UserGroupBy) Strings(ctx context.Context) ([]string, error)
- func (s *UserGroupBy) StringsX(ctx context.Context) []string
- type UserMutation
- func (m *UserMutation) AddCommentsCreatedIDs(ids ...int64)
- func (m *UserMutation) AddField(name string, value ent.Value) error
- func (m *UserMutation) AddFollowers(i int64)
- func (m *UserMutation) AddFollowing(i int64)
- func (m *UserMutation) AddIssuesAssignedIDs(ids ...int64)
- func (m *UserMutation) AddIssuesClosedIDs(ids ...int64)
- func (m *UserMutation) AddIssuesCreatedIDs(ids ...int64)
- func (m *UserMutation) AddPublicGists(i int64)
- func (m *UserMutation) AddPublicRepos(i int64)
- func (m *UserMutation) AddRepositoryIDs(ids ...int64)
- func (m *UserMutation) AddedEdges() []string
- func (m *UserMutation) AddedField(name string) (ent.Value, bool)
- func (m *UserMutation) AddedFields() []string
- func (m *UserMutation) AddedFollowers() (r int64, exists bool)
- func (m *UserMutation) AddedFollowing() (r int64, exists bool)
- func (m *UserMutation) AddedIDs(name string) []ent.Value
- func (m *UserMutation) AddedPublicGists() (r int64, exists bool)
- func (m *UserMutation) AddedPublicRepos() (r int64, exists bool)
- func (m *UserMutation) AvatarURL() (r string, exists bool)
- func (m *UserMutation) Bio() (r string, exists bool)
- func (m *UserMutation) BioCleared() bool
- func (m *UserMutation) Blog() (r string, exists bool)
- func (m *UserMutation) BlogCleared() bool
- func (m *UserMutation) ClearBio()
- func (m *UserMutation) ClearBlog()
- func (m *UserMutation) ClearCommentsCreated()
- func (m *UserMutation) ClearCompany()
- func (m *UserMutation) ClearEdge(name string) error
- func (m *UserMutation) ClearEmail()
- func (m *UserMutation) ClearField(name string) error
- func (m *UserMutation) ClearGravatarID()
- func (m *UserMutation) ClearHireable()
- func (m *UserMutation) ClearIssuesAssigned()
- func (m *UserMutation) ClearIssuesClosed()
- func (m *UserMutation) ClearIssuesCreated()
- func (m *UserMutation) ClearLocation()
- func (m *UserMutation) ClearName()
- func (m *UserMutation) ClearRepositories()
- func (m *UserMutation) ClearedEdges() []string
- func (m *UserMutation) ClearedFields() []string
- func (m UserMutation) Client() *Client
- func (m *UserMutation) CommentsCreatedCleared() bool
- func (m *UserMutation) CommentsCreatedIDs() (ids []int64)
- func (m *UserMutation) Company() (r string, exists bool)
- func (m *UserMutation) CompanyCleared() bool
- func (m *UserMutation) CreatedAt() (r time.Time, exists bool)
- func (m *UserMutation) EdgeCleared(name string) bool
- func (m *UserMutation) Email() (r string, exists bool)
- func (m *UserMutation) EmailCleared() bool
- func (m *UserMutation) EventsURL() (r string, exists bool)
- func (m *UserMutation) Field(name string) (ent.Value, bool)
- func (m *UserMutation) FieldCleared(name string) bool
- func (m *UserMutation) Fields() []string
- func (m *UserMutation) Followers() (r int64, exists bool)
- func (m *UserMutation) FollowersURL() (r string, exists bool)
- func (m *UserMutation) Following() (r int64, exists bool)
- func (m *UserMutation) FollowingURL() (r string, exists bool)
- func (m *UserMutation) GetType() (r string, exists bool)
- func (m *UserMutation) GistsURL() (r string, exists bool)
- func (m *UserMutation) GravatarID() (r string, exists bool)
- func (m *UserMutation) GravatarIDCleared() bool
- func (m *UserMutation) HTMLURL() (r string, exists bool)
- func (m *UserMutation) Hireable() (r bool, exists bool)
- func (m *UserMutation) HireableCleared() bool
- func (m *UserMutation) ID() (id int64, exists bool)
- func (m *UserMutation) IDs(ctx context.Context) ([]int64, error)
- func (m *UserMutation) IssuesAssignedCleared() bool
- func (m *UserMutation) IssuesAssignedIDs() (ids []int64)
- func (m *UserMutation) IssuesClosedCleared() bool
- func (m *UserMutation) IssuesClosedIDs() (ids []int64)
- func (m *UserMutation) IssuesCreatedCleared() bool
- func (m *UserMutation) IssuesCreatedIDs() (ids []int64)
- func (m *UserMutation) Location() (r string, exists bool)
- func (m *UserMutation) LocationCleared() bool
- func (m *UserMutation) Login() (r string, exists bool)
- func (m *UserMutation) Name() (r string, exists bool)
- func (m *UserMutation) NameCleared() bool
- func (m *UserMutation) NodeID() (r string, exists bool)
- func (m *UserMutation) OldAvatarURL(ctx context.Context) (v string, err error)
- func (m *UserMutation) OldBio(ctx context.Context) (v string, err error)
- func (m *UserMutation) OldBlog(ctx context.Context) (v string, err error)
- func (m *UserMutation) OldCompany(ctx context.Context) (v string, err error)
- func (m *UserMutation) OldCreatedAt(ctx context.Context) (v time.Time, err error)
- func (m *UserMutation) OldEmail(ctx context.Context) (v string, err error)
- func (m *UserMutation) OldEventsURL(ctx context.Context) (v string, err error)
- func (m *UserMutation) OldField(ctx context.Context, name string) (ent.Value, error)
- func (m *UserMutation) OldFollowers(ctx context.Context) (v int64, err error)
- func (m *UserMutation) OldFollowersURL(ctx context.Context) (v string, err error)
- func (m *UserMutation) OldFollowing(ctx context.Context) (v int64, err error)
- func (m *UserMutation) OldFollowingURL(ctx context.Context) (v string, err error)
- func (m *UserMutation) OldGistsURL(ctx context.Context) (v string, err error)
- func (m *UserMutation) OldGravatarID(ctx context.Context) (v string, err error)
- func (m *UserMutation) OldHTMLURL(ctx context.Context) (v string, err error)
- func (m *UserMutation) OldHireable(ctx context.Context) (v bool, err error)
- func (m *UserMutation) OldLocation(ctx context.Context) (v string, err error)
- func (m *UserMutation) OldLogin(ctx context.Context) (v string, err error)
- func (m *UserMutation) OldName(ctx context.Context) (v string, err error)
- func (m *UserMutation) OldNodeID(ctx context.Context) (v string, err error)
- func (m *UserMutation) OldOrganizationsURL(ctx context.Context) (v string, err error)
- func (m *UserMutation) OldPublicGists(ctx context.Context) (v int64, err error)
- func (m *UserMutation) OldPublicRepos(ctx context.Context) (v int64, err error)
- func (m *UserMutation) OldReceivedEventsURL(ctx context.Context) (v string, err error)
- func (m *UserMutation) OldReposURL(ctx context.Context) (v string, err error)
- func (m *UserMutation) OldSiteAdmin(ctx context.Context) (v bool, err error)
- func (m *UserMutation) OldStarredURL(ctx context.Context) (v string, err error)
- func (m *UserMutation) OldSubscriptionsURL(ctx context.Context) (v string, err error)
- func (m *UserMutation) OldType(ctx context.Context) (v string, err error)
- func (m *UserMutation) OldURL(ctx context.Context) (v string, err error)
- func (m *UserMutation) OldUpdatedAt(ctx context.Context) (v time.Time, err error)
- func (m *UserMutation) Op() Op
- func (m *UserMutation) OrganizationsURL() (r string, exists bool)
- func (m *UserMutation) PublicGists() (r int64, exists bool)
- func (m *UserMutation) PublicRepos() (r int64, exists bool)
- func (m *UserMutation) ReceivedEventsURL() (r string, exists bool)
- func (m *UserMutation) RemoveCommentsCreatedIDs(ids ...int64)
- func (m *UserMutation) RemoveIssuesAssignedIDs(ids ...int64)
- func (m *UserMutation) RemoveIssuesClosedIDs(ids ...int64)
- func (m *UserMutation) RemoveIssuesCreatedIDs(ids ...int64)
- func (m *UserMutation) RemoveRepositoryIDs(ids ...int64)
- func (m *UserMutation) RemovedCommentsCreatedIDs() (ids []int64)
- func (m *UserMutation) RemovedEdges() []string
- func (m *UserMutation) RemovedIDs(name string) []ent.Value
- func (m *UserMutation) RemovedIssuesAssignedIDs() (ids []int64)
- func (m *UserMutation) RemovedIssuesClosedIDs() (ids []int64)
- func (m *UserMutation) RemovedIssuesCreatedIDs() (ids []int64)
- func (m *UserMutation) RemovedRepositoriesIDs() (ids []int64)
- func (m *UserMutation) ReposURL() (r string, exists bool)
- func (m *UserMutation) RepositoriesCleared() bool
- func (m *UserMutation) RepositoriesIDs() (ids []int64)
- func (m *UserMutation) ResetAvatarURL()
- func (m *UserMutation) ResetBio()
- func (m *UserMutation) ResetBlog()
- func (m *UserMutation) ResetCommentsCreated()
- func (m *UserMutation) ResetCompany()
- func (m *UserMutation) ResetCreatedAt()
- func (m *UserMutation) ResetEdge(name string) error
- func (m *UserMutation) ResetEmail()
- func (m *UserMutation) ResetEventsURL()
- func (m *UserMutation) ResetField(name string) error
- func (m *UserMutation) ResetFollowers()
- func (m *UserMutation) ResetFollowersURL()
- func (m *UserMutation) ResetFollowing()
- func (m *UserMutation) ResetFollowingURL()
- func (m *UserMutation) ResetGistsURL()
- func (m *UserMutation) ResetGravatarID()
- func (m *UserMutation) ResetHTMLURL()
- func (m *UserMutation) ResetHireable()
- func (m *UserMutation) ResetIssuesAssigned()
- func (m *UserMutation) ResetIssuesClosed()
- func (m *UserMutation) ResetIssuesCreated()
- func (m *UserMutation) ResetLocation()
- func (m *UserMutation) ResetLogin()
- func (m *UserMutation) ResetName()
- func (m *UserMutation) ResetNodeID()
- func (m *UserMutation) ResetOrganizationsURL()
- func (m *UserMutation) ResetPublicGists()
- func (m *UserMutation) ResetPublicRepos()
- func (m *UserMutation) ResetReceivedEventsURL()
- func (m *UserMutation) ResetReposURL()
- func (m *UserMutation) ResetRepositories()
- func (m *UserMutation) ResetSiteAdmin()
- func (m *UserMutation) ResetStarredURL()
- func (m *UserMutation) ResetSubscriptionsURL()
- func (m *UserMutation) ResetType()
- func (m *UserMutation) ResetURL()
- func (m *UserMutation) ResetUpdatedAt()
- func (m *UserMutation) SetAvatarURL(s string)
- func (m *UserMutation) SetBio(s string)
- func (m *UserMutation) SetBlog(s string)
- func (m *UserMutation) SetCompany(s string)
- func (m *UserMutation) SetCreatedAt(t time.Time)
- func (m *UserMutation) SetEmail(s string)
- func (m *UserMutation) SetEventsURL(s string)
- func (m *UserMutation) SetField(name string, value ent.Value) error
- func (m *UserMutation) SetFollowers(i int64)
- func (m *UserMutation) SetFollowersURL(s string)
- func (m *UserMutation) SetFollowing(i int64)
- func (m *UserMutation) SetFollowingURL(s string)
- func (m *UserMutation) SetGistsURL(s string)
- func (m *UserMutation) SetGravatarID(s string)
- func (m *UserMutation) SetHTMLURL(s string)
- func (m *UserMutation) SetHireable(b bool)
- func (m *UserMutation) SetID(id int64)
- func (m *UserMutation) SetLocation(s string)
- func (m *UserMutation) SetLogin(s string)
- func (m *UserMutation) SetName(s string)
- func (m *UserMutation) SetNodeID(s string)
- func (m *UserMutation) SetOp(op Op)
- func (m *UserMutation) SetOrganizationsURL(s string)
- func (m *UserMutation) SetPublicGists(i int64)
- func (m *UserMutation) SetPublicRepos(i int64)
- func (m *UserMutation) SetReceivedEventsURL(s string)
- func (m *UserMutation) SetReposURL(s string)
- func (m *UserMutation) SetSiteAdmin(b bool)
- func (m *UserMutation) SetStarredURL(s string)
- func (m *UserMutation) SetSubscriptionsURL(s string)
- func (m *UserMutation) SetType(s string)
- func (m *UserMutation) SetURL(s string)
- func (m *UserMutation) SetUpdatedAt(t time.Time)
- func (m *UserMutation) SiteAdmin() (r bool, exists bool)
- func (m *UserMutation) StarredURL() (r string, exists bool)
- func (m *UserMutation) SubscriptionsURL() (r string, exists bool)
- func (m UserMutation) Tx() (*Tx, error)
- func (m *UserMutation) Type() string
- func (m *UserMutation) URL() (r string, exists bool)
- func (m *UserMutation) UpdatedAt() (r time.Time, exists bool)
- func (m *UserMutation) Where(ps ...predicate.User)
- func (m *UserMutation) WhereP(ps ...func(*sql.Selector))
- type UserQuery
- func (uq *UserQuery) Aggregate(fns ...AggregateFunc) *UserSelect
- func (uq *UserQuery) All(ctx context.Context) ([]*User, error)
- func (uq *UserQuery) AllX(ctx context.Context) []*User
- func (uq *UserQuery) Clone() *UserQuery
- func (uq *UserQuery) Count(ctx context.Context) (int, error)
- func (uq *UserQuery) CountX(ctx context.Context) int
- func (uq *UserQuery) Exist(ctx context.Context) (bool, error)
- func (uq *UserQuery) ExistX(ctx context.Context) bool
- func (uq *UserQuery) First(ctx context.Context) (*User, error)
- func (uq *UserQuery) FirstID(ctx context.Context) (id int64, err error)
- func (uq *UserQuery) FirstIDX(ctx context.Context) int64
- func (uq *UserQuery) FirstX(ctx context.Context) *User
- func (uq *UserQuery) GroupBy(field string, fields ...string) *UserGroupBy
- func (uq *UserQuery) IDs(ctx context.Context) (ids []int64, err error)
- func (uq *UserQuery) IDsX(ctx context.Context) []int64
- func (uq *UserQuery) Limit(limit int) *UserQuery
- func (uq *UserQuery) Offset(offset int) *UserQuery
- func (uq *UserQuery) Only(ctx context.Context) (*User, error)
- func (uq *UserQuery) OnlyID(ctx context.Context) (id int64, err error)
- func (uq *UserQuery) OnlyIDX(ctx context.Context) int64
- func (uq *UserQuery) OnlyX(ctx context.Context) *User
- func (uq *UserQuery) Order(o ...user.OrderOption) *UserQuery
- func (uq *UserQuery) QueryCommentsCreated() *IssueCommentQuery
- func (uq *UserQuery) QueryIssuesAssigned() *IssueQuery
- func (uq *UserQuery) QueryIssuesClosed() *IssueQuery
- func (uq *UserQuery) QueryIssuesCreated() *IssueQuery
- func (uq *UserQuery) QueryRepositories() *RepositoryQuery
- func (uq *UserQuery) Select(fields ...string) *UserSelect
- func (uq *UserQuery) Unique(unique bool) *UserQuery
- func (uq *UserQuery) Where(ps ...predicate.User) *UserQuery
- func (uq *UserQuery) WithCommentsCreated(opts ...func(*IssueCommentQuery)) *UserQuery
- func (uq *UserQuery) WithIssuesAssigned(opts ...func(*IssueQuery)) *UserQuery
- func (uq *UserQuery) WithIssuesClosed(opts ...func(*IssueQuery)) *UserQuery
- func (uq *UserQuery) WithIssuesCreated(opts ...func(*IssueQuery)) *UserQuery
- func (uq *UserQuery) WithRepositories(opts ...func(*RepositoryQuery)) *UserQuery
- type UserSelect
- func (us *UserSelect) Aggregate(fns ...AggregateFunc) *UserSelect
- func (s *UserSelect) Bool(ctx context.Context) (_ bool, err error)
- func (s *UserSelect) BoolX(ctx context.Context) bool
- func (s *UserSelect) Bools(ctx context.Context) ([]bool, error)
- func (s *UserSelect) BoolsX(ctx context.Context) []bool
- func (s *UserSelect) Float64(ctx context.Context) (_ float64, err error)
- func (s *UserSelect) Float64X(ctx context.Context) float64
- func (s *UserSelect) Float64s(ctx context.Context) ([]float64, error)
- func (s *UserSelect) Float64sX(ctx context.Context) []float64
- func (s *UserSelect) Int(ctx context.Context) (_ int, err error)
- func (s *UserSelect) IntX(ctx context.Context) int
- func (s *UserSelect) Ints(ctx context.Context) ([]int, error)
- func (s *UserSelect) IntsX(ctx context.Context) []int
- func (us *UserSelect) Scan(ctx context.Context, v any) error
- func (s *UserSelect) ScanX(ctx context.Context, v any)
- func (s *UserSelect) String(ctx context.Context) (_ string, err error)
- func (s *UserSelect) StringX(ctx context.Context) string
- func (s *UserSelect) Strings(ctx context.Context) ([]string, error)
- func (s *UserSelect) StringsX(ctx context.Context) []string
- type UserUpdate
- func (uu *UserUpdate) AddCommentsCreated(i ...*IssueComment) *UserUpdate
- func (uu *UserUpdate) AddCommentsCreatedIDs(ids ...int64) *UserUpdate
- func (uu *UserUpdate) AddFollowers(i int64) *UserUpdate
- func (uu *UserUpdate) AddFollowing(i int64) *UserUpdate
- func (uu *UserUpdate) AddIssuesAssigned(i ...*Issue) *UserUpdate
- func (uu *UserUpdate) AddIssuesAssignedIDs(ids ...int64) *UserUpdate
- func (uu *UserUpdate) AddIssuesClosed(i ...*Issue) *UserUpdate
- func (uu *UserUpdate) AddIssuesClosedIDs(ids ...int64) *UserUpdate
- func (uu *UserUpdate) AddIssuesCreated(i ...*Issue) *UserUpdate
- func (uu *UserUpdate) AddIssuesCreatedIDs(ids ...int64) *UserUpdate
- func (uu *UserUpdate) AddPublicGists(i int64) *UserUpdate
- func (uu *UserUpdate) AddPublicRepos(i int64) *UserUpdate
- func (uu *UserUpdate) AddRepositories(r ...*Repository) *UserUpdate
- func (uu *UserUpdate) AddRepositoryIDs(ids ...int64) *UserUpdate
- func (uu *UserUpdate) ClearBio() *UserUpdate
- func (uu *UserUpdate) ClearBlog() *UserUpdate
- func (uu *UserUpdate) ClearCommentsCreated() *UserUpdate
- func (uu *UserUpdate) ClearCompany() *UserUpdate
- func (uu *UserUpdate) ClearEmail() *UserUpdate
- func (uu *UserUpdate) ClearGravatarID() *UserUpdate
- func (uu *UserUpdate) ClearHireable() *UserUpdate
- func (uu *UserUpdate) ClearIssuesAssigned() *UserUpdate
- func (uu *UserUpdate) ClearIssuesClosed() *UserUpdate
- func (uu *UserUpdate) ClearIssuesCreated() *UserUpdate
- func (uu *UserUpdate) ClearLocation() *UserUpdate
- func (uu *UserUpdate) ClearName() *UserUpdate
- func (uu *UserUpdate) ClearRepositories() *UserUpdate
- func (uu *UserUpdate) Exec(ctx context.Context) error
- func (uu *UserUpdate) ExecX(ctx context.Context)
- func (uu *UserUpdate) Mutation() *UserMutation
- func (uu *UserUpdate) RemoveCommentsCreated(i ...*IssueComment) *UserUpdate
- func (uu *UserUpdate) RemoveCommentsCreatedIDs(ids ...int64) *UserUpdate
- func (uu *UserUpdate) RemoveIssuesAssigned(i ...*Issue) *UserUpdate
- func (uu *UserUpdate) RemoveIssuesAssignedIDs(ids ...int64) *UserUpdate
- func (uu *UserUpdate) RemoveIssuesClosed(i ...*Issue) *UserUpdate
- func (uu *UserUpdate) RemoveIssuesClosedIDs(ids ...int64) *UserUpdate
- func (uu *UserUpdate) RemoveIssuesCreated(i ...*Issue) *UserUpdate
- func (uu *UserUpdate) RemoveIssuesCreatedIDs(ids ...int64) *UserUpdate
- func (uu *UserUpdate) RemoveRepositories(r ...*Repository) *UserUpdate
- func (uu *UserUpdate) RemoveRepositoryIDs(ids ...int64) *UserUpdate
- func (uu *UserUpdate) Save(ctx context.Context) (int, error)
- func (uu *UserUpdate) SaveX(ctx context.Context) int
- func (uu *UserUpdate) SetAvatarURL(s string) *UserUpdate
- func (uu *UserUpdate) SetBio(s string) *UserUpdate
- func (uu *UserUpdate) SetBlog(s string) *UserUpdate
- func (uu *UserUpdate) SetCompany(s string) *UserUpdate
- func (uu *UserUpdate) SetCreatedAt(t time.Time) *UserUpdate
- func (uu *UserUpdate) SetEmail(s string) *UserUpdate
- func (uu *UserUpdate) SetEventsURL(s string) *UserUpdate
- func (uu *UserUpdate) SetFollowers(i int64) *UserUpdate
- func (uu *UserUpdate) SetFollowersURL(s string) *UserUpdate
- func (uu *UserUpdate) SetFollowing(i int64) *UserUpdate
- func (uu *UserUpdate) SetFollowingURL(s string) *UserUpdate
- func (uu *UserUpdate) SetGistsURL(s string) *UserUpdate
- func (uu *UserUpdate) SetGravatarID(s string) *UserUpdate
- func (uu *UserUpdate) SetHTMLURL(s string) *UserUpdate
- func (uu *UserUpdate) SetHireable(b bool) *UserUpdate
- func (uu *UserUpdate) SetLocation(s string) *UserUpdate
- func (uu *UserUpdate) SetLogin(s string) *UserUpdate
- func (uu *UserUpdate) SetName(s string) *UserUpdate
- func (uu *UserUpdate) SetNillableAvatarURL(s *string) *UserUpdate
- func (uu *UserUpdate) SetNillableBio(s *string) *UserUpdate
- func (uu *UserUpdate) SetNillableBlog(s *string) *UserUpdate
- func (uu *UserUpdate) SetNillableCompany(s *string) *UserUpdate
- func (uu *UserUpdate) SetNillableCreatedAt(t *time.Time) *UserUpdate
- func (uu *UserUpdate) SetNillableEmail(s *string) *UserUpdate
- func (uu *UserUpdate) SetNillableEventsURL(s *string) *UserUpdate
- func (uu *UserUpdate) SetNillableFollowers(i *int64) *UserUpdate
- func (uu *UserUpdate) SetNillableFollowersURL(s *string) *UserUpdate
- func (uu *UserUpdate) SetNillableFollowing(i *int64) *UserUpdate
- func (uu *UserUpdate) SetNillableFollowingURL(s *string) *UserUpdate
- func (uu *UserUpdate) SetNillableGistsURL(s *string) *UserUpdate
- func (uu *UserUpdate) SetNillableGravatarID(s *string) *UserUpdate
- func (uu *UserUpdate) SetNillableHTMLURL(s *string) *UserUpdate
- func (uu *UserUpdate) SetNillableHireable(b *bool) *UserUpdate
- func (uu *UserUpdate) SetNillableLocation(s *string) *UserUpdate
- func (uu *UserUpdate) SetNillableLogin(s *string) *UserUpdate
- func (uu *UserUpdate) SetNillableName(s *string) *UserUpdate
- func (uu *UserUpdate) SetNillableNodeID(s *string) *UserUpdate
- func (uu *UserUpdate) SetNillableOrganizationsURL(s *string) *UserUpdate
- func (uu *UserUpdate) SetNillablePublicGists(i *int64) *UserUpdate
- func (uu *UserUpdate) SetNillablePublicRepos(i *int64) *UserUpdate
- func (uu *UserUpdate) SetNillableReceivedEventsURL(s *string) *UserUpdate
- func (uu *UserUpdate) SetNillableReposURL(s *string) *UserUpdate
- func (uu *UserUpdate) SetNillableSiteAdmin(b *bool) *UserUpdate
- func (uu *UserUpdate) SetNillableStarredURL(s *string) *UserUpdate
- func (uu *UserUpdate) SetNillableSubscriptionsURL(s *string) *UserUpdate
- func (uu *UserUpdate) SetNillableType(s *string) *UserUpdate
- func (uu *UserUpdate) SetNillableURL(s *string) *UserUpdate
- func (uu *UserUpdate) SetNillableUpdatedAt(t *time.Time) *UserUpdate
- func (uu *UserUpdate) SetNodeID(s string) *UserUpdate
- func (uu *UserUpdate) SetOrganizationsURL(s string) *UserUpdate
- func (uu *UserUpdate) SetPublicGists(i int64) *UserUpdate
- func (uu *UserUpdate) SetPublicRepos(i int64) *UserUpdate
- func (uu *UserUpdate) SetReceivedEventsURL(s string) *UserUpdate
- func (uu *UserUpdate) SetReposURL(s string) *UserUpdate
- func (uu *UserUpdate) SetSiteAdmin(b bool) *UserUpdate
- func (uu *UserUpdate) SetStarredURL(s string) *UserUpdate
- func (uu *UserUpdate) SetSubscriptionsURL(s string) *UserUpdate
- func (uu *UserUpdate) SetType(s string) *UserUpdate
- func (uu *UserUpdate) SetURL(s string) *UserUpdate
- func (uu *UserUpdate) SetUpdatedAt(t time.Time) *UserUpdate
- func (uu *UserUpdate) Where(ps ...predicate.User) *UserUpdate
- type UserUpdateOne
- func (uuo *UserUpdateOne) AddCommentsCreated(i ...*IssueComment) *UserUpdateOne
- func (uuo *UserUpdateOne) AddCommentsCreatedIDs(ids ...int64) *UserUpdateOne
- func (uuo *UserUpdateOne) AddFollowers(i int64) *UserUpdateOne
- func (uuo *UserUpdateOne) AddFollowing(i int64) *UserUpdateOne
- func (uuo *UserUpdateOne) AddIssuesAssigned(i ...*Issue) *UserUpdateOne
- func (uuo *UserUpdateOne) AddIssuesAssignedIDs(ids ...int64) *UserUpdateOne
- func (uuo *UserUpdateOne) AddIssuesClosed(i ...*Issue) *UserUpdateOne
- func (uuo *UserUpdateOne) AddIssuesClosedIDs(ids ...int64) *UserUpdateOne
- func (uuo *UserUpdateOne) AddIssuesCreated(i ...*Issue) *UserUpdateOne
- func (uuo *UserUpdateOne) AddIssuesCreatedIDs(ids ...int64) *UserUpdateOne
- func (uuo *UserUpdateOne) AddPublicGists(i int64) *UserUpdateOne
- func (uuo *UserUpdateOne) AddPublicRepos(i int64) *UserUpdateOne
- func (uuo *UserUpdateOne) AddRepositories(r ...*Repository) *UserUpdateOne
- func (uuo *UserUpdateOne) AddRepositoryIDs(ids ...int64) *UserUpdateOne
- func (uuo *UserUpdateOne) ClearBio() *UserUpdateOne
- func (uuo *UserUpdateOne) ClearBlog() *UserUpdateOne
- func (uuo *UserUpdateOne) ClearCommentsCreated() *UserUpdateOne
- func (uuo *UserUpdateOne) ClearCompany() *UserUpdateOne
- func (uuo *UserUpdateOne) ClearEmail() *UserUpdateOne
- func (uuo *UserUpdateOne) ClearGravatarID() *UserUpdateOne
- func (uuo *UserUpdateOne) ClearHireable() *UserUpdateOne
- func (uuo *UserUpdateOne) ClearIssuesAssigned() *UserUpdateOne
- func (uuo *UserUpdateOne) ClearIssuesClosed() *UserUpdateOne
- func (uuo *UserUpdateOne) ClearIssuesCreated() *UserUpdateOne
- func (uuo *UserUpdateOne) ClearLocation() *UserUpdateOne
- func (uuo *UserUpdateOne) ClearName() *UserUpdateOne
- func (uuo *UserUpdateOne) ClearRepositories() *UserUpdateOne
- func (uuo *UserUpdateOne) CopyUser(input *User) *UserUpdateOne
- func (uuo *UserUpdateOne) Exec(ctx context.Context) error
- func (uuo *UserUpdateOne) ExecX(ctx context.Context)
- func (uuo *UserUpdateOne) Mutation() *UserMutation
- func (uuo *UserUpdateOne) RemoveCommentsCreated(i ...*IssueComment) *UserUpdateOne
- func (uuo *UserUpdateOne) RemoveCommentsCreatedIDs(ids ...int64) *UserUpdateOne
- func (uuo *UserUpdateOne) RemoveIssuesAssigned(i ...*Issue) *UserUpdateOne
- func (uuo *UserUpdateOne) RemoveIssuesAssignedIDs(ids ...int64) *UserUpdateOne
- func (uuo *UserUpdateOne) RemoveIssuesClosed(i ...*Issue) *UserUpdateOne
- func (uuo *UserUpdateOne) RemoveIssuesClosedIDs(ids ...int64) *UserUpdateOne
- func (uuo *UserUpdateOne) RemoveIssuesCreated(i ...*Issue) *UserUpdateOne
- func (uuo *UserUpdateOne) RemoveIssuesCreatedIDs(ids ...int64) *UserUpdateOne
- func (uuo *UserUpdateOne) RemoveRepositories(r ...*Repository) *UserUpdateOne
- func (uuo *UserUpdateOne) RemoveRepositoryIDs(ids ...int64) *UserUpdateOne
- func (uuo *UserUpdateOne) Save(ctx context.Context) (*User, error)
- func (uuo *UserUpdateOne) SaveX(ctx context.Context) *User
- func (uuo *UserUpdateOne) Select(field string, fields ...string) *UserUpdateOne
- func (uuo *UserUpdateOne) SetAvatarURL(s string) *UserUpdateOne
- func (uuo *UserUpdateOne) SetBio(s string) *UserUpdateOne
- func (uuo *UserUpdateOne) SetBlog(s string) *UserUpdateOne
- func (uuo *UserUpdateOne) SetCompany(s string) *UserUpdateOne
- func (uuo *UserUpdateOne) SetCreatedAt(t time.Time) *UserUpdateOne
- func (uuo *UserUpdateOne) SetEmail(s string) *UserUpdateOne
- func (uuo *UserUpdateOne) SetEventsURL(s string) *UserUpdateOne
- func (uuo *UserUpdateOne) SetFollowers(i int64) *UserUpdateOne
- func (uuo *UserUpdateOne) SetFollowersURL(s string) *UserUpdateOne
- func (uuo *UserUpdateOne) SetFollowing(i int64) *UserUpdateOne
- func (uuo *UserUpdateOne) SetFollowingURL(s string) *UserUpdateOne
- func (uuo *UserUpdateOne) SetGistsURL(s string) *UserUpdateOne
- func (uuo *UserUpdateOne) SetGravatarID(s string) *UserUpdateOne
- func (uuo *UserUpdateOne) SetHTMLURL(s string) *UserUpdateOne
- func (uuo *UserUpdateOne) SetHireable(b bool) *UserUpdateOne
- func (uuo *UserUpdateOne) SetLocation(s string) *UserUpdateOne
- func (uuo *UserUpdateOne) SetLogin(s string) *UserUpdateOne
- func (uuo *UserUpdateOne) SetName(s string) *UserUpdateOne
- func (uuo *UserUpdateOne) SetNillableAvatarURL(s *string) *UserUpdateOne
- func (uuo *UserUpdateOne) SetNillableBio(s *string) *UserUpdateOne
- func (uuo *UserUpdateOne) SetNillableBlog(s *string) *UserUpdateOne
- func (uuo *UserUpdateOne) SetNillableCompany(s *string) *UserUpdateOne
- func (uuo *UserUpdateOne) SetNillableCreatedAt(t *time.Time) *UserUpdateOne
- func (uuo *UserUpdateOne) SetNillableEmail(s *string) *UserUpdateOne
- func (uuo *UserUpdateOne) SetNillableEventsURL(s *string) *UserUpdateOne
- func (uuo *UserUpdateOne) SetNillableFollowers(i *int64) *UserUpdateOne
- func (uuo *UserUpdateOne) SetNillableFollowersURL(s *string) *UserUpdateOne
- func (uuo *UserUpdateOne) SetNillableFollowing(i *int64) *UserUpdateOne
- func (uuo *UserUpdateOne) SetNillableFollowingURL(s *string) *UserUpdateOne
- func (uuo *UserUpdateOne) SetNillableGistsURL(s *string) *UserUpdateOne
- func (uuo *UserUpdateOne) SetNillableGravatarID(s *string) *UserUpdateOne
- func (uuo *UserUpdateOne) SetNillableHTMLURL(s *string) *UserUpdateOne
- func (uuo *UserUpdateOne) SetNillableHireable(b *bool) *UserUpdateOne
- func (uuo *UserUpdateOne) SetNillableLocation(s *string) *UserUpdateOne
- func (uuo *UserUpdateOne) SetNillableLogin(s *string) *UserUpdateOne
- func (uuo *UserUpdateOne) SetNillableName(s *string) *UserUpdateOne
- func (uuo *UserUpdateOne) SetNillableNodeID(s *string) *UserUpdateOne
- func (uuo *UserUpdateOne) SetNillableOrganizationsURL(s *string) *UserUpdateOne
- func (uuo *UserUpdateOne) SetNillablePublicGists(i *int64) *UserUpdateOne
- func (uuo *UserUpdateOne) SetNillablePublicRepos(i *int64) *UserUpdateOne
- func (uuo *UserUpdateOne) SetNillableReceivedEventsURL(s *string) *UserUpdateOne
- func (uuo *UserUpdateOne) SetNillableReposURL(s *string) *UserUpdateOne
- func (uuo *UserUpdateOne) SetNillableSiteAdmin(b *bool) *UserUpdateOne
- func (uuo *UserUpdateOne) SetNillableStarredURL(s *string) *UserUpdateOne
- func (uuo *UserUpdateOne) SetNillableSubscriptionsURL(s *string) *UserUpdateOne
- func (uuo *UserUpdateOne) SetNillableType(s *string) *UserUpdateOne
- func (uuo *UserUpdateOne) SetNillableURL(s *string) *UserUpdateOne
- func (uuo *UserUpdateOne) SetNillableUpdatedAt(t *time.Time) *UserUpdateOne
- func (uuo *UserUpdateOne) SetNodeID(s string) *UserUpdateOne
- func (uuo *UserUpdateOne) SetOrganizationsURL(s string) *UserUpdateOne
- func (uuo *UserUpdateOne) SetPublicGists(i int64) *UserUpdateOne
- func (uuo *UserUpdateOne) SetPublicRepos(i int64) *UserUpdateOne
- func (uuo *UserUpdateOne) SetReceivedEventsURL(s string) *UserUpdateOne
- func (uuo *UserUpdateOne) SetReposURL(s string) *UserUpdateOne
- func (uuo *UserUpdateOne) SetSiteAdmin(b bool) *UserUpdateOne
- func (uuo *UserUpdateOne) SetStarredURL(s string) *UserUpdateOne
- func (uuo *UserUpdateOne) SetSubscriptionsURL(s string) *UserUpdateOne
- func (uuo *UserUpdateOne) SetType(s string) *UserUpdateOne
- func (uuo *UserUpdateOne) SetURL(s string) *UserUpdateOne
- func (uuo *UserUpdateOne) SetUpdatedAt(t time.Time) *UserUpdateOne
- func (uuo *UserUpdateOne) Where(ps ...predicate.User) *UserUpdateOne
- type UserUpsert
- func (u *UserUpsert) AddFollowers(v int64) *UserUpsert
- func (u *UserUpsert) AddFollowing(v int64) *UserUpsert
- func (u *UserUpsert) AddPublicGists(v int64) *UserUpsert
- func (u *UserUpsert) AddPublicRepos(v int64) *UserUpsert
- func (u *UserUpsert) ClearBio() *UserUpsert
- func (u *UserUpsert) ClearBlog() *UserUpsert
- func (u *UserUpsert) ClearCompany() *UserUpsert
- func (u *UserUpsert) ClearEmail() *UserUpsert
- func (u *UserUpsert) ClearGravatarID() *UserUpsert
- func (u *UserUpsert) ClearHireable() *UserUpsert
- func (u *UserUpsert) ClearLocation() *UserUpsert
- func (u *UserUpsert) ClearName() *UserUpsert
- func (u *UserUpsert) SetAvatarURL(v string) *UserUpsert
- func (u *UserUpsert) SetBio(v string) *UserUpsert
- func (u *UserUpsert) SetBlog(v string) *UserUpsert
- func (u *UserUpsert) SetCompany(v string) *UserUpsert
- func (u *UserUpsert) SetCreatedAt(v time.Time) *UserUpsert
- func (u *UserUpsert) SetEmail(v string) *UserUpsert
- func (u *UserUpsert) SetEventsURL(v string) *UserUpsert
- func (u *UserUpsert) SetFollowers(v int64) *UserUpsert
- func (u *UserUpsert) SetFollowersURL(v string) *UserUpsert
- func (u *UserUpsert) SetFollowing(v int64) *UserUpsert
- func (u *UserUpsert) SetFollowingURL(v string) *UserUpsert
- func (u *UserUpsert) SetGistsURL(v string) *UserUpsert
- func (u *UserUpsert) SetGravatarID(v string) *UserUpsert
- func (u *UserUpsert) SetHTMLURL(v string) *UserUpsert
- func (u *UserUpsert) SetHireable(v bool) *UserUpsert
- func (u *UserUpsert) SetLocation(v string) *UserUpsert
- func (u *UserUpsert) SetLogin(v string) *UserUpsert
- func (u *UserUpsert) SetName(v string) *UserUpsert
- func (u *UserUpsert) SetNodeID(v string) *UserUpsert
- func (u *UserUpsert) SetOrganizationsURL(v string) *UserUpsert
- func (u *UserUpsert) SetPublicGists(v int64) *UserUpsert
- func (u *UserUpsert) SetPublicRepos(v int64) *UserUpsert
- func (u *UserUpsert) SetReceivedEventsURL(v string) *UserUpsert
- func (u *UserUpsert) SetReposURL(v string) *UserUpsert
- func (u *UserUpsert) SetSiteAdmin(v bool) *UserUpsert
- func (u *UserUpsert) SetStarredURL(v string) *UserUpsert
- func (u *UserUpsert) SetSubscriptionsURL(v string) *UserUpsert
- func (u *UserUpsert) SetType(v string) *UserUpsert
- func (u *UserUpsert) SetURL(v string) *UserUpsert
- func (u *UserUpsert) SetUpdatedAt(v time.Time) *UserUpsert
- func (u *UserUpsert) UpdateAvatarURL() *UserUpsert
- func (u *UserUpsert) UpdateBio() *UserUpsert
- func (u *UserUpsert) UpdateBlog() *UserUpsert
- func (u *UserUpsert) UpdateCompany() *UserUpsert
- func (u *UserUpsert) UpdateCreatedAt() *UserUpsert
- func (u *UserUpsert) UpdateEmail() *UserUpsert
- func (u *UserUpsert) UpdateEventsURL() *UserUpsert
- func (u *UserUpsert) UpdateFollowers() *UserUpsert
- func (u *UserUpsert) UpdateFollowersURL() *UserUpsert
- func (u *UserUpsert) UpdateFollowing() *UserUpsert
- func (u *UserUpsert) UpdateFollowingURL() *UserUpsert
- func (u *UserUpsert) UpdateGistsURL() *UserUpsert
- func (u *UserUpsert) UpdateGravatarID() *UserUpsert
- func (u *UserUpsert) UpdateHTMLURL() *UserUpsert
- func (u *UserUpsert) UpdateHireable() *UserUpsert
- func (u *UserUpsert) UpdateLocation() *UserUpsert
- func (u *UserUpsert) UpdateLogin() *UserUpsert
- func (u *UserUpsert) UpdateName() *UserUpsert
- func (u *UserUpsert) UpdateNodeID() *UserUpsert
- func (u *UserUpsert) UpdateOrganizationsURL() *UserUpsert
- func (u *UserUpsert) UpdatePublicGists() *UserUpsert
- func (u *UserUpsert) UpdatePublicRepos() *UserUpsert
- func (u *UserUpsert) UpdateReceivedEventsURL() *UserUpsert
- func (u *UserUpsert) UpdateReposURL() *UserUpsert
- func (u *UserUpsert) UpdateSiteAdmin() *UserUpsert
- func (u *UserUpsert) UpdateStarredURL() *UserUpsert
- func (u *UserUpsert) UpdateSubscriptionsURL() *UserUpsert
- func (u *UserUpsert) UpdateType() *UserUpsert
- func (u *UserUpsert) UpdateURL() *UserUpsert
- func (u *UserUpsert) UpdateUpdatedAt() *UserUpsert
- type UserUpsertBulk
- func (u *UserUpsertBulk) AddFollowers(v int64) *UserUpsertBulk
- func (u *UserUpsertBulk) AddFollowing(v int64) *UserUpsertBulk
- func (u *UserUpsertBulk) AddPublicGists(v int64) *UserUpsertBulk
- func (u *UserUpsertBulk) AddPublicRepos(v int64) *UserUpsertBulk
- func (u *UserUpsertBulk) ClearBio() *UserUpsertBulk
- func (u *UserUpsertBulk) ClearBlog() *UserUpsertBulk
- func (u *UserUpsertBulk) ClearCompany() *UserUpsertBulk
- func (u *UserUpsertBulk) ClearEmail() *UserUpsertBulk
- func (u *UserUpsertBulk) ClearGravatarID() *UserUpsertBulk
- func (u *UserUpsertBulk) ClearHireable() *UserUpsertBulk
- func (u *UserUpsertBulk) ClearLocation() *UserUpsertBulk
- func (u *UserUpsertBulk) ClearName() *UserUpsertBulk
- func (u *UserUpsertBulk) DoNothing() *UserUpsertBulk
- func (u *UserUpsertBulk) Exec(ctx context.Context) error
- func (u *UserUpsertBulk) ExecX(ctx context.Context)
- func (u *UserUpsertBulk) Ignore() *UserUpsertBulk
- func (u *UserUpsertBulk) SetAvatarURL(v string) *UserUpsertBulk
- func (u *UserUpsertBulk) SetBio(v string) *UserUpsertBulk
- func (u *UserUpsertBulk) SetBlog(v string) *UserUpsertBulk
- func (u *UserUpsertBulk) SetCompany(v string) *UserUpsertBulk
- func (u *UserUpsertBulk) SetCreatedAt(v time.Time) *UserUpsertBulk
- func (u *UserUpsertBulk) SetEmail(v string) *UserUpsertBulk
- func (u *UserUpsertBulk) SetEventsURL(v string) *UserUpsertBulk
- func (u *UserUpsertBulk) SetFollowers(v int64) *UserUpsertBulk
- func (u *UserUpsertBulk) SetFollowersURL(v string) *UserUpsertBulk
- func (u *UserUpsertBulk) SetFollowing(v int64) *UserUpsertBulk
- func (u *UserUpsertBulk) SetFollowingURL(v string) *UserUpsertBulk
- func (u *UserUpsertBulk) SetGistsURL(v string) *UserUpsertBulk
- func (u *UserUpsertBulk) SetGravatarID(v string) *UserUpsertBulk
- func (u *UserUpsertBulk) SetHTMLURL(v string) *UserUpsertBulk
- func (u *UserUpsertBulk) SetHireable(v bool) *UserUpsertBulk
- func (u *UserUpsertBulk) SetLocation(v string) *UserUpsertBulk
- func (u *UserUpsertBulk) SetLogin(v string) *UserUpsertBulk
- func (u *UserUpsertBulk) SetName(v string) *UserUpsertBulk
- func (u *UserUpsertBulk) SetNodeID(v string) *UserUpsertBulk
- func (u *UserUpsertBulk) SetOrganizationsURL(v string) *UserUpsertBulk
- func (u *UserUpsertBulk) SetPublicGists(v int64) *UserUpsertBulk
- func (u *UserUpsertBulk) SetPublicRepos(v int64) *UserUpsertBulk
- func (u *UserUpsertBulk) SetReceivedEventsURL(v string) *UserUpsertBulk
- func (u *UserUpsertBulk) SetReposURL(v string) *UserUpsertBulk
- func (u *UserUpsertBulk) SetSiteAdmin(v bool) *UserUpsertBulk
- func (u *UserUpsertBulk) SetStarredURL(v string) *UserUpsertBulk
- func (u *UserUpsertBulk) SetSubscriptionsURL(v string) *UserUpsertBulk
- func (u *UserUpsertBulk) SetType(v string) *UserUpsertBulk
- func (u *UserUpsertBulk) SetURL(v string) *UserUpsertBulk
- func (u *UserUpsertBulk) SetUpdatedAt(v time.Time) *UserUpsertBulk
- func (u *UserUpsertBulk) Update(set func(*UserUpsert)) *UserUpsertBulk
- func (u *UserUpsertBulk) UpdateAvatarURL() *UserUpsertBulk
- func (u *UserUpsertBulk) UpdateBio() *UserUpsertBulk
- func (u *UserUpsertBulk) UpdateBlog() *UserUpsertBulk
- func (u *UserUpsertBulk) UpdateCompany() *UserUpsertBulk
- func (u *UserUpsertBulk) UpdateCreatedAt() *UserUpsertBulk
- func (u *UserUpsertBulk) UpdateEmail() *UserUpsertBulk
- func (u *UserUpsertBulk) UpdateEventsURL() *UserUpsertBulk
- func (u *UserUpsertBulk) UpdateFollowers() *UserUpsertBulk
- func (u *UserUpsertBulk) UpdateFollowersURL() *UserUpsertBulk
- func (u *UserUpsertBulk) UpdateFollowing() *UserUpsertBulk
- func (u *UserUpsertBulk) UpdateFollowingURL() *UserUpsertBulk
- func (u *UserUpsertBulk) UpdateGistsURL() *UserUpsertBulk
- func (u *UserUpsertBulk) UpdateGravatarID() *UserUpsertBulk
- func (u *UserUpsertBulk) UpdateHTMLURL() *UserUpsertBulk
- func (u *UserUpsertBulk) UpdateHireable() *UserUpsertBulk
- func (u *UserUpsertBulk) UpdateLocation() *UserUpsertBulk
- func (u *UserUpsertBulk) UpdateLogin() *UserUpsertBulk
- func (u *UserUpsertBulk) UpdateName() *UserUpsertBulk
- func (u *UserUpsertBulk) UpdateNewValues() *UserUpsertBulk
- func (u *UserUpsertBulk) UpdateNodeID() *UserUpsertBulk
- func (u *UserUpsertBulk) UpdateOrganizationsURL() *UserUpsertBulk
- func (u *UserUpsertBulk) UpdatePublicGists() *UserUpsertBulk
- func (u *UserUpsertBulk) UpdatePublicRepos() *UserUpsertBulk
- func (u *UserUpsertBulk) UpdateReceivedEventsURL() *UserUpsertBulk
- func (u *UserUpsertBulk) UpdateReposURL() *UserUpsertBulk
- func (u *UserUpsertBulk) UpdateSiteAdmin() *UserUpsertBulk
- func (u *UserUpsertBulk) UpdateStarredURL() *UserUpsertBulk
- func (u *UserUpsertBulk) UpdateSubscriptionsURL() *UserUpsertBulk
- func (u *UserUpsertBulk) UpdateType() *UserUpsertBulk
- func (u *UserUpsertBulk) UpdateURL() *UserUpsertBulk
- func (u *UserUpsertBulk) UpdateUpdatedAt() *UserUpsertBulk
- type UserUpsertOne
- func (u *UserUpsertOne) AddFollowers(v int64) *UserUpsertOne
- func (u *UserUpsertOne) AddFollowing(v int64) *UserUpsertOne
- func (u *UserUpsertOne) AddPublicGists(v int64) *UserUpsertOne
- func (u *UserUpsertOne) AddPublicRepos(v int64) *UserUpsertOne
- func (u *UserUpsertOne) ClearBio() *UserUpsertOne
- func (u *UserUpsertOne) ClearBlog() *UserUpsertOne
- func (u *UserUpsertOne) ClearCompany() *UserUpsertOne
- func (u *UserUpsertOne) ClearEmail() *UserUpsertOne
- func (u *UserUpsertOne) ClearGravatarID() *UserUpsertOne
- func (u *UserUpsertOne) ClearHireable() *UserUpsertOne
- func (u *UserUpsertOne) ClearLocation() *UserUpsertOne
- func (u *UserUpsertOne) ClearName() *UserUpsertOne
- func (u *UserUpsertOne) DoNothing() *UserUpsertOne
- func (u *UserUpsertOne) Exec(ctx context.Context) error
- func (u *UserUpsertOne) ExecX(ctx context.Context)
- func (u *UserUpsertOne) ID(ctx context.Context) (id int64, err error)
- func (u *UserUpsertOne) IDX(ctx context.Context) int64
- func (u *UserUpsertOne) Ignore() *UserUpsertOne
- func (u *UserUpsertOne) SetAvatarURL(v string) *UserUpsertOne
- func (u *UserUpsertOne) SetBio(v string) *UserUpsertOne
- func (u *UserUpsertOne) SetBlog(v string) *UserUpsertOne
- func (u *UserUpsertOne) SetCompany(v string) *UserUpsertOne
- func (u *UserUpsertOne) SetCreatedAt(v time.Time) *UserUpsertOne
- func (u *UserUpsertOne) SetEmail(v string) *UserUpsertOne
- func (u *UserUpsertOne) SetEventsURL(v string) *UserUpsertOne
- func (u *UserUpsertOne) SetFollowers(v int64) *UserUpsertOne
- func (u *UserUpsertOne) SetFollowersURL(v string) *UserUpsertOne
- func (u *UserUpsertOne) SetFollowing(v int64) *UserUpsertOne
- func (u *UserUpsertOne) SetFollowingURL(v string) *UserUpsertOne
- func (u *UserUpsertOne) SetGistsURL(v string) *UserUpsertOne
- func (u *UserUpsertOne) SetGravatarID(v string) *UserUpsertOne
- func (u *UserUpsertOne) SetHTMLURL(v string) *UserUpsertOne
- func (u *UserUpsertOne) SetHireable(v bool) *UserUpsertOne
- func (u *UserUpsertOne) SetLocation(v string) *UserUpsertOne
- func (u *UserUpsertOne) SetLogin(v string) *UserUpsertOne
- func (u *UserUpsertOne) SetName(v string) *UserUpsertOne
- func (u *UserUpsertOne) SetNodeID(v string) *UserUpsertOne
- func (u *UserUpsertOne) SetOrganizationsURL(v string) *UserUpsertOne
- func (u *UserUpsertOne) SetPublicGists(v int64) *UserUpsertOne
- func (u *UserUpsertOne) SetPublicRepos(v int64) *UserUpsertOne
- func (u *UserUpsertOne) SetReceivedEventsURL(v string) *UserUpsertOne
- func (u *UserUpsertOne) SetReposURL(v string) *UserUpsertOne
- func (u *UserUpsertOne) SetSiteAdmin(v bool) *UserUpsertOne
- func (u *UserUpsertOne) SetStarredURL(v string) *UserUpsertOne
- func (u *UserUpsertOne) SetSubscriptionsURL(v string) *UserUpsertOne
- func (u *UserUpsertOne) SetType(v string) *UserUpsertOne
- func (u *UserUpsertOne) SetURL(v string) *UserUpsertOne
- func (u *UserUpsertOne) SetUpdatedAt(v time.Time) *UserUpsertOne
- func (u *UserUpsertOne) Update(set func(*UserUpsert)) *UserUpsertOne
- func (u *UserUpsertOne) UpdateAvatarURL() *UserUpsertOne
- func (u *UserUpsertOne) UpdateBio() *UserUpsertOne
- func (u *UserUpsertOne) UpdateBlog() *UserUpsertOne
- func (u *UserUpsertOne) UpdateCompany() *UserUpsertOne
- func (u *UserUpsertOne) UpdateCreatedAt() *UserUpsertOne
- func (u *UserUpsertOne) UpdateEmail() *UserUpsertOne
- func (u *UserUpsertOne) UpdateEventsURL() *UserUpsertOne
- func (u *UserUpsertOne) UpdateFollowers() *UserUpsertOne
- func (u *UserUpsertOne) UpdateFollowersURL() *UserUpsertOne
- func (u *UserUpsertOne) UpdateFollowing() *UserUpsertOne
- func (u *UserUpsertOne) UpdateFollowingURL() *UserUpsertOne
- func (u *UserUpsertOne) UpdateGistsURL() *UserUpsertOne
- func (u *UserUpsertOne) UpdateGravatarID() *UserUpsertOne
- func (u *UserUpsertOne) UpdateHTMLURL() *UserUpsertOne
- func (u *UserUpsertOne) UpdateHireable() *UserUpsertOne
- func (u *UserUpsertOne) UpdateLocation() *UserUpsertOne
- func (u *UserUpsertOne) UpdateLogin() *UserUpsertOne
- func (u *UserUpsertOne) UpdateName() *UserUpsertOne
- func (u *UserUpsertOne) UpdateNewValues() *UserUpsertOne
- func (u *UserUpsertOne) UpdateNodeID() *UserUpsertOne
- func (u *UserUpsertOne) UpdateOrganizationsURL() *UserUpsertOne
- func (u *UserUpsertOne) UpdatePublicGists() *UserUpsertOne
- func (u *UserUpsertOne) UpdatePublicRepos() *UserUpsertOne
- func (u *UserUpsertOne) UpdateReceivedEventsURL() *UserUpsertOne
- func (u *UserUpsertOne) UpdateReposURL() *UserUpsertOne
- func (u *UserUpsertOne) UpdateSiteAdmin() *UserUpsertOne
- func (u *UserUpsertOne) UpdateStarredURL() *UserUpsertOne
- func (u *UserUpsertOne) UpdateSubscriptionsURL() *UserUpsertOne
- func (u *UserUpsertOne) UpdateType() *UserUpsertOne
- func (u *UserUpsertOne) UpdateURL() *UserUpsertOne
- func (u *UserUpsertOne) UpdateUpdatedAt() *UserUpsertOne
- type Users
- type ValidationError
- type Value
Constants ¶
const ( // Operation types. OpCreate = ent.OpCreate OpDelete = ent.OpDelete OpDeleteOne = ent.OpDeleteOne OpUpdate = ent.OpUpdate OpUpdateOne = ent.OpUpdateOne // Node types. TypeIssue = "Issue" TypeIssueComment = "IssueComment" TypeRepository = "Repository" TypeUser = "User" )
Variables ¶
var ErrTxStarted = errors.New("ent: cannot start a transaction within a transaction")
ErrTxStarted is returned when trying to start a new transaction from a transactional client.
Functions ¶
func IsConstraintError ¶
IsConstraintError returns a boolean indicating whether the error is a constraint failure.
func IsNotFound ¶
IsNotFound returns a boolean indicating whether the error is a not found error.
func IsNotLoaded ¶
IsNotLoaded returns a boolean indicating whether the error is a not loaded error.
func IsNotSingular ¶
IsNotSingular returns a boolean indicating whether the error is a not singular error.
func IsValidationError ¶
IsValidationError returns a boolean indicating whether the error is a validation error.
func NewContext ¶
NewContext returns a new context with the given Client attached.
Types ¶
type AggregateFunc ¶
AggregateFunc applies an aggregation step on the group-by traversal/selector.
func As ¶
func As(fn AggregateFunc, end string) AggregateFunc
As is a pseudo aggregation function for renaming another other functions with custom names. For example:
GroupBy(field1, field2). Aggregate(ent.As(ent.Sum(field1), "sum_field1"), (ent.As(ent.Sum(field2), "sum_field2")). Scan(ctx, &v)
func Count ¶
func Count() AggregateFunc
Count applies the "count" aggregation function on each group.
func Max ¶
func Max(field string) AggregateFunc
Max applies the "max" aggregation function on the given field of each group.
func Mean ¶
func Mean(field string) AggregateFunc
Mean applies the "mean" aggregation function on the given field of each group.
func Min ¶
func Min(field string) AggregateFunc
Min applies the "min" aggregation function on the given field of each group.
func Sum ¶
func Sum(field string) AggregateFunc
Sum applies the "sum" aggregation function on the given field of each group.
type Client ¶
type Client struct { // Schema is the client for creating, migrating and dropping schema. Schema *migrate.Schema // Issue is the client for interacting with the Issue builders. Issue *IssueClient // IssueComment is the client for interacting with the IssueComment builders. IssueComment *IssueCommentClient // Repository is the client for interacting with the Repository builders. Repository *RepositoryClient // User is the client for interacting with the User builders. User *UserClient // contains filtered or unexported fields }
Client is the client that holds all ent builders.
func FromContext ¶
FromContext returns a Client stored inside a context, or nil if there isn't one.
func Open ¶
Open opens a database/sql.DB specified by the driver name and the data source name, and returns a new client attached to it. Optional parameters can be added for configuring the client.
func (*Client) Debug ¶
Debug returns a new debug-client. It's used to get verbose logging on specific operations.
client.Debug(). Issue. Query(). Count(ctx)
func (*Client) Intercept ¶
func (c *Client) Intercept(interceptors ...Interceptor)
Intercept adds the query interceptors to all the entity clients. In order to add interceptors to a specific client, call: `client.Node.Intercept(...)`.
type CommitFunc ¶
The CommitFunc type is an adapter to allow the use of ordinary function as a Committer. If f is a function with the appropriate signature, CommitFunc(f) is a Committer that calls f.
type CommitHook ¶
CommitHook defines the "commit middleware". A function that gets a Committer and returns a Committer. For example:
hook := func(next ent.Committer) ent.Committer { return ent.CommitFunc(func(ctx context.Context, tx *ent.Tx) error { // Do some stuff before. if err := next.Commit(ctx, tx); err != nil { return err } // Do some stuff after. return nil }) }
type ConstraintError ¶
type ConstraintError struct {
// contains filtered or unexported fields
}
ConstraintError returns when trying to create/update one or more entities and one or more of their constraints failed. For example, violation of edge or field uniqueness.
func (ConstraintError) Error ¶
func (e ConstraintError) Error() string
Error implements the error interface.
func (*ConstraintError) Unwrap ¶
func (e *ConstraintError) Unwrap() error
Unwrap implements the errors.Wrapper interface.
type InterceptFunc ¶
type InterceptFunc = ent.InterceptFunc
ent aliases to avoid import conflicts in user's code.
type Interceptor ¶
type Interceptor = ent.Interceptor
ent aliases to avoid import conflicts in user's code.
type Issue ¶
type Issue struct { // ID of the ent. ID int64 `json:"id,omitempty"` // NodeID holds the value of the "node_id" field. NodeID string `json:"node_id"` // URL for the issue URL string `json:"url"` // RepositoryURL holds the value of the "repository_url" field. RepositoryURL string `json:"repository_url"` // LabelsURL holds the value of the "labels_url" field. LabelsURL string `json:"labels_url"` // CommentsURL holds the value of the "comments_url" field. CommentsURL string `json:"comments_url"` // EventsURL holds the value of the "events_url" field. EventsURL string `json:"events_url"` // HTMLURL holds the value of the "html_url" field. HTMLURL string `json:"html_url"` // Number uniquely identifying the issue within its repository Number int64 `json:"number"` // State of the issue; either 'open' or 'closed' State string `json:"state"` // StateReason holds the value of the "state_reason" field. StateReason *issue.StateReason `json:"state_reason"` // Title of the issue Title string `json:"title"` // Body holds the value of the "body" field. Body *string `json:"body"` // Locked holds the value of the "locked" field. Locked bool `json:"locked"` // ActiveLockReason holds the value of the "active_lock_reason" field. ActiveLockReason *string `json:"active_lock_reason"` // ClosedAt holds the value of the "closed_at" field. ClosedAt *time.Time `json:"closed_at"` // CreatedAt holds the value of the "created_at" field. CreatedAt time.Time `json:"created_at"` // UpdatedAt holds the value of the "updated_at" field. UpdatedAt time.Time `json:"updated_at"` // Draft holds the value of the "draft" field. Draft bool `json:"draft"` // AuthorAssociation holds the value of the "author_association" field. AuthorAssociation issue.AuthorAssociation `json:"author_association"` // Reactions holds the value of the "reactions" field. Reactions map[string]interface{} `json:"reactions"` // Edges holds the relations/edges for other nodes in the graph. // The values are being populated by the IssueQuery when eager-loading is set. Edges IssueEdges `json:"-"` // contains filtered or unexported fields }
Issue is the model entity for the Issue schema.
func (*Issue) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface.
func (*Issue) QueryAssignees ¶
QueryAssignees queries the "assignees" edge of the Issue entity.
func (*Issue) QueryClosedBy ¶
QueryClosedBy queries the "closed_by" edge of the Issue entity.
func (*Issue) QueryComments ¶
func (i *Issue) QueryComments() *IssueCommentQuery
QueryComments queries the "comments" edge of the Issue entity.
func (*Issue) QueryRepository ¶
func (i *Issue) QueryRepository() *RepositoryQuery
QueryRepository queries the "repository" edge of the Issue entity.
func (*Issue) Unwrap ¶
Unwrap unwraps the Issue entity that was returned from a transaction after it was closed, so that all future queries will be executed through the driver which created the transaction.
func (*Issue) Update ¶
func (i *Issue) Update() *IssueUpdateOne
Update returns a builder for updating this Issue. Note that you need to call Issue.Unwrap() before calling this method if this Issue was returned from a transaction, and the transaction was committed or rolled back.
type IssueClient ¶
type IssueClient struct {
// contains filtered or unexported fields
}
IssueClient is a client for the Issue schema.
func NewIssueClient ¶
func NewIssueClient(c config) *IssueClient
NewIssueClient returns a client for the Issue from the given config.
func (*IssueClient) Create ¶
func (c *IssueClient) Create() *IssueCreate
Create returns a builder for creating a Issue entity.
func (*IssueClient) CreateBulk ¶
func (c *IssueClient) CreateBulk(builders ...*IssueCreate) *IssueCreateBulk
CreateBulk returns a builder for creating a bulk of Issue entities.
func (*IssueClient) Delete ¶
func (c *IssueClient) Delete() *IssueDelete
Delete returns a delete builder for Issue.
func (*IssueClient) DeleteOne ¶
func (c *IssueClient) DeleteOne(i *Issue) *IssueDeleteOne
DeleteOne returns a builder for deleting the given entity.
func (*IssueClient) DeleteOneID ¶
func (c *IssueClient) DeleteOneID(id int64) *IssueDeleteOne
DeleteOneID returns a builder for deleting the given entity by its id.
func (*IssueClient) GetX ¶
func (c *IssueClient) GetX(ctx context.Context, id int64) *Issue
GetX is like Get, but panics if an error occurs.
func (*IssueClient) Intercept ¶
func (c *IssueClient) Intercept(interceptors ...Interceptor)
Intercept adds a list of query interceptors to the interceptors stack. A call to `Intercept(f, g, h)` equals to `issue.Intercept(f(g(h())))`.
func (*IssueClient) Interceptors ¶
func (c *IssueClient) Interceptors() []Interceptor
Interceptors returns the client interceptors.
func (*IssueClient) MapCreateBulk ¶
func (c *IssueClient) MapCreateBulk(slice any, setFunc func(*IssueCreate, int)) *IssueCreateBulk
MapCreateBulk creates a bulk creation builder from the given slice. For each item in the slice, the function creates a builder and applies setFunc on it.
func (*IssueClient) Query ¶
func (c *IssueClient) Query() *IssueQuery
Query returns a query builder for Issue.
func (*IssueClient) QueryAssignees ¶
func (c *IssueClient) QueryAssignees(i *Issue) *UserQuery
QueryAssignees queries the assignees edge of a Issue.
func (*IssueClient) QueryClosedBy ¶
func (c *IssueClient) QueryClosedBy(i *Issue) *UserQuery
QueryClosedBy queries the closed_by edge of a Issue.
func (*IssueClient) QueryComments ¶
func (c *IssueClient) QueryComments(i *Issue) *IssueCommentQuery
QueryComments queries the comments edge of a Issue.
func (*IssueClient) QueryRepository ¶
func (c *IssueClient) QueryRepository(i *Issue) *RepositoryQuery
QueryRepository queries the repository edge of a Issue.
func (*IssueClient) QueryUser ¶
func (c *IssueClient) QueryUser(i *Issue) *UserQuery
QueryUser queries the user edge of a Issue.
func (*IssueClient) Update ¶
func (c *IssueClient) Update() *IssueUpdate
Update returns an update builder for Issue.
func (*IssueClient) UpdateOne ¶
func (c *IssueClient) UpdateOne(i *Issue) *IssueUpdateOne
UpdateOne returns an update builder for the given entity.
func (*IssueClient) UpdateOneID ¶
func (c *IssueClient) UpdateOneID(id int64) *IssueUpdateOne
UpdateOneID returns an update builder for the given id.
func (*IssueClient) Use ¶
func (c *IssueClient) Use(hooks ...Hook)
Use adds a list of mutation hooks to the hooks stack. A call to `Use(f, g, h)` equals to `issue.Hooks(f(g(h())))`.
type IssueComment ¶
type IssueComment struct { // ID of the ent. // Unique identifier of the issue comment ID int64 `json:"id,omitempty"` // NodeID holds the value of the "node_id" field. NodeID string `json:"node_id"` // URL for the issue comment URL string `json:"url"` // Body holds the value of the "body" field. Body string `json:"body"` // HTMLURL holds the value of the "html_url" field. HTMLURL string `json:"html_url"` // CreatedAt holds the value of the "created_at" field. CreatedAt string `json:"created_at"` // UpdatedAt holds the value of the "updated_at" field. UpdatedAt string `json:"updated_at"` // IssueURL holds the value of the "issue_url" field. IssueURL string `json:"issue_url"` // AuthorAssociation holds the value of the "author_association" field. AuthorAssociation issuecomment.AuthorAssociation `json:"author_association"` // Reactions holds the value of the "reactions" field. Reactions map[string]interface{} `json:"reactions"` // Edges holds the relations/edges for other nodes in the graph. // The values are being populated by the IssueCommentQuery when eager-loading is set. Edges IssueCommentEdges `json:"-"` // contains filtered or unexported fields }
IssueComment is the model entity for the IssueComment schema.
func (*IssueComment) MarshalJSON ¶
func (ic *IssueComment) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaler interface.
func (*IssueComment) QueryIssue ¶
func (ic *IssueComment) QueryIssue() *IssueQuery
QueryIssue queries the "issue" edge of the IssueComment entity.
func (*IssueComment) QueryUser ¶
func (ic *IssueComment) QueryUser() *UserQuery
QueryUser queries the "user" edge of the IssueComment entity.
func (*IssueComment) String ¶
func (ic *IssueComment) String() string
String implements the fmt.Stringer.
func (*IssueComment) Unwrap ¶
func (ic *IssueComment) Unwrap() *IssueComment
Unwrap unwraps the IssueComment entity that was returned from a transaction after it was closed, so that all future queries will be executed through the driver which created the transaction.
func (*IssueComment) Update ¶
func (ic *IssueComment) Update() *IssueCommentUpdateOne
Update returns a builder for updating this IssueComment. Note that you need to call IssueComment.Unwrap() before calling this method if this IssueComment was returned from a transaction, and the transaction was committed or rolled back.
type IssueCommentClient ¶
type IssueCommentClient struct {
// contains filtered or unexported fields
}
IssueCommentClient is a client for the IssueComment schema.
func NewIssueCommentClient ¶
func NewIssueCommentClient(c config) *IssueCommentClient
NewIssueCommentClient returns a client for the IssueComment from the given config.
func (*IssueCommentClient) Create ¶
func (c *IssueCommentClient) Create() *IssueCommentCreate
Create returns a builder for creating a IssueComment entity.
func (*IssueCommentClient) CreateBulk ¶
func (c *IssueCommentClient) CreateBulk(builders ...*IssueCommentCreate) *IssueCommentCreateBulk
CreateBulk returns a builder for creating a bulk of IssueComment entities.
func (*IssueCommentClient) Delete ¶
func (c *IssueCommentClient) Delete() *IssueCommentDelete
Delete returns a delete builder for IssueComment.
func (*IssueCommentClient) DeleteOne ¶
func (c *IssueCommentClient) DeleteOne(ic *IssueComment) *IssueCommentDeleteOne
DeleteOne returns a builder for deleting the given entity.
func (*IssueCommentClient) DeleteOneID ¶
func (c *IssueCommentClient) DeleteOneID(id int64) *IssueCommentDeleteOne
DeleteOneID returns a builder for deleting the given entity by its id.
func (*IssueCommentClient) Get ¶
func (c *IssueCommentClient) Get(ctx context.Context, id int64) (*IssueComment, error)
Get returns a IssueComment entity by its id.
func (*IssueCommentClient) GetX ¶
func (c *IssueCommentClient) GetX(ctx context.Context, id int64) *IssueComment
GetX is like Get, but panics if an error occurs.
func (*IssueCommentClient) Hooks ¶
func (c *IssueCommentClient) Hooks() []Hook
Hooks returns the client hooks.
func (*IssueCommentClient) Intercept ¶
func (c *IssueCommentClient) Intercept(interceptors ...Interceptor)
Intercept adds a list of query interceptors to the interceptors stack. A call to `Intercept(f, g, h)` equals to `issuecomment.Intercept(f(g(h())))`.
func (*IssueCommentClient) Interceptors ¶
func (c *IssueCommentClient) Interceptors() []Interceptor
Interceptors returns the client interceptors.
func (*IssueCommentClient) MapCreateBulk ¶
func (c *IssueCommentClient) MapCreateBulk(slice any, setFunc func(*IssueCommentCreate, int)) *IssueCommentCreateBulk
MapCreateBulk creates a bulk creation builder from the given slice. For each item in the slice, the function creates a builder and applies setFunc on it.
func (*IssueCommentClient) Query ¶
func (c *IssueCommentClient) Query() *IssueCommentQuery
Query returns a query builder for IssueComment.
func (*IssueCommentClient) QueryIssue ¶
func (c *IssueCommentClient) QueryIssue(ic *IssueComment) *IssueQuery
QueryIssue queries the issue edge of a IssueComment.
func (*IssueCommentClient) QueryUser ¶
func (c *IssueCommentClient) QueryUser(ic *IssueComment) *UserQuery
QueryUser queries the user edge of a IssueComment.
func (*IssueCommentClient) Update ¶
func (c *IssueCommentClient) Update() *IssueCommentUpdate
Update returns an update builder for IssueComment.
func (*IssueCommentClient) UpdateOne ¶
func (c *IssueCommentClient) UpdateOne(ic *IssueComment) *IssueCommentUpdateOne
UpdateOne returns an update builder for the given entity.
func (*IssueCommentClient) UpdateOneID ¶
func (c *IssueCommentClient) UpdateOneID(id int64) *IssueCommentUpdateOne
UpdateOneID returns an update builder for the given id.
func (*IssueCommentClient) Use ¶
func (c *IssueCommentClient) Use(hooks ...Hook)
Use adds a list of mutation hooks to the hooks stack. A call to `Use(f, g, h)` equals to `issuecomment.Hooks(f(g(h())))`.
type IssueCommentCreate ¶
type IssueCommentCreate struct {
// contains filtered or unexported fields
}
IssueCommentCreate is the builder for creating a IssueComment entity.
func (*IssueCommentCreate) CopyIssueComment ¶
func (icc *IssueCommentCreate) CopyIssueComment(input *IssueComment) *IssueCommentCreate
CopyIssueComment allows to create a new IssueComment copying the existing values of input.
func (*IssueCommentCreate) Exec ¶
func (icc *IssueCommentCreate) Exec(ctx context.Context) error
Exec executes the query.
func (*IssueCommentCreate) ExecX ¶
func (icc *IssueCommentCreate) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*IssueCommentCreate) Mutation ¶
func (icc *IssueCommentCreate) Mutation() *IssueCommentMutation
Mutation returns the IssueCommentMutation object of the builder.
func (*IssueCommentCreate) OnConflict ¶
func (icc *IssueCommentCreate) OnConflict(opts ...sql.ConflictOption) *IssueCommentUpsertOne
OnConflict allows configuring the `ON CONFLICT` / `ON DUPLICATE KEY` clause of the `INSERT` statement. For example:
client.IssueComment.Create(). SetNodeID(v). OnConflict( // Update the row with the new values // the was proposed for insertion. sql.ResolveWithNewValues(), ). // Override some of the fields with custom // update values. Update(func(u *ent.IssueCommentUpsert) { SetNodeID(v+v). }). Exec(ctx)
func (*IssueCommentCreate) OnConflictColumns ¶
func (icc *IssueCommentCreate) OnConflictColumns(columns ...string) *IssueCommentUpsertOne
OnConflictColumns calls `OnConflict` and configures the columns as conflict target. Using this option is equivalent to using:
client.IssueComment.Create(). OnConflict(sql.ConflictColumns(columns...)). Exec(ctx)
func (*IssueCommentCreate) Save ¶
func (icc *IssueCommentCreate) Save(ctx context.Context) (*IssueComment, error)
Save creates the IssueComment in the database.
func (*IssueCommentCreate) SaveX ¶
func (icc *IssueCommentCreate) SaveX(ctx context.Context) *IssueComment
SaveX calls Save and panics if Save returns an error.
func (*IssueCommentCreate) SetAuthorAssociation ¶
func (icc *IssueCommentCreate) SetAuthorAssociation(ia issuecomment.AuthorAssociation) *IssueCommentCreate
SetAuthorAssociation sets the "author_association" field.
func (*IssueCommentCreate) SetBody ¶
func (icc *IssueCommentCreate) SetBody(s string) *IssueCommentCreate
SetBody sets the "body" field.
func (*IssueCommentCreate) SetCreatedAt ¶
func (icc *IssueCommentCreate) SetCreatedAt(s string) *IssueCommentCreate
SetCreatedAt sets the "created_at" field.
func (*IssueCommentCreate) SetHTMLURL ¶
func (icc *IssueCommentCreate) SetHTMLURL(s string) *IssueCommentCreate
SetHTMLURL sets the "html_url" field.
func (*IssueCommentCreate) SetID ¶
func (icc *IssueCommentCreate) SetID(i int64) *IssueCommentCreate
SetID sets the "id" field.
func (*IssueCommentCreate) SetIssue ¶
func (icc *IssueCommentCreate) SetIssue(i *Issue) *IssueCommentCreate
SetIssue sets the "issue" edge to the Issue entity.
func (*IssueCommentCreate) SetIssueID ¶
func (icc *IssueCommentCreate) SetIssueID(id int64) *IssueCommentCreate
SetIssueID sets the "issue" edge to the Issue entity by ID.
func (*IssueCommentCreate) SetIssueURL ¶
func (icc *IssueCommentCreate) SetIssueURL(s string) *IssueCommentCreate
SetIssueURL sets the "issue_url" field.
func (*IssueCommentCreate) SetNillableIssueID ¶
func (icc *IssueCommentCreate) SetNillableIssueID(id *int64) *IssueCommentCreate
SetNillableIssueID sets the "issue" edge to the Issue entity by ID if the given value is not nil.
func (*IssueCommentCreate) SetNillableUserID ¶
func (icc *IssueCommentCreate) SetNillableUserID(id *int64) *IssueCommentCreate
SetNillableUserID sets the "user" edge to the User entity by ID if the given value is not nil.
func (*IssueCommentCreate) SetNodeID ¶
func (icc *IssueCommentCreate) SetNodeID(s string) *IssueCommentCreate
SetNodeID sets the "node_id" field.
func (*IssueCommentCreate) SetReactions ¶
func (icc *IssueCommentCreate) SetReactions(m map[string]interface{}) *IssueCommentCreate
SetReactions sets the "reactions" field.
func (*IssueCommentCreate) SetURL ¶
func (icc *IssueCommentCreate) SetURL(s string) *IssueCommentCreate
SetURL sets the "url" field.
func (*IssueCommentCreate) SetUpdatedAt ¶
func (icc *IssueCommentCreate) SetUpdatedAt(s string) *IssueCommentCreate
SetUpdatedAt sets the "updated_at" field.
func (*IssueCommentCreate) SetUser ¶
func (icc *IssueCommentCreate) SetUser(u *User) *IssueCommentCreate
SetUser sets the "user" edge to the User entity.
func (*IssueCommentCreate) SetUserID ¶
func (icc *IssueCommentCreate) SetUserID(id int64) *IssueCommentCreate
SetUserID sets the "user" edge to the User entity by ID.
type IssueCommentCreateBulk ¶
type IssueCommentCreateBulk struct {
// contains filtered or unexported fields
}
IssueCommentCreateBulk is the builder for creating many IssueComment entities in bulk.
func (*IssueCommentCreateBulk) Exec ¶
func (iccb *IssueCommentCreateBulk) Exec(ctx context.Context) error
Exec executes the query.
func (*IssueCommentCreateBulk) ExecX ¶
func (iccb *IssueCommentCreateBulk) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*IssueCommentCreateBulk) OnConflict ¶
func (iccb *IssueCommentCreateBulk) OnConflict(opts ...sql.ConflictOption) *IssueCommentUpsertBulk
OnConflict allows configuring the `ON CONFLICT` / `ON DUPLICATE KEY` clause of the `INSERT` statement. For example:
client.IssueComment.CreateBulk(builders...). OnConflict( // Update the row with the new values // the was proposed for insertion. sql.ResolveWithNewValues(), ). // Override some of the fields with custom // update values. Update(func(u *ent.IssueCommentUpsert) { SetNodeID(v+v). }). Exec(ctx)
func (*IssueCommentCreateBulk) OnConflictColumns ¶
func (iccb *IssueCommentCreateBulk) OnConflictColumns(columns ...string) *IssueCommentUpsertBulk
OnConflictColumns calls `OnConflict` and configures the columns as conflict target. Using this option is equivalent to using:
client.IssueComment.Create(). OnConflict(sql.ConflictColumns(columns...)). Exec(ctx)
func (*IssueCommentCreateBulk) Save ¶
func (iccb *IssueCommentCreateBulk) Save(ctx context.Context) ([]*IssueComment, error)
Save creates the IssueComment entities in the database.
func (*IssueCommentCreateBulk) SaveX ¶
func (iccb *IssueCommentCreateBulk) SaveX(ctx context.Context) []*IssueComment
SaveX is like Save, but panics if an error occurs.
type IssueCommentDelete ¶
type IssueCommentDelete struct {
// contains filtered or unexported fields
}
IssueCommentDelete is the builder for deleting a IssueComment entity.
func (*IssueCommentDelete) Exec ¶
func (icd *IssueCommentDelete) Exec(ctx context.Context) (int, error)
Exec executes the deletion query and returns how many vertices were deleted.
func (*IssueCommentDelete) ExecX ¶
func (icd *IssueCommentDelete) ExecX(ctx context.Context) int
ExecX is like Exec, but panics if an error occurs.
func (*IssueCommentDelete) Where ¶
func (icd *IssueCommentDelete) Where(ps ...predicate.IssueComment) *IssueCommentDelete
Where appends a list predicates to the IssueCommentDelete builder.
type IssueCommentDeleteOne ¶
type IssueCommentDeleteOne struct {
// contains filtered or unexported fields
}
IssueCommentDeleteOne is the builder for deleting a single IssueComment entity.
func (*IssueCommentDeleteOne) Exec ¶
func (icdo *IssueCommentDeleteOne) Exec(ctx context.Context) error
Exec executes the deletion query.
func (*IssueCommentDeleteOne) ExecX ¶
func (icdo *IssueCommentDeleteOne) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*IssueCommentDeleteOne) Where ¶
func (icdo *IssueCommentDeleteOne) Where(ps ...predicate.IssueComment) *IssueCommentDeleteOne
Where appends a list predicates to the IssueCommentDelete builder.
type IssueCommentEdges ¶
type IssueCommentEdges struct { // Issue holds the value of the issue edge. Issue *Issue `json:"issue,omitempty"` // User holds the value of the user edge. User *User `json:"user,omitempty"` // contains filtered or unexported fields }
IssueCommentEdges holds the relations/edges for other nodes in the graph.
func (IssueCommentEdges) IssueOrErr ¶
func (e IssueCommentEdges) IssueOrErr() (*Issue, error)
IssueOrErr returns the Issue value or an error if the edge was not loaded in eager-loading, or loaded but was not found.
func (IssueCommentEdges) UserOrErr ¶
func (e IssueCommentEdges) UserOrErr() (*User, error)
UserOrErr returns the User value or an error if the edge was not loaded in eager-loading, or loaded but was not found.
type IssueCommentGroupBy ¶
type IssueCommentGroupBy struct {
// contains filtered or unexported fields
}
IssueCommentGroupBy is the group-by builder for IssueComment entities.
func (*IssueCommentGroupBy) Aggregate ¶
func (icgb *IssueCommentGroupBy) Aggregate(fns ...AggregateFunc) *IssueCommentGroupBy
Aggregate adds the given aggregation functions to the group-by query.
func (*IssueCommentGroupBy) Bool ¶
Bool returns a single bool from a selector. It is only allowed when selecting one field.
func (*IssueCommentGroupBy) Bools ¶
Bools returns list of bools from a selector. It is only allowed when selecting one field.
func (*IssueCommentGroupBy) Float64 ¶
Float64 returns a single float64 from a selector. It is only allowed when selecting one field.
func (*IssueCommentGroupBy) Float64s ¶
Float64s returns list of float64s from a selector. It is only allowed when selecting one field.
func (*IssueCommentGroupBy) Int ¶
Int returns a single int from a selector. It is only allowed when selecting one field.
func (*IssueCommentGroupBy) Ints ¶
Ints returns list of ints from a selector. It is only allowed when selecting one field.
func (*IssueCommentGroupBy) Scan ¶
func (icgb *IssueCommentGroupBy) Scan(ctx context.Context, v any) error
Scan applies the selector query and scans the result into the given value.
func (*IssueCommentGroupBy) String ¶
String returns a single string from a selector. It is only allowed when selecting one field.
type IssueCommentMutation ¶
type IssueCommentMutation struct {
// contains filtered or unexported fields
}
IssueCommentMutation represents an operation that mutates the IssueComment nodes in the graph.
func (*IssueCommentMutation) AddField ¶
func (m *IssueCommentMutation) AddField(name string, value ent.Value) error
AddField adds the value to the field with the given name. It returns an error if the field is not defined in the schema, or if the type mismatched the field type.
func (*IssueCommentMutation) AddedEdges ¶
func (m *IssueCommentMutation) AddedEdges() []string
AddedEdges returns all edge names that were set/added in this mutation.
func (*IssueCommentMutation) AddedField ¶
func (m *IssueCommentMutation) AddedField(name string) (ent.Value, bool)
AddedField returns the numeric value that was incremented/decremented on a field with the given name. The second boolean return value indicates that this field was not set, or was not defined in the schema.
func (*IssueCommentMutation) AddedFields ¶
func (m *IssueCommentMutation) AddedFields() []string
AddedFields returns all numeric fields that were incremented/decremented during this mutation.
func (*IssueCommentMutation) AddedIDs ¶
func (m *IssueCommentMutation) AddedIDs(name string) []ent.Value
AddedIDs returns all IDs (to other nodes) that were added for the given edge name in this mutation.
func (*IssueCommentMutation) AuthorAssociation ¶
func (m *IssueCommentMutation) AuthorAssociation() (r issuecomment.AuthorAssociation, exists bool)
AuthorAssociation returns the value of the "author_association" field in the mutation.
func (*IssueCommentMutation) Body ¶
func (m *IssueCommentMutation) Body() (r string, exists bool)
Body returns the value of the "body" field in the mutation.
func (*IssueCommentMutation) ClearEdge ¶
func (m *IssueCommentMutation) ClearEdge(name string) error
ClearEdge clears the value of the edge with the given name. It returns an error if that edge is not defined in the schema.
func (*IssueCommentMutation) ClearField ¶
func (m *IssueCommentMutation) ClearField(name string) error
ClearField clears the value of the field with the given name. It returns an error if the field is not defined in the schema.
func (*IssueCommentMutation) ClearIssue ¶
func (m *IssueCommentMutation) ClearIssue()
ClearIssue clears the "issue" edge to the Issue entity.
func (*IssueCommentMutation) ClearUser ¶
func (m *IssueCommentMutation) ClearUser()
ClearUser clears the "user" edge to the User entity.
func (*IssueCommentMutation) ClearedEdges ¶
func (m *IssueCommentMutation) ClearedEdges() []string
ClearedEdges returns all edge names that were cleared in this mutation.
func (*IssueCommentMutation) ClearedFields ¶
func (m *IssueCommentMutation) ClearedFields() []string
ClearedFields returns all nullable fields that were cleared during this mutation.
func (IssueCommentMutation) Client ¶
func (m IssueCommentMutation) Client() *Client
Client returns a new `ent.Client` from the mutation. If the mutation was executed in a transaction (ent.Tx), a transactional client is returned.
func (*IssueCommentMutation) CreatedAt ¶
func (m *IssueCommentMutation) CreatedAt() (r string, exists bool)
CreatedAt returns the value of the "created_at" field in the mutation.
func (*IssueCommentMutation) EdgeCleared ¶
func (m *IssueCommentMutation) EdgeCleared(name string) bool
EdgeCleared returns a boolean which indicates if the edge with the given name was cleared in this mutation.
func (*IssueCommentMutation) Field ¶
func (m *IssueCommentMutation) Field(name string) (ent.Value, bool)
Field returns the value of a field with the given name. The second boolean return value indicates that this field was not set, or was not defined in the schema.
func (*IssueCommentMutation) FieldCleared ¶
func (m *IssueCommentMutation) FieldCleared(name string) bool
FieldCleared returns a boolean indicating if a field with the given name was cleared in this mutation.
func (*IssueCommentMutation) Fields ¶
func (m *IssueCommentMutation) Fields() []string
Fields returns all fields that were changed during this mutation. Note that in order to get all numeric fields that were incremented/decremented, call AddedFields().
func (*IssueCommentMutation) HTMLURL ¶
func (m *IssueCommentMutation) HTMLURL() (r string, exists bool)
HTMLURL returns the value of the "html_url" field in the mutation.
func (*IssueCommentMutation) ID ¶
func (m *IssueCommentMutation) ID() (id int64, exists bool)
ID returns the ID value in the mutation. Note that the ID is only available if it was provided to the builder or after it was returned from the database.
func (*IssueCommentMutation) IDs ¶
func (m *IssueCommentMutation) IDs(ctx context.Context) ([]int64, error)
IDs queries the database and returns the entity ids that match the mutation's predicate. That means, if the mutation is applied within a transaction with an isolation level such as sql.LevelSerializable, the returned ids match the ids of the rows that will be updated or updated by the mutation.
func (*IssueCommentMutation) IssueCleared ¶
func (m *IssueCommentMutation) IssueCleared() bool
IssueCleared reports if the "issue" edge to the Issue entity was cleared.
func (*IssueCommentMutation) IssueID ¶
func (m *IssueCommentMutation) IssueID() (id int64, exists bool)
IssueID returns the "issue" edge ID in the mutation.
func (*IssueCommentMutation) IssueIDs ¶
func (m *IssueCommentMutation) IssueIDs() (ids []int64)
IssueIDs returns the "issue" edge IDs in the mutation. Note that IDs always returns len(IDs) <= 1 for unique edges, and you should use IssueID instead. It exists only for internal usage by the builders.
func (*IssueCommentMutation) IssueURL ¶
func (m *IssueCommentMutation) IssueURL() (r string, exists bool)
IssueURL returns the value of the "issue_url" field in the mutation.
func (*IssueCommentMutation) NodeID ¶
func (m *IssueCommentMutation) NodeID() (r string, exists bool)
NodeID returns the value of the "node_id" field in the mutation.
func (*IssueCommentMutation) OldAuthorAssociation ¶
func (m *IssueCommentMutation) OldAuthorAssociation(ctx context.Context) (v issuecomment.AuthorAssociation, err error)
OldAuthorAssociation returns the old "author_association" field's value of the IssueComment entity. If the IssueComment object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*IssueCommentMutation) OldBody ¶
func (m *IssueCommentMutation) OldBody(ctx context.Context) (v string, err error)
OldBody returns the old "body" field's value of the IssueComment entity. If the IssueComment object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*IssueCommentMutation) OldCreatedAt ¶
func (m *IssueCommentMutation) OldCreatedAt(ctx context.Context) (v string, err error)
OldCreatedAt returns the old "created_at" field's value of the IssueComment entity. If the IssueComment object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*IssueCommentMutation) OldField ¶
OldField returns the old value of the field from the database. An error is returned if the mutation operation is not UpdateOne, or the query to the database failed.
func (*IssueCommentMutation) OldHTMLURL ¶
func (m *IssueCommentMutation) OldHTMLURL(ctx context.Context) (v string, err error)
OldHTMLURL returns the old "html_url" field's value of the IssueComment entity. If the IssueComment object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*IssueCommentMutation) OldIssueURL ¶
func (m *IssueCommentMutation) OldIssueURL(ctx context.Context) (v string, err error)
OldIssueURL returns the old "issue_url" field's value of the IssueComment entity. If the IssueComment object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*IssueCommentMutation) OldNodeID ¶
func (m *IssueCommentMutation) OldNodeID(ctx context.Context) (v string, err error)
OldNodeID returns the old "node_id" field's value of the IssueComment entity. If the IssueComment object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*IssueCommentMutation) OldReactions ¶
func (m *IssueCommentMutation) OldReactions(ctx context.Context) (v map[string]interface{}, err error)
OldReactions returns the old "reactions" field's value of the IssueComment entity. If the IssueComment object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*IssueCommentMutation) OldURL ¶
func (m *IssueCommentMutation) OldURL(ctx context.Context) (v string, err error)
OldURL returns the old "url" field's value of the IssueComment entity. If the IssueComment object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*IssueCommentMutation) OldUpdatedAt ¶
func (m *IssueCommentMutation) OldUpdatedAt(ctx context.Context) (v string, err error)
OldUpdatedAt returns the old "updated_at" field's value of the IssueComment entity. If the IssueComment object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*IssueCommentMutation) Op ¶
func (m *IssueCommentMutation) Op() Op
Op returns the operation name.
func (*IssueCommentMutation) Reactions ¶
func (m *IssueCommentMutation) Reactions() (r map[string]interface{}, exists bool)
Reactions returns the value of the "reactions" field in the mutation.
func (*IssueCommentMutation) RemovedEdges ¶
func (m *IssueCommentMutation) RemovedEdges() []string
RemovedEdges returns all edge names that were removed in this mutation.
func (*IssueCommentMutation) RemovedIDs ¶
func (m *IssueCommentMutation) RemovedIDs(name string) []ent.Value
RemovedIDs returns all IDs (to other nodes) that were removed for the edge with the given name in this mutation.
func (*IssueCommentMutation) ResetAuthorAssociation ¶
func (m *IssueCommentMutation) ResetAuthorAssociation()
ResetAuthorAssociation resets all changes to the "author_association" field.
func (*IssueCommentMutation) ResetBody ¶
func (m *IssueCommentMutation) ResetBody()
ResetBody resets all changes to the "body" field.
func (*IssueCommentMutation) ResetCreatedAt ¶
func (m *IssueCommentMutation) ResetCreatedAt()
ResetCreatedAt resets all changes to the "created_at" field.
func (*IssueCommentMutation) ResetEdge ¶
func (m *IssueCommentMutation) ResetEdge(name string) error
ResetEdge resets all changes to the edge with the given name in this mutation. It returns an error if the edge is not defined in the schema.
func (*IssueCommentMutation) ResetField ¶
func (m *IssueCommentMutation) ResetField(name string) error
ResetField resets all changes in the mutation for the field with the given name. It returns an error if the field is not defined in the schema.
func (*IssueCommentMutation) ResetHTMLURL ¶
func (m *IssueCommentMutation) ResetHTMLURL()
ResetHTMLURL resets all changes to the "html_url" field.
func (*IssueCommentMutation) ResetIssue ¶
func (m *IssueCommentMutation) ResetIssue()
ResetIssue resets all changes to the "issue" edge.
func (*IssueCommentMutation) ResetIssueURL ¶
func (m *IssueCommentMutation) ResetIssueURL()
ResetIssueURL resets all changes to the "issue_url" field.
func (*IssueCommentMutation) ResetNodeID ¶
func (m *IssueCommentMutation) ResetNodeID()
ResetNodeID resets all changes to the "node_id" field.
func (*IssueCommentMutation) ResetReactions ¶
func (m *IssueCommentMutation) ResetReactions()
ResetReactions resets all changes to the "reactions" field.
func (*IssueCommentMutation) ResetURL ¶
func (m *IssueCommentMutation) ResetURL()
ResetURL resets all changes to the "url" field.
func (*IssueCommentMutation) ResetUpdatedAt ¶
func (m *IssueCommentMutation) ResetUpdatedAt()
ResetUpdatedAt resets all changes to the "updated_at" field.
func (*IssueCommentMutation) ResetUser ¶
func (m *IssueCommentMutation) ResetUser()
ResetUser resets all changes to the "user" edge.
func (*IssueCommentMutation) SetAuthorAssociation ¶
func (m *IssueCommentMutation) SetAuthorAssociation(ia issuecomment.AuthorAssociation)
SetAuthorAssociation sets the "author_association" field.
func (*IssueCommentMutation) SetBody ¶
func (m *IssueCommentMutation) SetBody(s string)
SetBody sets the "body" field.
func (*IssueCommentMutation) SetCreatedAt ¶
func (m *IssueCommentMutation) SetCreatedAt(s string)
SetCreatedAt sets the "created_at" field.
func (*IssueCommentMutation) SetField ¶
func (m *IssueCommentMutation) SetField(name string, value ent.Value) error
SetField sets the value of a field with the given name. It returns an error if the field is not defined in the schema, or if the type mismatched the field type.
func (*IssueCommentMutation) SetHTMLURL ¶
func (m *IssueCommentMutation) SetHTMLURL(s string)
SetHTMLURL sets the "html_url" field.
func (*IssueCommentMutation) SetID ¶
func (m *IssueCommentMutation) SetID(id int64)
SetID sets the value of the id field. Note that this operation is only accepted on creation of IssueComment entities.
func (*IssueCommentMutation) SetIssueID ¶
func (m *IssueCommentMutation) SetIssueID(id int64)
SetIssueID sets the "issue" edge to the Issue entity by id.
func (*IssueCommentMutation) SetIssueURL ¶
func (m *IssueCommentMutation) SetIssueURL(s string)
SetIssueURL sets the "issue_url" field.
func (*IssueCommentMutation) SetNodeID ¶
func (m *IssueCommentMutation) SetNodeID(s string)
SetNodeID sets the "node_id" field.
func (*IssueCommentMutation) SetOp ¶
func (m *IssueCommentMutation) SetOp(op Op)
SetOp allows setting the mutation operation.
func (*IssueCommentMutation) SetReactions ¶
func (m *IssueCommentMutation) SetReactions(value map[string]interface{})
SetReactions sets the "reactions" field.
func (*IssueCommentMutation) SetURL ¶
func (m *IssueCommentMutation) SetURL(s string)
SetURL sets the "url" field.
func (*IssueCommentMutation) SetUpdatedAt ¶
func (m *IssueCommentMutation) SetUpdatedAt(s string)
SetUpdatedAt sets the "updated_at" field.
func (*IssueCommentMutation) SetUserID ¶
func (m *IssueCommentMutation) SetUserID(id int64)
SetUserID sets the "user" edge to the User entity by id.
func (IssueCommentMutation) Tx ¶
func (m IssueCommentMutation) Tx() (*Tx, error)
Tx returns an `ent.Tx` for mutations that were executed in transactions; it returns an error otherwise.
func (*IssueCommentMutation) Type ¶
func (m *IssueCommentMutation) Type() string
Type returns the node type of this mutation (IssueComment).
func (*IssueCommentMutation) URL ¶
func (m *IssueCommentMutation) URL() (r string, exists bool)
URL returns the value of the "url" field in the mutation.
func (*IssueCommentMutation) UpdatedAt ¶
func (m *IssueCommentMutation) UpdatedAt() (r string, exists bool)
UpdatedAt returns the value of the "updated_at" field in the mutation.
func (*IssueCommentMutation) UserCleared ¶
func (m *IssueCommentMutation) UserCleared() bool
UserCleared reports if the "user" edge to the User entity was cleared.
func (*IssueCommentMutation) UserID ¶
func (m *IssueCommentMutation) UserID() (id int64, exists bool)
UserID returns the "user" edge ID in the mutation.
func (*IssueCommentMutation) UserIDs ¶
func (m *IssueCommentMutation) UserIDs() (ids []int64)
UserIDs returns the "user" edge IDs in the mutation. Note that IDs always returns len(IDs) <= 1 for unique edges, and you should use UserID instead. It exists only for internal usage by the builders.
func (*IssueCommentMutation) Where ¶
func (m *IssueCommentMutation) Where(ps ...predicate.IssueComment)
Where appends a list predicates to the IssueCommentMutation builder.
func (*IssueCommentMutation) WhereP ¶
func (m *IssueCommentMutation) WhereP(ps ...func(*sql.Selector))
WhereP appends storage-level predicates to the IssueCommentMutation builder. Using this method, users can use type-assertion to append predicates that do not depend on any generated package.
type IssueCommentQuery ¶
type IssueCommentQuery struct {
// contains filtered or unexported fields
}
IssueCommentQuery is the builder for querying IssueComment entities.
func (*IssueCommentQuery) Aggregate ¶
func (icq *IssueCommentQuery) Aggregate(fns ...AggregateFunc) *IssueCommentSelect
Aggregate returns a IssueCommentSelect configured with the given aggregations.
func (*IssueCommentQuery) All ¶
func (icq *IssueCommentQuery) All(ctx context.Context) ([]*IssueComment, error)
All executes the query and returns a list of IssueComments.
func (*IssueCommentQuery) AllX ¶
func (icq *IssueCommentQuery) AllX(ctx context.Context) []*IssueComment
AllX is like All, but panics if an error occurs.
func (*IssueCommentQuery) Clone ¶
func (icq *IssueCommentQuery) Clone() *IssueCommentQuery
Clone returns a duplicate of the IssueCommentQuery builder, including all associated steps. It can be used to prepare common query builders and use them differently after the clone is made.
func (*IssueCommentQuery) Count ¶
func (icq *IssueCommentQuery) Count(ctx context.Context) (int, error)
Count returns the count of the given query.
func (*IssueCommentQuery) CountX ¶
func (icq *IssueCommentQuery) CountX(ctx context.Context) int
CountX is like Count, but panics if an error occurs.
func (*IssueCommentQuery) Exist ¶
func (icq *IssueCommentQuery) Exist(ctx context.Context) (bool, error)
Exist returns true if the query has elements in the graph.
func (*IssueCommentQuery) ExistX ¶
func (icq *IssueCommentQuery) ExistX(ctx context.Context) bool
ExistX is like Exist, but panics if an error occurs.
func (*IssueCommentQuery) First ¶
func (icq *IssueCommentQuery) First(ctx context.Context) (*IssueComment, error)
First returns the first IssueComment entity from the query. Returns a *NotFoundError when no IssueComment was found.
func (*IssueCommentQuery) FirstID ¶
func (icq *IssueCommentQuery) FirstID(ctx context.Context) (id int64, err error)
FirstID returns the first IssueComment ID from the query. Returns a *NotFoundError when no IssueComment ID was found.
func (*IssueCommentQuery) FirstIDX ¶
func (icq *IssueCommentQuery) FirstIDX(ctx context.Context) int64
FirstIDX is like FirstID, but panics if an error occurs.
func (*IssueCommentQuery) FirstX ¶
func (icq *IssueCommentQuery) FirstX(ctx context.Context) *IssueComment
FirstX is like First, but panics if an error occurs.
func (*IssueCommentQuery) GroupBy ¶
func (icq *IssueCommentQuery) GroupBy(field string, fields ...string) *IssueCommentGroupBy
GroupBy is used to group vertices by one or more fields/columns. It is often used with aggregate functions, like: count, max, mean, min, sum.
Example:
var v []struct { NodeID string `json:"node_id"` Count int `json:"count,omitempty"` } client.IssueComment.Query(). GroupBy(issuecomment.FieldNodeID). Aggregate(ent.Count()). Scan(ctx, &v)
func (*IssueCommentQuery) IDs ¶
func (icq *IssueCommentQuery) IDs(ctx context.Context) (ids []int64, err error)
IDs executes the query and returns a list of IssueComment IDs.
func (*IssueCommentQuery) IDsX ¶
func (icq *IssueCommentQuery) IDsX(ctx context.Context) []int64
IDsX is like IDs, but panics if an error occurs.
func (*IssueCommentQuery) Limit ¶
func (icq *IssueCommentQuery) Limit(limit int) *IssueCommentQuery
Limit the number of records to be returned by this query.
func (*IssueCommentQuery) Offset ¶
func (icq *IssueCommentQuery) Offset(offset int) *IssueCommentQuery
Offset to start from.
func (*IssueCommentQuery) Only ¶
func (icq *IssueCommentQuery) Only(ctx context.Context) (*IssueComment, error)
Only returns a single IssueComment entity found by the query, ensuring it only returns one. Returns a *NotSingularError when more than one IssueComment entity is found. Returns a *NotFoundError when no IssueComment entities are found.
func (*IssueCommentQuery) OnlyID ¶
func (icq *IssueCommentQuery) OnlyID(ctx context.Context) (id int64, err error)
OnlyID is like Only, but returns the only IssueComment ID in the query. Returns a *NotSingularError when more than one IssueComment ID is found. Returns a *NotFoundError when no entities are found.
func (*IssueCommentQuery) OnlyIDX ¶
func (icq *IssueCommentQuery) OnlyIDX(ctx context.Context) int64
OnlyIDX is like OnlyID, but panics if an error occurs.
func (*IssueCommentQuery) OnlyX ¶
func (icq *IssueCommentQuery) OnlyX(ctx context.Context) *IssueComment
OnlyX is like Only, but panics if an error occurs.
func (*IssueCommentQuery) Order ¶
func (icq *IssueCommentQuery) Order(o ...issuecomment.OrderOption) *IssueCommentQuery
Order specifies how the records should be ordered.
func (*IssueCommentQuery) QueryIssue ¶
func (icq *IssueCommentQuery) QueryIssue() *IssueQuery
QueryIssue chains the current query on the "issue" edge.
func (*IssueCommentQuery) QueryUser ¶
func (icq *IssueCommentQuery) QueryUser() *UserQuery
QueryUser chains the current query on the "user" edge.
func (*IssueCommentQuery) Select ¶
func (icq *IssueCommentQuery) Select(fields ...string) *IssueCommentSelect
Select allows the selection one or more fields/columns for the given query, instead of selecting all fields in the entity.
Example:
var v []struct { NodeID string `json:"node_id"` } client.IssueComment.Query(). Select(issuecomment.FieldNodeID). Scan(ctx, &v)
func (*IssueCommentQuery) Unique ¶
func (icq *IssueCommentQuery) Unique(unique bool) *IssueCommentQuery
Unique configures the query builder to filter duplicate records on query. By default, unique is set to true, and can be disabled using this method.
func (*IssueCommentQuery) Where ¶
func (icq *IssueCommentQuery) Where(ps ...predicate.IssueComment) *IssueCommentQuery
Where adds a new predicate for the IssueCommentQuery builder.
func (*IssueCommentQuery) WithIssue ¶
func (icq *IssueCommentQuery) WithIssue(opts ...func(*IssueQuery)) *IssueCommentQuery
WithIssue tells the query-builder to eager-load the nodes that are connected to the "issue" edge. The optional arguments are used to configure the query builder of the edge.
func (*IssueCommentQuery) WithUser ¶
func (icq *IssueCommentQuery) WithUser(opts ...func(*UserQuery)) *IssueCommentQuery
WithUser tells the query-builder to eager-load the nodes that are connected to the "user" edge. The optional arguments are used to configure the query builder of the edge.
type IssueCommentSelect ¶
type IssueCommentSelect struct { *IssueCommentQuery // contains filtered or unexported fields }
IssueCommentSelect is the builder for selecting fields of IssueComment entities.
func (*IssueCommentSelect) Aggregate ¶
func (ics *IssueCommentSelect) Aggregate(fns ...AggregateFunc) *IssueCommentSelect
Aggregate adds the given aggregation functions to the selector query.
func (*IssueCommentSelect) Bool ¶
Bool returns a single bool from a selector. It is only allowed when selecting one field.
func (*IssueCommentSelect) Bools ¶
Bools returns list of bools from a selector. It is only allowed when selecting one field.
func (*IssueCommentSelect) Float64 ¶
Float64 returns a single float64 from a selector. It is only allowed when selecting one field.
func (*IssueCommentSelect) Float64s ¶
Float64s returns list of float64s from a selector. It is only allowed when selecting one field.
func (*IssueCommentSelect) Int ¶
Int returns a single int from a selector. It is only allowed when selecting one field.
func (*IssueCommentSelect) Ints ¶
Ints returns list of ints from a selector. It is only allowed when selecting one field.
func (*IssueCommentSelect) Scan ¶
func (ics *IssueCommentSelect) Scan(ctx context.Context, v any) error
Scan applies the selector query and scans the result into the given value.
func (*IssueCommentSelect) String ¶
String returns a single string from a selector. It is only allowed when selecting one field.
type IssueCommentUpdate ¶
type IssueCommentUpdate struct {
// contains filtered or unexported fields
}
IssueCommentUpdate is the builder for updating IssueComment entities.
func (*IssueCommentUpdate) ClearIssue ¶
func (icu *IssueCommentUpdate) ClearIssue() *IssueCommentUpdate
ClearIssue clears the "issue" edge to the Issue entity.
func (*IssueCommentUpdate) ClearUser ¶
func (icu *IssueCommentUpdate) ClearUser() *IssueCommentUpdate
ClearUser clears the "user" edge to the User entity.
func (*IssueCommentUpdate) Exec ¶
func (icu *IssueCommentUpdate) Exec(ctx context.Context) error
Exec executes the query.
func (*IssueCommentUpdate) ExecX ¶
func (icu *IssueCommentUpdate) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*IssueCommentUpdate) Mutation ¶
func (icu *IssueCommentUpdate) Mutation() *IssueCommentMutation
Mutation returns the IssueCommentMutation object of the builder.
func (*IssueCommentUpdate) Save ¶
func (icu *IssueCommentUpdate) Save(ctx context.Context) (int, error)
Save executes the query and returns the number of nodes affected by the update operation.
func (*IssueCommentUpdate) SaveX ¶
func (icu *IssueCommentUpdate) SaveX(ctx context.Context) int
SaveX is like Save, but panics if an error occurs.
func (*IssueCommentUpdate) SetAuthorAssociation ¶
func (icu *IssueCommentUpdate) SetAuthorAssociation(ia issuecomment.AuthorAssociation) *IssueCommentUpdate
SetAuthorAssociation sets the "author_association" field.
func (*IssueCommentUpdate) SetBody ¶
func (icu *IssueCommentUpdate) SetBody(s string) *IssueCommentUpdate
SetBody sets the "body" field.
func (*IssueCommentUpdate) SetCreatedAt ¶
func (icu *IssueCommentUpdate) SetCreatedAt(s string) *IssueCommentUpdate
SetCreatedAt sets the "created_at" field.
func (*IssueCommentUpdate) SetHTMLURL ¶
func (icu *IssueCommentUpdate) SetHTMLURL(s string) *IssueCommentUpdate
SetHTMLURL sets the "html_url" field.
func (*IssueCommentUpdate) SetIssue ¶
func (icu *IssueCommentUpdate) SetIssue(i *Issue) *IssueCommentUpdate
SetIssue sets the "issue" edge to the Issue entity.
func (*IssueCommentUpdate) SetIssueID ¶
func (icu *IssueCommentUpdate) SetIssueID(id int64) *IssueCommentUpdate
SetIssueID sets the "issue" edge to the Issue entity by ID.
func (*IssueCommentUpdate) SetIssueURL ¶
func (icu *IssueCommentUpdate) SetIssueURL(s string) *IssueCommentUpdate
SetIssueURL sets the "issue_url" field.
func (*IssueCommentUpdate) SetNillableAuthorAssociation ¶
func (icu *IssueCommentUpdate) SetNillableAuthorAssociation(ia *issuecomment.AuthorAssociation) *IssueCommentUpdate
SetNillableAuthorAssociation sets the "author_association" field if the given value is not nil.
func (*IssueCommentUpdate) SetNillableBody ¶
func (icu *IssueCommentUpdate) SetNillableBody(s *string) *IssueCommentUpdate
SetNillableBody sets the "body" field if the given value is not nil.
func (*IssueCommentUpdate) SetNillableCreatedAt ¶
func (icu *IssueCommentUpdate) SetNillableCreatedAt(s *string) *IssueCommentUpdate
SetNillableCreatedAt sets the "created_at" field if the given value is not nil.
func (*IssueCommentUpdate) SetNillableHTMLURL ¶
func (icu *IssueCommentUpdate) SetNillableHTMLURL(s *string) *IssueCommentUpdate
SetNillableHTMLURL sets the "html_url" field if the given value is not nil.
func (*IssueCommentUpdate) SetNillableIssueID ¶
func (icu *IssueCommentUpdate) SetNillableIssueID(id *int64) *IssueCommentUpdate
SetNillableIssueID sets the "issue" edge to the Issue entity by ID if the given value is not nil.
func (*IssueCommentUpdate) SetNillableIssueURL ¶
func (icu *IssueCommentUpdate) SetNillableIssueURL(s *string) *IssueCommentUpdate
SetNillableIssueURL sets the "issue_url" field if the given value is not nil.
func (*IssueCommentUpdate) SetNillableNodeID ¶
func (icu *IssueCommentUpdate) SetNillableNodeID(s *string) *IssueCommentUpdate
SetNillableNodeID sets the "node_id" field if the given value is not nil.
func (*IssueCommentUpdate) SetNillableURL ¶
func (icu *IssueCommentUpdate) SetNillableURL(s *string) *IssueCommentUpdate
SetNillableURL sets the "url" field if the given value is not nil.
func (*IssueCommentUpdate) SetNillableUpdatedAt ¶
func (icu *IssueCommentUpdate) SetNillableUpdatedAt(s *string) *IssueCommentUpdate
SetNillableUpdatedAt sets the "updated_at" field if the given value is not nil.
func (*IssueCommentUpdate) SetNillableUserID ¶
func (icu *IssueCommentUpdate) SetNillableUserID(id *int64) *IssueCommentUpdate
SetNillableUserID sets the "user" edge to the User entity by ID if the given value is not nil.
func (*IssueCommentUpdate) SetNodeID ¶
func (icu *IssueCommentUpdate) SetNodeID(s string) *IssueCommentUpdate
SetNodeID sets the "node_id" field.
func (*IssueCommentUpdate) SetReactions ¶
func (icu *IssueCommentUpdate) SetReactions(m map[string]interface{}) *IssueCommentUpdate
SetReactions sets the "reactions" field.
func (*IssueCommentUpdate) SetURL ¶
func (icu *IssueCommentUpdate) SetURL(s string) *IssueCommentUpdate
SetURL sets the "url" field.
func (*IssueCommentUpdate) SetUpdatedAt ¶
func (icu *IssueCommentUpdate) SetUpdatedAt(s string) *IssueCommentUpdate
SetUpdatedAt sets the "updated_at" field.
func (*IssueCommentUpdate) SetUser ¶
func (icu *IssueCommentUpdate) SetUser(u *User) *IssueCommentUpdate
SetUser sets the "user" edge to the User entity.
func (*IssueCommentUpdate) SetUserID ¶
func (icu *IssueCommentUpdate) SetUserID(id int64) *IssueCommentUpdate
SetUserID sets the "user" edge to the User entity by ID.
func (*IssueCommentUpdate) Where ¶
func (icu *IssueCommentUpdate) Where(ps ...predicate.IssueComment) *IssueCommentUpdate
Where appends a list predicates to the IssueCommentUpdate builder.
type IssueCommentUpdateOne ¶
type IssueCommentUpdateOne struct {
// contains filtered or unexported fields
}
IssueCommentUpdateOne is the builder for updating a single IssueComment entity.
func (*IssueCommentUpdateOne) ClearIssue ¶
func (icuo *IssueCommentUpdateOne) ClearIssue() *IssueCommentUpdateOne
ClearIssue clears the "issue" edge to the Issue entity.
func (*IssueCommentUpdateOne) ClearUser ¶
func (icuo *IssueCommentUpdateOne) ClearUser() *IssueCommentUpdateOne
ClearUser clears the "user" edge to the User entity.
func (*IssueCommentUpdateOne) CopyIssueComment ¶
func (icuo *IssueCommentUpdateOne) CopyIssueComment(input *IssueComment) *IssueCommentUpdateOne
CopyIssueComment allows to update a IssueComment copying the existing values of input.
func (*IssueCommentUpdateOne) Exec ¶
func (icuo *IssueCommentUpdateOne) Exec(ctx context.Context) error
Exec executes the query on the entity.
func (*IssueCommentUpdateOne) ExecX ¶
func (icuo *IssueCommentUpdateOne) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*IssueCommentUpdateOne) Mutation ¶
func (icuo *IssueCommentUpdateOne) Mutation() *IssueCommentMutation
Mutation returns the IssueCommentMutation object of the builder.
func (*IssueCommentUpdateOne) Save ¶
func (icuo *IssueCommentUpdateOne) Save(ctx context.Context) (*IssueComment, error)
Save executes the query and returns the updated IssueComment entity.
func (*IssueCommentUpdateOne) SaveX ¶
func (icuo *IssueCommentUpdateOne) SaveX(ctx context.Context) *IssueComment
SaveX is like Save, but panics if an error occurs.
func (*IssueCommentUpdateOne) Select ¶
func (icuo *IssueCommentUpdateOne) Select(field string, fields ...string) *IssueCommentUpdateOne
Select allows selecting one or more fields (columns) of the returned entity. The default is selecting all fields defined in the entity schema.
func (*IssueCommentUpdateOne) SetAuthorAssociation ¶
func (icuo *IssueCommentUpdateOne) SetAuthorAssociation(ia issuecomment.AuthorAssociation) *IssueCommentUpdateOne
SetAuthorAssociation sets the "author_association" field.
func (*IssueCommentUpdateOne) SetBody ¶
func (icuo *IssueCommentUpdateOne) SetBody(s string) *IssueCommentUpdateOne
SetBody sets the "body" field.
func (*IssueCommentUpdateOne) SetCreatedAt ¶
func (icuo *IssueCommentUpdateOne) SetCreatedAt(s string) *IssueCommentUpdateOne
SetCreatedAt sets the "created_at" field.
func (*IssueCommentUpdateOne) SetHTMLURL ¶
func (icuo *IssueCommentUpdateOne) SetHTMLURL(s string) *IssueCommentUpdateOne
SetHTMLURL sets the "html_url" field.
func (*IssueCommentUpdateOne) SetIssue ¶
func (icuo *IssueCommentUpdateOne) SetIssue(i *Issue) *IssueCommentUpdateOne
SetIssue sets the "issue" edge to the Issue entity.
func (*IssueCommentUpdateOne) SetIssueID ¶
func (icuo *IssueCommentUpdateOne) SetIssueID(id int64) *IssueCommentUpdateOne
SetIssueID sets the "issue" edge to the Issue entity by ID.
func (*IssueCommentUpdateOne) SetIssueURL ¶
func (icuo *IssueCommentUpdateOne) SetIssueURL(s string) *IssueCommentUpdateOne
SetIssueURL sets the "issue_url" field.
func (*IssueCommentUpdateOne) SetNillableAuthorAssociation ¶
func (icuo *IssueCommentUpdateOne) SetNillableAuthorAssociation(ia *issuecomment.AuthorAssociation) *IssueCommentUpdateOne
SetNillableAuthorAssociation sets the "author_association" field if the given value is not nil.
func (*IssueCommentUpdateOne) SetNillableBody ¶
func (icuo *IssueCommentUpdateOne) SetNillableBody(s *string) *IssueCommentUpdateOne
SetNillableBody sets the "body" field if the given value is not nil.
func (*IssueCommentUpdateOne) SetNillableCreatedAt ¶
func (icuo *IssueCommentUpdateOne) SetNillableCreatedAt(s *string) *IssueCommentUpdateOne
SetNillableCreatedAt sets the "created_at" field if the given value is not nil.
func (*IssueCommentUpdateOne) SetNillableHTMLURL ¶
func (icuo *IssueCommentUpdateOne) SetNillableHTMLURL(s *string) *IssueCommentUpdateOne
SetNillableHTMLURL sets the "html_url" field if the given value is not nil.
func (*IssueCommentUpdateOne) SetNillableIssueID ¶
func (icuo *IssueCommentUpdateOne) SetNillableIssueID(id *int64) *IssueCommentUpdateOne
SetNillableIssueID sets the "issue" edge to the Issue entity by ID if the given value is not nil.
func (*IssueCommentUpdateOne) SetNillableIssueURL ¶
func (icuo *IssueCommentUpdateOne) SetNillableIssueURL(s *string) *IssueCommentUpdateOne
SetNillableIssueURL sets the "issue_url" field if the given value is not nil.
func (*IssueCommentUpdateOne) SetNillableNodeID ¶
func (icuo *IssueCommentUpdateOne) SetNillableNodeID(s *string) *IssueCommentUpdateOne
SetNillableNodeID sets the "node_id" field if the given value is not nil.
func (*IssueCommentUpdateOne) SetNillableURL ¶
func (icuo *IssueCommentUpdateOne) SetNillableURL(s *string) *IssueCommentUpdateOne
SetNillableURL sets the "url" field if the given value is not nil.
func (*IssueCommentUpdateOne) SetNillableUpdatedAt ¶
func (icuo *IssueCommentUpdateOne) SetNillableUpdatedAt(s *string) *IssueCommentUpdateOne
SetNillableUpdatedAt sets the "updated_at" field if the given value is not nil.
func (*IssueCommentUpdateOne) SetNillableUserID ¶
func (icuo *IssueCommentUpdateOne) SetNillableUserID(id *int64) *IssueCommentUpdateOne
SetNillableUserID sets the "user" edge to the User entity by ID if the given value is not nil.
func (*IssueCommentUpdateOne) SetNodeID ¶
func (icuo *IssueCommentUpdateOne) SetNodeID(s string) *IssueCommentUpdateOne
SetNodeID sets the "node_id" field.
func (*IssueCommentUpdateOne) SetReactions ¶
func (icuo *IssueCommentUpdateOne) SetReactions(m map[string]interface{}) *IssueCommentUpdateOne
SetReactions sets the "reactions" field.
func (*IssueCommentUpdateOne) SetURL ¶
func (icuo *IssueCommentUpdateOne) SetURL(s string) *IssueCommentUpdateOne
SetURL sets the "url" field.
func (*IssueCommentUpdateOne) SetUpdatedAt ¶
func (icuo *IssueCommentUpdateOne) SetUpdatedAt(s string) *IssueCommentUpdateOne
SetUpdatedAt sets the "updated_at" field.
func (*IssueCommentUpdateOne) SetUser ¶
func (icuo *IssueCommentUpdateOne) SetUser(u *User) *IssueCommentUpdateOne
SetUser sets the "user" edge to the User entity.
func (*IssueCommentUpdateOne) SetUserID ¶
func (icuo *IssueCommentUpdateOne) SetUserID(id int64) *IssueCommentUpdateOne
SetUserID sets the "user" edge to the User entity by ID.
func (*IssueCommentUpdateOne) Where ¶
func (icuo *IssueCommentUpdateOne) Where(ps ...predicate.IssueComment) *IssueCommentUpdateOne
Where appends a list predicates to the IssueCommentUpdate builder.
type IssueCommentUpsert ¶
IssueCommentUpsert is the "OnConflict" setter.
func (*IssueCommentUpsert) SetAuthorAssociation ¶
func (u *IssueCommentUpsert) SetAuthorAssociation(v issuecomment.AuthorAssociation) *IssueCommentUpsert
SetAuthorAssociation sets the "author_association" field.
func (*IssueCommentUpsert) SetBody ¶
func (u *IssueCommentUpsert) SetBody(v string) *IssueCommentUpsert
SetBody sets the "body" field.
func (*IssueCommentUpsert) SetCreatedAt ¶
func (u *IssueCommentUpsert) SetCreatedAt(v string) *IssueCommentUpsert
SetCreatedAt sets the "created_at" field.
func (*IssueCommentUpsert) SetHTMLURL ¶
func (u *IssueCommentUpsert) SetHTMLURL(v string) *IssueCommentUpsert
SetHTMLURL sets the "html_url" field.
func (*IssueCommentUpsert) SetIssueURL ¶
func (u *IssueCommentUpsert) SetIssueURL(v string) *IssueCommentUpsert
SetIssueURL sets the "issue_url" field.
func (*IssueCommentUpsert) SetNodeID ¶
func (u *IssueCommentUpsert) SetNodeID(v string) *IssueCommentUpsert
SetNodeID sets the "node_id" field.
func (*IssueCommentUpsert) SetReactions ¶
func (u *IssueCommentUpsert) SetReactions(v map[string]interface{}) *IssueCommentUpsert
SetReactions sets the "reactions" field.
func (*IssueCommentUpsert) SetURL ¶
func (u *IssueCommentUpsert) SetURL(v string) *IssueCommentUpsert
SetURL sets the "url" field.
func (*IssueCommentUpsert) SetUpdatedAt ¶
func (u *IssueCommentUpsert) SetUpdatedAt(v string) *IssueCommentUpsert
SetUpdatedAt sets the "updated_at" field.
func (*IssueCommentUpsert) UpdateAuthorAssociation ¶
func (u *IssueCommentUpsert) UpdateAuthorAssociation() *IssueCommentUpsert
UpdateAuthorAssociation sets the "author_association" field to the value that was provided on create.
func (*IssueCommentUpsert) UpdateBody ¶
func (u *IssueCommentUpsert) UpdateBody() *IssueCommentUpsert
UpdateBody sets the "body" field to the value that was provided on create.
func (*IssueCommentUpsert) UpdateCreatedAt ¶
func (u *IssueCommentUpsert) UpdateCreatedAt() *IssueCommentUpsert
UpdateCreatedAt sets the "created_at" field to the value that was provided on create.
func (*IssueCommentUpsert) UpdateHTMLURL ¶
func (u *IssueCommentUpsert) UpdateHTMLURL() *IssueCommentUpsert
UpdateHTMLURL sets the "html_url" field to the value that was provided on create.
func (*IssueCommentUpsert) UpdateIssueURL ¶
func (u *IssueCommentUpsert) UpdateIssueURL() *IssueCommentUpsert
UpdateIssueURL sets the "issue_url" field to the value that was provided on create.
func (*IssueCommentUpsert) UpdateNodeID ¶
func (u *IssueCommentUpsert) UpdateNodeID() *IssueCommentUpsert
UpdateNodeID sets the "node_id" field to the value that was provided on create.
func (*IssueCommentUpsert) UpdateReactions ¶
func (u *IssueCommentUpsert) UpdateReactions() *IssueCommentUpsert
UpdateReactions sets the "reactions" field to the value that was provided on create.
func (*IssueCommentUpsert) UpdateURL ¶
func (u *IssueCommentUpsert) UpdateURL() *IssueCommentUpsert
UpdateURL sets the "url" field to the value that was provided on create.
func (*IssueCommentUpsert) UpdateUpdatedAt ¶
func (u *IssueCommentUpsert) UpdateUpdatedAt() *IssueCommentUpsert
UpdateUpdatedAt sets the "updated_at" field to the value that was provided on create.
type IssueCommentUpsertBulk ¶
type IssueCommentUpsertBulk struct {
// contains filtered or unexported fields
}
IssueCommentUpsertBulk is the builder for "upsert"-ing a bulk of IssueComment nodes.
func (*IssueCommentUpsertBulk) DoNothing ¶
func (u *IssueCommentUpsertBulk) DoNothing() *IssueCommentUpsertBulk
DoNothing configures the conflict_action to `DO NOTHING`. Supported only by SQLite and PostgreSQL.
func (*IssueCommentUpsertBulk) Exec ¶
func (u *IssueCommentUpsertBulk) Exec(ctx context.Context) error
Exec executes the query.
func (*IssueCommentUpsertBulk) ExecX ¶
func (u *IssueCommentUpsertBulk) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*IssueCommentUpsertBulk) Ignore ¶
func (u *IssueCommentUpsertBulk) Ignore() *IssueCommentUpsertBulk
Ignore sets each column to itself in case of conflict. Using this option is equivalent to using:
client.IssueComment.Create(). OnConflict(sql.ResolveWithIgnore()). Exec(ctx)
func (*IssueCommentUpsertBulk) SetAuthorAssociation ¶
func (u *IssueCommentUpsertBulk) SetAuthorAssociation(v issuecomment.AuthorAssociation) *IssueCommentUpsertBulk
SetAuthorAssociation sets the "author_association" field.
func (*IssueCommentUpsertBulk) SetBody ¶
func (u *IssueCommentUpsertBulk) SetBody(v string) *IssueCommentUpsertBulk
SetBody sets the "body" field.
func (*IssueCommentUpsertBulk) SetCreatedAt ¶
func (u *IssueCommentUpsertBulk) SetCreatedAt(v string) *IssueCommentUpsertBulk
SetCreatedAt sets the "created_at" field.
func (*IssueCommentUpsertBulk) SetHTMLURL ¶
func (u *IssueCommentUpsertBulk) SetHTMLURL(v string) *IssueCommentUpsertBulk
SetHTMLURL sets the "html_url" field.
func (*IssueCommentUpsertBulk) SetIssueURL ¶
func (u *IssueCommentUpsertBulk) SetIssueURL(v string) *IssueCommentUpsertBulk
SetIssueURL sets the "issue_url" field.
func (*IssueCommentUpsertBulk) SetNodeID ¶
func (u *IssueCommentUpsertBulk) SetNodeID(v string) *IssueCommentUpsertBulk
SetNodeID sets the "node_id" field.
func (*IssueCommentUpsertBulk) SetReactions ¶
func (u *IssueCommentUpsertBulk) SetReactions(v map[string]interface{}) *IssueCommentUpsertBulk
SetReactions sets the "reactions" field.
func (*IssueCommentUpsertBulk) SetURL ¶
func (u *IssueCommentUpsertBulk) SetURL(v string) *IssueCommentUpsertBulk
SetURL sets the "url" field.
func (*IssueCommentUpsertBulk) SetUpdatedAt ¶
func (u *IssueCommentUpsertBulk) SetUpdatedAt(v string) *IssueCommentUpsertBulk
SetUpdatedAt sets the "updated_at" field.
func (*IssueCommentUpsertBulk) Update ¶
func (u *IssueCommentUpsertBulk) Update(set func(*IssueCommentUpsert)) *IssueCommentUpsertBulk
Update allows overriding fields `UPDATE` values. See the IssueCommentCreateBulk.OnConflict documentation for more info.
func (*IssueCommentUpsertBulk) UpdateAuthorAssociation ¶
func (u *IssueCommentUpsertBulk) UpdateAuthorAssociation() *IssueCommentUpsertBulk
UpdateAuthorAssociation sets the "author_association" field to the value that was provided on create.
func (*IssueCommentUpsertBulk) UpdateBody ¶
func (u *IssueCommentUpsertBulk) UpdateBody() *IssueCommentUpsertBulk
UpdateBody sets the "body" field to the value that was provided on create.
func (*IssueCommentUpsertBulk) UpdateCreatedAt ¶
func (u *IssueCommentUpsertBulk) UpdateCreatedAt() *IssueCommentUpsertBulk
UpdateCreatedAt sets the "created_at" field to the value that was provided on create.
func (*IssueCommentUpsertBulk) UpdateHTMLURL ¶
func (u *IssueCommentUpsertBulk) UpdateHTMLURL() *IssueCommentUpsertBulk
UpdateHTMLURL sets the "html_url" field to the value that was provided on create.
func (*IssueCommentUpsertBulk) UpdateIssueURL ¶
func (u *IssueCommentUpsertBulk) UpdateIssueURL() *IssueCommentUpsertBulk
UpdateIssueURL sets the "issue_url" field to the value that was provided on create.
func (*IssueCommentUpsertBulk) UpdateNewValues ¶
func (u *IssueCommentUpsertBulk) UpdateNewValues() *IssueCommentUpsertBulk
UpdateNewValues updates the mutable fields using the new values that were set on create. Using this option is equivalent to using:
client.IssueComment.Create(). OnConflict( sql.ResolveWithNewValues(), sql.ResolveWith(func(u *sql.UpdateSet) { u.SetIgnore(issuecomment.FieldID) }), ). Exec(ctx)
func (*IssueCommentUpsertBulk) UpdateNodeID ¶
func (u *IssueCommentUpsertBulk) UpdateNodeID() *IssueCommentUpsertBulk
UpdateNodeID sets the "node_id" field to the value that was provided on create.
func (*IssueCommentUpsertBulk) UpdateReactions ¶
func (u *IssueCommentUpsertBulk) UpdateReactions() *IssueCommentUpsertBulk
UpdateReactions sets the "reactions" field to the value that was provided on create.
func (*IssueCommentUpsertBulk) UpdateURL ¶
func (u *IssueCommentUpsertBulk) UpdateURL() *IssueCommentUpsertBulk
UpdateURL sets the "url" field to the value that was provided on create.
func (*IssueCommentUpsertBulk) UpdateUpdatedAt ¶
func (u *IssueCommentUpsertBulk) UpdateUpdatedAt() *IssueCommentUpsertBulk
UpdateUpdatedAt sets the "updated_at" field to the value that was provided on create.
type IssueCommentUpsertOne ¶
type IssueCommentUpsertOne struct {
// contains filtered or unexported fields
}
IssueCommentUpsertOne is the builder for "upsert"-ing
one IssueComment node.
func (*IssueCommentUpsertOne) DoNothing ¶
func (u *IssueCommentUpsertOne) DoNothing() *IssueCommentUpsertOne
DoNothing configures the conflict_action to `DO NOTHING`. Supported only by SQLite and PostgreSQL.
func (*IssueCommentUpsertOne) Exec ¶
func (u *IssueCommentUpsertOne) Exec(ctx context.Context) error
Exec executes the query.
func (*IssueCommentUpsertOne) ExecX ¶
func (u *IssueCommentUpsertOne) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*IssueCommentUpsertOne) ID ¶
func (u *IssueCommentUpsertOne) ID(ctx context.Context) (id int64, err error)
Exec executes the UPSERT query and returns the inserted/updated ID.
func (*IssueCommentUpsertOne) IDX ¶
func (u *IssueCommentUpsertOne) IDX(ctx context.Context) int64
IDX is like ID, but panics if an error occurs.
func (*IssueCommentUpsertOne) Ignore ¶
func (u *IssueCommentUpsertOne) Ignore() *IssueCommentUpsertOne
Ignore sets each column to itself in case of conflict. Using this option is equivalent to using:
client.IssueComment.Create(). OnConflict(sql.ResolveWithIgnore()). Exec(ctx)
func (*IssueCommentUpsertOne) SetAuthorAssociation ¶
func (u *IssueCommentUpsertOne) SetAuthorAssociation(v issuecomment.AuthorAssociation) *IssueCommentUpsertOne
SetAuthorAssociation sets the "author_association" field.
func (*IssueCommentUpsertOne) SetBody ¶
func (u *IssueCommentUpsertOne) SetBody(v string) *IssueCommentUpsertOne
SetBody sets the "body" field.
func (*IssueCommentUpsertOne) SetCreatedAt ¶
func (u *IssueCommentUpsertOne) SetCreatedAt(v string) *IssueCommentUpsertOne
SetCreatedAt sets the "created_at" field.
func (*IssueCommentUpsertOne) SetHTMLURL ¶
func (u *IssueCommentUpsertOne) SetHTMLURL(v string) *IssueCommentUpsertOne
SetHTMLURL sets the "html_url" field.
func (*IssueCommentUpsertOne) SetIssueURL ¶
func (u *IssueCommentUpsertOne) SetIssueURL(v string) *IssueCommentUpsertOne
SetIssueURL sets the "issue_url" field.
func (*IssueCommentUpsertOne) SetNodeID ¶
func (u *IssueCommentUpsertOne) SetNodeID(v string) *IssueCommentUpsertOne
SetNodeID sets the "node_id" field.
func (*IssueCommentUpsertOne) SetReactions ¶
func (u *IssueCommentUpsertOne) SetReactions(v map[string]interface{}) *IssueCommentUpsertOne
SetReactions sets the "reactions" field.
func (*IssueCommentUpsertOne) SetURL ¶
func (u *IssueCommentUpsertOne) SetURL(v string) *IssueCommentUpsertOne
SetURL sets the "url" field.
func (*IssueCommentUpsertOne) SetUpdatedAt ¶
func (u *IssueCommentUpsertOne) SetUpdatedAt(v string) *IssueCommentUpsertOne
SetUpdatedAt sets the "updated_at" field.
func (*IssueCommentUpsertOne) Update ¶
func (u *IssueCommentUpsertOne) Update(set func(*IssueCommentUpsert)) *IssueCommentUpsertOne
Update allows overriding fields `UPDATE` values. See the IssueCommentCreate.OnConflict documentation for more info.
func (*IssueCommentUpsertOne) UpdateAuthorAssociation ¶
func (u *IssueCommentUpsertOne) UpdateAuthorAssociation() *IssueCommentUpsertOne
UpdateAuthorAssociation sets the "author_association" field to the value that was provided on create.
func (*IssueCommentUpsertOne) UpdateBody ¶
func (u *IssueCommentUpsertOne) UpdateBody() *IssueCommentUpsertOne
UpdateBody sets the "body" field to the value that was provided on create.
func (*IssueCommentUpsertOne) UpdateCreatedAt ¶
func (u *IssueCommentUpsertOne) UpdateCreatedAt() *IssueCommentUpsertOne
UpdateCreatedAt sets the "created_at" field to the value that was provided on create.
func (*IssueCommentUpsertOne) UpdateHTMLURL ¶
func (u *IssueCommentUpsertOne) UpdateHTMLURL() *IssueCommentUpsertOne
UpdateHTMLURL sets the "html_url" field to the value that was provided on create.
func (*IssueCommentUpsertOne) UpdateIssueURL ¶
func (u *IssueCommentUpsertOne) UpdateIssueURL() *IssueCommentUpsertOne
UpdateIssueURL sets the "issue_url" field to the value that was provided on create.
func (*IssueCommentUpsertOne) UpdateNewValues ¶
func (u *IssueCommentUpsertOne) UpdateNewValues() *IssueCommentUpsertOne
UpdateNewValues updates the mutable fields using the new values that were set on create except the ID field. Using this option is equivalent to using:
client.IssueComment.Create(). OnConflict( sql.ResolveWithNewValues(), sql.ResolveWith(func(u *sql.UpdateSet) { u.SetIgnore(issuecomment.FieldID) }), ). Exec(ctx)
func (*IssueCommentUpsertOne) UpdateNodeID ¶
func (u *IssueCommentUpsertOne) UpdateNodeID() *IssueCommentUpsertOne
UpdateNodeID sets the "node_id" field to the value that was provided on create.
func (*IssueCommentUpsertOne) UpdateReactions ¶
func (u *IssueCommentUpsertOne) UpdateReactions() *IssueCommentUpsertOne
UpdateReactions sets the "reactions" field to the value that was provided on create.
func (*IssueCommentUpsertOne) UpdateURL ¶
func (u *IssueCommentUpsertOne) UpdateURL() *IssueCommentUpsertOne
UpdateURL sets the "url" field to the value that was provided on create.
func (*IssueCommentUpsertOne) UpdateUpdatedAt ¶
func (u *IssueCommentUpsertOne) UpdateUpdatedAt() *IssueCommentUpsertOne
UpdateUpdatedAt sets the "updated_at" field to the value that was provided on create.
type IssueComments ¶
type IssueComments []*IssueComment
IssueComments is a parsable slice of IssueComment.
type IssueCreate ¶
type IssueCreate struct {
// contains filtered or unexported fields
}
IssueCreate is the builder for creating a Issue entity.
func (*IssueCreate) AddAssigneeIDs ¶
func (ic *IssueCreate) AddAssigneeIDs(ids ...int64) *IssueCreate
AddAssigneeIDs adds the "assignees" edge to the User entity by IDs.
func (*IssueCreate) AddAssignees ¶
func (ic *IssueCreate) AddAssignees(u ...*User) *IssueCreate
AddAssignees adds the "assignees" edges to the User entity.
func (*IssueCreate) AddCommentIDs ¶
func (ic *IssueCreate) AddCommentIDs(ids ...int64) *IssueCreate
AddCommentIDs adds the "comments" edge to the IssueComment entity by IDs.
func (*IssueCreate) AddComments ¶
func (ic *IssueCreate) AddComments(i ...*IssueComment) *IssueCreate
AddComments adds the "comments" edges to the IssueComment entity.
func (*IssueCreate) CopyIssue ¶
func (ic *IssueCreate) CopyIssue(input *Issue) *IssueCreate
CopyIssue allows to create a new Issue copying the existing values of input.
func (*IssueCreate) Exec ¶
func (ic *IssueCreate) Exec(ctx context.Context) error
Exec executes the query.
func (*IssueCreate) ExecX ¶
func (ic *IssueCreate) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*IssueCreate) Mutation ¶
func (ic *IssueCreate) Mutation() *IssueMutation
Mutation returns the IssueMutation object of the builder.
func (*IssueCreate) OnConflict ¶
func (ic *IssueCreate) OnConflict(opts ...sql.ConflictOption) *IssueUpsertOne
OnConflict allows configuring the `ON CONFLICT` / `ON DUPLICATE KEY` clause of the `INSERT` statement. For example:
client.Issue.Create(). SetNodeID(v). OnConflict( // Update the row with the new values // the was proposed for insertion. sql.ResolveWithNewValues(), ). // Override some of the fields with custom // update values. Update(func(u *ent.IssueUpsert) { SetNodeID(v+v). }). Exec(ctx)
func (*IssueCreate) OnConflictColumns ¶
func (ic *IssueCreate) OnConflictColumns(columns ...string) *IssueUpsertOne
OnConflictColumns calls `OnConflict` and configures the columns as conflict target. Using this option is equivalent to using:
client.Issue.Create(). OnConflict(sql.ConflictColumns(columns...)). Exec(ctx)
func (*IssueCreate) Save ¶
func (ic *IssueCreate) Save(ctx context.Context) (*Issue, error)
Save creates the Issue in the database.
func (*IssueCreate) SaveX ¶
func (ic *IssueCreate) SaveX(ctx context.Context) *Issue
SaveX calls Save and panics if Save returns an error.
func (*IssueCreate) SetActiveLockReason ¶
func (ic *IssueCreate) SetActiveLockReason(s string) *IssueCreate
SetActiveLockReason sets the "active_lock_reason" field.
func (*IssueCreate) SetAuthorAssociation ¶
func (ic *IssueCreate) SetAuthorAssociation(ia issue.AuthorAssociation) *IssueCreate
SetAuthorAssociation sets the "author_association" field.
func (*IssueCreate) SetBody ¶
func (ic *IssueCreate) SetBody(s string) *IssueCreate
SetBody sets the "body" field.
func (*IssueCreate) SetClosedAt ¶
func (ic *IssueCreate) SetClosedAt(t time.Time) *IssueCreate
SetClosedAt sets the "closed_at" field.
func (*IssueCreate) SetClosedBy ¶
func (ic *IssueCreate) SetClosedBy(u *User) *IssueCreate
SetClosedBy sets the "closed_by" edge to the User entity.
func (*IssueCreate) SetClosedByID ¶
func (ic *IssueCreate) SetClosedByID(id int64) *IssueCreate
SetClosedByID sets the "closed_by" edge to the User entity by ID.
func (*IssueCreate) SetCommentsURL ¶
func (ic *IssueCreate) SetCommentsURL(s string) *IssueCreate
SetCommentsURL sets the "comments_url" field.
func (*IssueCreate) SetCreatedAt ¶
func (ic *IssueCreate) SetCreatedAt(t time.Time) *IssueCreate
SetCreatedAt sets the "created_at" field.
func (*IssueCreate) SetDraft ¶
func (ic *IssueCreate) SetDraft(b bool) *IssueCreate
SetDraft sets the "draft" field.
func (*IssueCreate) SetEventsURL ¶
func (ic *IssueCreate) SetEventsURL(s string) *IssueCreate
SetEventsURL sets the "events_url" field.
func (*IssueCreate) SetHTMLURL ¶
func (ic *IssueCreate) SetHTMLURL(s string) *IssueCreate
SetHTMLURL sets the "html_url" field.
func (*IssueCreate) SetID ¶
func (ic *IssueCreate) SetID(i int64) *IssueCreate
SetID sets the "id" field.
func (*IssueCreate) SetLabelsURL ¶
func (ic *IssueCreate) SetLabelsURL(s string) *IssueCreate
SetLabelsURL sets the "labels_url" field.
func (*IssueCreate) SetLocked ¶
func (ic *IssueCreate) SetLocked(b bool) *IssueCreate
SetLocked sets the "locked" field.
func (*IssueCreate) SetNillableActiveLockReason ¶
func (ic *IssueCreate) SetNillableActiveLockReason(s *string) *IssueCreate
SetNillableActiveLockReason sets the "active_lock_reason" field if the given value is not nil.
func (*IssueCreate) SetNillableBody ¶
func (ic *IssueCreate) SetNillableBody(s *string) *IssueCreate
SetNillableBody sets the "body" field if the given value is not nil.
func (*IssueCreate) SetNillableClosedAt ¶
func (ic *IssueCreate) SetNillableClosedAt(t *time.Time) *IssueCreate
SetNillableClosedAt sets the "closed_at" field if the given value is not nil.
func (*IssueCreate) SetNillableClosedByID ¶
func (ic *IssueCreate) SetNillableClosedByID(id *int64) *IssueCreate
SetNillableClosedByID sets the "closed_by" edge to the User entity by ID if the given value is not nil.
func (*IssueCreate) SetNillableStateReason ¶
func (ic *IssueCreate) SetNillableStateReason(ir *issue.StateReason) *IssueCreate
SetNillableStateReason sets the "state_reason" field if the given value is not nil.
func (*IssueCreate) SetNillableUserID ¶
func (ic *IssueCreate) SetNillableUserID(id *int64) *IssueCreate
SetNillableUserID sets the "user" edge to the User entity by ID if the given value is not nil.
func (*IssueCreate) SetNodeID ¶
func (ic *IssueCreate) SetNodeID(s string) *IssueCreate
SetNodeID sets the "node_id" field.
func (*IssueCreate) SetNumber ¶
func (ic *IssueCreate) SetNumber(i int64) *IssueCreate
SetNumber sets the "number" field.
func (*IssueCreate) SetReactions ¶
func (ic *IssueCreate) SetReactions(m map[string]interface{}) *IssueCreate
SetReactions sets the "reactions" field.
func (*IssueCreate) SetRepository ¶
func (ic *IssueCreate) SetRepository(r *Repository) *IssueCreate
SetRepository sets the "repository" edge to the Repository entity.
func (*IssueCreate) SetRepositoryID ¶
func (ic *IssueCreate) SetRepositoryID(id int64) *IssueCreate
SetRepositoryID sets the "repository" edge to the Repository entity by ID.
func (*IssueCreate) SetRepositoryURL ¶
func (ic *IssueCreate) SetRepositoryURL(s string) *IssueCreate
SetRepositoryURL sets the "repository_url" field.
func (*IssueCreate) SetState ¶
func (ic *IssueCreate) SetState(s string) *IssueCreate
SetState sets the "state" field.
func (*IssueCreate) SetStateReason ¶
func (ic *IssueCreate) SetStateReason(ir issue.StateReason) *IssueCreate
SetStateReason sets the "state_reason" field.
func (*IssueCreate) SetTitle ¶
func (ic *IssueCreate) SetTitle(s string) *IssueCreate
SetTitle sets the "title" field.
func (*IssueCreate) SetURL ¶
func (ic *IssueCreate) SetURL(s string) *IssueCreate
SetURL sets the "url" field.
func (*IssueCreate) SetUpdatedAt ¶
func (ic *IssueCreate) SetUpdatedAt(t time.Time) *IssueCreate
SetUpdatedAt sets the "updated_at" field.
func (*IssueCreate) SetUser ¶
func (ic *IssueCreate) SetUser(u *User) *IssueCreate
SetUser sets the "user" edge to the User entity.
func (*IssueCreate) SetUserID ¶
func (ic *IssueCreate) SetUserID(id int64) *IssueCreate
SetUserID sets the "user" edge to the User entity by ID.
type IssueCreateBulk ¶
type IssueCreateBulk struct {
// contains filtered or unexported fields
}
IssueCreateBulk is the builder for creating many Issue entities in bulk.
func (*IssueCreateBulk) Exec ¶
func (icb *IssueCreateBulk) Exec(ctx context.Context) error
Exec executes the query.
func (*IssueCreateBulk) ExecX ¶
func (icb *IssueCreateBulk) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*IssueCreateBulk) OnConflict ¶
func (icb *IssueCreateBulk) OnConflict(opts ...sql.ConflictOption) *IssueUpsertBulk
OnConflict allows configuring the `ON CONFLICT` / `ON DUPLICATE KEY` clause of the `INSERT` statement. For example:
client.Issue.CreateBulk(builders...). OnConflict( // Update the row with the new values // the was proposed for insertion. sql.ResolveWithNewValues(), ). // Override some of the fields with custom // update values. Update(func(u *ent.IssueUpsert) { SetNodeID(v+v). }). Exec(ctx)
func (*IssueCreateBulk) OnConflictColumns ¶
func (icb *IssueCreateBulk) OnConflictColumns(columns ...string) *IssueUpsertBulk
OnConflictColumns calls `OnConflict` and configures the columns as conflict target. Using this option is equivalent to using:
client.Issue.Create(). OnConflict(sql.ConflictColumns(columns...)). Exec(ctx)
type IssueDelete ¶
type IssueDelete struct {
// contains filtered or unexported fields
}
IssueDelete is the builder for deleting a Issue entity.
func (*IssueDelete) Exec ¶
func (id *IssueDelete) Exec(ctx context.Context) (int, error)
Exec executes the deletion query and returns how many vertices were deleted.
func (*IssueDelete) ExecX ¶
func (id *IssueDelete) ExecX(ctx context.Context) int
ExecX is like Exec, but panics if an error occurs.
func (*IssueDelete) Where ¶
func (id *IssueDelete) Where(ps ...predicate.Issue) *IssueDelete
Where appends a list predicates to the IssueDelete builder.
type IssueDeleteOne ¶
type IssueDeleteOne struct {
// contains filtered or unexported fields
}
IssueDeleteOne is the builder for deleting a single Issue entity.
func (*IssueDeleteOne) Exec ¶
func (ido *IssueDeleteOne) Exec(ctx context.Context) error
Exec executes the deletion query.
func (*IssueDeleteOne) ExecX ¶
func (ido *IssueDeleteOne) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*IssueDeleteOne) Where ¶
func (ido *IssueDeleteOne) Where(ps ...predicate.Issue) *IssueDeleteOne
Where appends a list predicates to the IssueDelete builder.
type IssueEdges ¶
type IssueEdges struct { // Repository holds the value of the repository edge. Repository *Repository `json:"repository,omitempty"` // User holds the value of the user edge. User *User `json:"user,omitempty"` // Assignees holds the value of the assignees edge. Assignees []*User `json:"assignees,omitempty"` // ClosedBy holds the value of the closed_by edge. ClosedBy *User `json:"closed_by,omitempty"` // Comments holds the value of the comments edge. Comments []*IssueComment `json:"comments,omitempty"` // contains filtered or unexported fields }
IssueEdges holds the relations/edges for other nodes in the graph.
func (IssueEdges) AssigneesOrErr ¶
func (e IssueEdges) AssigneesOrErr() ([]*User, error)
AssigneesOrErr returns the Assignees value or an error if the edge was not loaded in eager-loading.
func (IssueEdges) ClosedByOrErr ¶
func (e IssueEdges) ClosedByOrErr() (*User, error)
ClosedByOrErr returns the ClosedBy value or an error if the edge was not loaded in eager-loading, or loaded but was not found.
func (IssueEdges) CommentsOrErr ¶
func (e IssueEdges) CommentsOrErr() ([]*IssueComment, error)
CommentsOrErr returns the Comments value or an error if the edge was not loaded in eager-loading.
func (IssueEdges) RepositoryOrErr ¶
func (e IssueEdges) RepositoryOrErr() (*Repository, error)
RepositoryOrErr returns the Repository value or an error if the edge was not loaded in eager-loading, or loaded but was not found.
func (IssueEdges) UserOrErr ¶
func (e IssueEdges) UserOrErr() (*User, error)
UserOrErr returns the User value or an error if the edge was not loaded in eager-loading, or loaded but was not found.
type IssueGroupBy ¶
type IssueGroupBy struct {
// contains filtered or unexported fields
}
IssueGroupBy is the group-by builder for Issue entities.
func (*IssueGroupBy) Aggregate ¶
func (igb *IssueGroupBy) Aggregate(fns ...AggregateFunc) *IssueGroupBy
Aggregate adds the given aggregation functions to the group-by query.
func (*IssueGroupBy) Bool ¶
Bool returns a single bool from a selector. It is only allowed when selecting one field.
func (*IssueGroupBy) Bools ¶
Bools returns list of bools from a selector. It is only allowed when selecting one field.
func (*IssueGroupBy) Float64 ¶
Float64 returns a single float64 from a selector. It is only allowed when selecting one field.
func (*IssueGroupBy) Float64s ¶
Float64s returns list of float64s from a selector. It is only allowed when selecting one field.
func (*IssueGroupBy) Int ¶
Int returns a single int from a selector. It is only allowed when selecting one field.
func (*IssueGroupBy) Ints ¶
Ints returns list of ints from a selector. It is only allowed when selecting one field.
func (*IssueGroupBy) Scan ¶
func (igb *IssueGroupBy) Scan(ctx context.Context, v any) error
Scan applies the selector query and scans the result into the given value.
func (*IssueGroupBy) String ¶
String returns a single string from a selector. It is only allowed when selecting one field.
type IssueMutation ¶
type IssueMutation struct {
// contains filtered or unexported fields
}
IssueMutation represents an operation that mutates the Issue nodes in the graph.
func (*IssueMutation) ActiveLockReason ¶
func (m *IssueMutation) ActiveLockReason() (r string, exists bool)
ActiveLockReason returns the value of the "active_lock_reason" field in the mutation.
func (*IssueMutation) ActiveLockReasonCleared ¶
func (m *IssueMutation) ActiveLockReasonCleared() bool
ActiveLockReasonCleared returns if the "active_lock_reason" field was cleared in this mutation.
func (*IssueMutation) AddAssigneeIDs ¶
func (m *IssueMutation) AddAssigneeIDs(ids ...int64)
AddAssigneeIDs adds the "assignees" edge to the User entity by ids.
func (*IssueMutation) AddCommentIDs ¶
func (m *IssueMutation) AddCommentIDs(ids ...int64)
AddCommentIDs adds the "comments" edge to the IssueComment entity by ids.
func (*IssueMutation) AddField ¶
func (m *IssueMutation) AddField(name string, value ent.Value) error
AddField adds the value to the field with the given name. It returns an error if the field is not defined in the schema, or if the type mismatched the field type.
func (*IssueMutation) AddNumber ¶
func (m *IssueMutation) AddNumber(i int64)
AddNumber adds i to the "number" field.
func (*IssueMutation) AddedEdges ¶
func (m *IssueMutation) AddedEdges() []string
AddedEdges returns all edge names that were set/added in this mutation.
func (*IssueMutation) AddedField ¶
func (m *IssueMutation) AddedField(name string) (ent.Value, bool)
AddedField returns the numeric value that was incremented/decremented on a field with the given name. The second boolean return value indicates that this field was not set, or was not defined in the schema.
func (*IssueMutation) AddedFields ¶
func (m *IssueMutation) AddedFields() []string
AddedFields returns all numeric fields that were incremented/decremented during this mutation.
func (*IssueMutation) AddedIDs ¶
func (m *IssueMutation) AddedIDs(name string) []ent.Value
AddedIDs returns all IDs (to other nodes) that were added for the given edge name in this mutation.
func (*IssueMutation) AddedNumber ¶
func (m *IssueMutation) AddedNumber() (r int64, exists bool)
AddedNumber returns the value that was added to the "number" field in this mutation.
func (*IssueMutation) AssigneesCleared ¶
func (m *IssueMutation) AssigneesCleared() bool
AssigneesCleared reports if the "assignees" edge to the User entity was cleared.
func (*IssueMutation) AssigneesIDs ¶
func (m *IssueMutation) AssigneesIDs() (ids []int64)
AssigneesIDs returns the "assignees" edge IDs in the mutation.
func (*IssueMutation) AuthorAssociation ¶
func (m *IssueMutation) AuthorAssociation() (r issue.AuthorAssociation, exists bool)
AuthorAssociation returns the value of the "author_association" field in the mutation.
func (*IssueMutation) Body ¶
func (m *IssueMutation) Body() (r string, exists bool)
Body returns the value of the "body" field in the mutation.
func (*IssueMutation) BodyCleared ¶
func (m *IssueMutation) BodyCleared() bool
BodyCleared returns if the "body" field was cleared in this mutation.
func (*IssueMutation) ClearActiveLockReason ¶
func (m *IssueMutation) ClearActiveLockReason()
ClearActiveLockReason clears the value of the "active_lock_reason" field.
func (*IssueMutation) ClearAssignees ¶
func (m *IssueMutation) ClearAssignees()
ClearAssignees clears the "assignees" edge to the User entity.
func (*IssueMutation) ClearBody ¶
func (m *IssueMutation) ClearBody()
ClearBody clears the value of the "body" field.
func (*IssueMutation) ClearClosedAt ¶
func (m *IssueMutation) ClearClosedAt()
ClearClosedAt clears the value of the "closed_at" field.
func (*IssueMutation) ClearClosedBy ¶
func (m *IssueMutation) ClearClosedBy()
ClearClosedBy clears the "closed_by" edge to the User entity.
func (*IssueMutation) ClearComments ¶
func (m *IssueMutation) ClearComments()
ClearComments clears the "comments" edge to the IssueComment entity.
func (*IssueMutation) ClearEdge ¶
func (m *IssueMutation) ClearEdge(name string) error
ClearEdge clears the value of the edge with the given name. It returns an error if that edge is not defined in the schema.
func (*IssueMutation) ClearField ¶
func (m *IssueMutation) ClearField(name string) error
ClearField clears the value of the field with the given name. It returns an error if the field is not defined in the schema.
func (*IssueMutation) ClearRepository ¶
func (m *IssueMutation) ClearRepository()
ClearRepository clears the "repository" edge to the Repository entity.
func (*IssueMutation) ClearStateReason ¶
func (m *IssueMutation) ClearStateReason()
ClearStateReason clears the value of the "state_reason" field.
func (*IssueMutation) ClearUser ¶
func (m *IssueMutation) ClearUser()
ClearUser clears the "user" edge to the User entity.
func (*IssueMutation) ClearedEdges ¶
func (m *IssueMutation) ClearedEdges() []string
ClearedEdges returns all edge names that were cleared in this mutation.
func (*IssueMutation) ClearedFields ¶
func (m *IssueMutation) ClearedFields() []string
ClearedFields returns all nullable fields that were cleared during this mutation.
func (IssueMutation) Client ¶
func (m IssueMutation) Client() *Client
Client returns a new `ent.Client` from the mutation. If the mutation was executed in a transaction (ent.Tx), a transactional client is returned.
func (*IssueMutation) ClosedAt ¶
func (m *IssueMutation) ClosedAt() (r time.Time, exists bool)
ClosedAt returns the value of the "closed_at" field in the mutation.
func (*IssueMutation) ClosedAtCleared ¶
func (m *IssueMutation) ClosedAtCleared() bool
ClosedAtCleared returns if the "closed_at" field was cleared in this mutation.
func (*IssueMutation) ClosedByCleared ¶
func (m *IssueMutation) ClosedByCleared() bool
ClosedByCleared reports if the "closed_by" edge to the User entity was cleared.
func (*IssueMutation) ClosedByID ¶
func (m *IssueMutation) ClosedByID() (id int64, exists bool)
ClosedByID returns the "closed_by" edge ID in the mutation.
func (*IssueMutation) ClosedByIDs ¶
func (m *IssueMutation) ClosedByIDs() (ids []int64)
ClosedByIDs returns the "closed_by" edge IDs in the mutation. Note that IDs always returns len(IDs) <= 1 for unique edges, and you should use ClosedByID instead. It exists only for internal usage by the builders.
func (*IssueMutation) CommentsCleared ¶
func (m *IssueMutation) CommentsCleared() bool
CommentsCleared reports if the "comments" edge to the IssueComment entity was cleared.
func (*IssueMutation) CommentsIDs ¶
func (m *IssueMutation) CommentsIDs() (ids []int64)
CommentsIDs returns the "comments" edge IDs in the mutation.
func (*IssueMutation) CommentsURL ¶
func (m *IssueMutation) CommentsURL() (r string, exists bool)
CommentsURL returns the value of the "comments_url" field in the mutation.
func (*IssueMutation) CreatedAt ¶
func (m *IssueMutation) CreatedAt() (r time.Time, exists bool)
CreatedAt returns the value of the "created_at" field in the mutation.
func (*IssueMutation) Draft ¶
func (m *IssueMutation) Draft() (r bool, exists bool)
Draft returns the value of the "draft" field in the mutation.
func (*IssueMutation) EdgeCleared ¶
func (m *IssueMutation) EdgeCleared(name string) bool
EdgeCleared returns a boolean which indicates if the edge with the given name was cleared in this mutation.
func (*IssueMutation) EventsURL ¶
func (m *IssueMutation) EventsURL() (r string, exists bool)
EventsURL returns the value of the "events_url" field in the mutation.
func (*IssueMutation) Field ¶
func (m *IssueMutation) Field(name string) (ent.Value, bool)
Field returns the value of a field with the given name. The second boolean return value indicates that this field was not set, or was not defined in the schema.
func (*IssueMutation) FieldCleared ¶
func (m *IssueMutation) FieldCleared(name string) bool
FieldCleared returns a boolean indicating if a field with the given name was cleared in this mutation.
func (*IssueMutation) Fields ¶
func (m *IssueMutation) Fields() []string
Fields returns all fields that were changed during this mutation. Note that in order to get all numeric fields that were incremented/decremented, call AddedFields().
func (*IssueMutation) HTMLURL ¶
func (m *IssueMutation) HTMLURL() (r string, exists bool)
HTMLURL returns the value of the "html_url" field in the mutation.
func (*IssueMutation) ID ¶
func (m *IssueMutation) ID() (id int64, exists bool)
ID returns the ID value in the mutation. Note that the ID is only available if it was provided to the builder or after it was returned from the database.
func (*IssueMutation) IDs ¶
func (m *IssueMutation) IDs(ctx context.Context) ([]int64, error)
IDs queries the database and returns the entity ids that match the mutation's predicate. That means, if the mutation is applied within a transaction with an isolation level such as sql.LevelSerializable, the returned ids match the ids of the rows that will be updated or updated by the mutation.
func (*IssueMutation) LabelsURL ¶
func (m *IssueMutation) LabelsURL() (r string, exists bool)
LabelsURL returns the value of the "labels_url" field in the mutation.
func (*IssueMutation) Locked ¶
func (m *IssueMutation) Locked() (r bool, exists bool)
Locked returns the value of the "locked" field in the mutation.
func (*IssueMutation) NodeID ¶
func (m *IssueMutation) NodeID() (r string, exists bool)
NodeID returns the value of the "node_id" field in the mutation.
func (*IssueMutation) Number ¶
func (m *IssueMutation) Number() (r int64, exists bool)
Number returns the value of the "number" field in the mutation.
func (*IssueMutation) OldActiveLockReason ¶
func (m *IssueMutation) OldActiveLockReason(ctx context.Context) (v *string, err error)
OldActiveLockReason returns the old "active_lock_reason" field's value of the Issue entity. If the Issue object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*IssueMutation) OldAuthorAssociation ¶
func (m *IssueMutation) OldAuthorAssociation(ctx context.Context) (v issue.AuthorAssociation, err error)
OldAuthorAssociation returns the old "author_association" field's value of the Issue entity. If the Issue object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*IssueMutation) OldBody ¶
func (m *IssueMutation) OldBody(ctx context.Context) (v *string, err error)
OldBody returns the old "body" field's value of the Issue entity. If the Issue object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*IssueMutation) OldClosedAt ¶
OldClosedAt returns the old "closed_at" field's value of the Issue entity. If the Issue object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*IssueMutation) OldCommentsURL ¶
func (m *IssueMutation) OldCommentsURL(ctx context.Context) (v string, err error)
OldCommentsURL returns the old "comments_url" field's value of the Issue entity. If the Issue object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*IssueMutation) OldCreatedAt ¶
OldCreatedAt returns the old "created_at" field's value of the Issue entity. If the Issue object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*IssueMutation) OldDraft ¶
func (m *IssueMutation) OldDraft(ctx context.Context) (v bool, err error)
OldDraft returns the old "draft" field's value of the Issue entity. If the Issue object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*IssueMutation) OldEventsURL ¶
func (m *IssueMutation) OldEventsURL(ctx context.Context) (v string, err error)
OldEventsURL returns the old "events_url" field's value of the Issue entity. If the Issue object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*IssueMutation) OldField ¶
OldField returns the old value of the field from the database. An error is returned if the mutation operation is not UpdateOne, or the query to the database failed.
func (*IssueMutation) OldHTMLURL ¶
func (m *IssueMutation) OldHTMLURL(ctx context.Context) (v string, err error)
OldHTMLURL returns the old "html_url" field's value of the Issue entity. If the Issue object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*IssueMutation) OldLabelsURL ¶
func (m *IssueMutation) OldLabelsURL(ctx context.Context) (v string, err error)
OldLabelsURL returns the old "labels_url" field's value of the Issue entity. If the Issue object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*IssueMutation) OldLocked ¶
func (m *IssueMutation) OldLocked(ctx context.Context) (v bool, err error)
OldLocked returns the old "locked" field's value of the Issue entity. If the Issue object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*IssueMutation) OldNodeID ¶
func (m *IssueMutation) OldNodeID(ctx context.Context) (v string, err error)
OldNodeID returns the old "node_id" field's value of the Issue entity. If the Issue object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*IssueMutation) OldNumber ¶
func (m *IssueMutation) OldNumber(ctx context.Context) (v int64, err error)
OldNumber returns the old "number" field's value of the Issue entity. If the Issue object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*IssueMutation) OldReactions ¶
func (m *IssueMutation) OldReactions(ctx context.Context) (v map[string]interface{}, err error)
OldReactions returns the old "reactions" field's value of the Issue entity. If the Issue object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*IssueMutation) OldRepositoryURL ¶
func (m *IssueMutation) OldRepositoryURL(ctx context.Context) (v string, err error)
OldRepositoryURL returns the old "repository_url" field's value of the Issue entity. If the Issue object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*IssueMutation) OldState ¶
func (m *IssueMutation) OldState(ctx context.Context) (v string, err error)
OldState returns the old "state" field's value of the Issue entity. If the Issue object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*IssueMutation) OldStateReason ¶
func (m *IssueMutation) OldStateReason(ctx context.Context) (v *issue.StateReason, err error)
OldStateReason returns the old "state_reason" field's value of the Issue entity. If the Issue object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*IssueMutation) OldTitle ¶
func (m *IssueMutation) OldTitle(ctx context.Context) (v string, err error)
OldTitle returns the old "title" field's value of the Issue entity. If the Issue object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*IssueMutation) OldURL ¶
func (m *IssueMutation) OldURL(ctx context.Context) (v string, err error)
OldURL returns the old "url" field's value of the Issue entity. If the Issue object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*IssueMutation) OldUpdatedAt ¶
OldUpdatedAt returns the old "updated_at" field's value of the Issue entity. If the Issue object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*IssueMutation) Reactions ¶
func (m *IssueMutation) Reactions() (r map[string]interface{}, exists bool)
Reactions returns the value of the "reactions" field in the mutation.
func (*IssueMutation) RemoveAssigneeIDs ¶
func (m *IssueMutation) RemoveAssigneeIDs(ids ...int64)
RemoveAssigneeIDs removes the "assignees" edge to the User entity by IDs.
func (*IssueMutation) RemoveCommentIDs ¶
func (m *IssueMutation) RemoveCommentIDs(ids ...int64)
RemoveCommentIDs removes the "comments" edge to the IssueComment entity by IDs.
func (*IssueMutation) RemovedAssigneesIDs ¶
func (m *IssueMutation) RemovedAssigneesIDs() (ids []int64)
RemovedAssignees returns the removed IDs of the "assignees" edge to the User entity.
func (*IssueMutation) RemovedCommentsIDs ¶
func (m *IssueMutation) RemovedCommentsIDs() (ids []int64)
RemovedComments returns the removed IDs of the "comments" edge to the IssueComment entity.
func (*IssueMutation) RemovedEdges ¶
func (m *IssueMutation) RemovedEdges() []string
RemovedEdges returns all edge names that were removed in this mutation.
func (*IssueMutation) RemovedIDs ¶
func (m *IssueMutation) RemovedIDs(name string) []ent.Value
RemovedIDs returns all IDs (to other nodes) that were removed for the edge with the given name in this mutation.
func (*IssueMutation) RepositoryCleared ¶
func (m *IssueMutation) RepositoryCleared() bool
RepositoryCleared reports if the "repository" edge to the Repository entity was cleared.
func (*IssueMutation) RepositoryID ¶
func (m *IssueMutation) RepositoryID() (id int64, exists bool)
RepositoryID returns the "repository" edge ID in the mutation.
func (*IssueMutation) RepositoryIDs ¶
func (m *IssueMutation) RepositoryIDs() (ids []int64)
RepositoryIDs returns the "repository" edge IDs in the mutation. Note that IDs always returns len(IDs) <= 1 for unique edges, and you should use RepositoryID instead. It exists only for internal usage by the builders.
func (*IssueMutation) RepositoryURL ¶
func (m *IssueMutation) RepositoryURL() (r string, exists bool)
RepositoryURL returns the value of the "repository_url" field in the mutation.
func (*IssueMutation) ResetActiveLockReason ¶
func (m *IssueMutation) ResetActiveLockReason()
ResetActiveLockReason resets all changes to the "active_lock_reason" field.
func (*IssueMutation) ResetAssignees ¶
func (m *IssueMutation) ResetAssignees()
ResetAssignees resets all changes to the "assignees" edge.
func (*IssueMutation) ResetAuthorAssociation ¶
func (m *IssueMutation) ResetAuthorAssociation()
ResetAuthorAssociation resets all changes to the "author_association" field.
func (*IssueMutation) ResetBody ¶
func (m *IssueMutation) ResetBody()
ResetBody resets all changes to the "body" field.
func (*IssueMutation) ResetClosedAt ¶
func (m *IssueMutation) ResetClosedAt()
ResetClosedAt resets all changes to the "closed_at" field.
func (*IssueMutation) ResetClosedBy ¶
func (m *IssueMutation) ResetClosedBy()
ResetClosedBy resets all changes to the "closed_by" edge.
func (*IssueMutation) ResetComments ¶
func (m *IssueMutation) ResetComments()
ResetComments resets all changes to the "comments" edge.
func (*IssueMutation) ResetCommentsURL ¶
func (m *IssueMutation) ResetCommentsURL()
ResetCommentsURL resets all changes to the "comments_url" field.
func (*IssueMutation) ResetCreatedAt ¶
func (m *IssueMutation) ResetCreatedAt()
ResetCreatedAt resets all changes to the "created_at" field.
func (*IssueMutation) ResetDraft ¶
func (m *IssueMutation) ResetDraft()
ResetDraft resets all changes to the "draft" field.
func (*IssueMutation) ResetEdge ¶
func (m *IssueMutation) ResetEdge(name string) error
ResetEdge resets all changes to the edge with the given name in this mutation. It returns an error if the edge is not defined in the schema.
func (*IssueMutation) ResetEventsURL ¶
func (m *IssueMutation) ResetEventsURL()
ResetEventsURL resets all changes to the "events_url" field.
func (*IssueMutation) ResetField ¶
func (m *IssueMutation) ResetField(name string) error
ResetField resets all changes in the mutation for the field with the given name. It returns an error if the field is not defined in the schema.
func (*IssueMutation) ResetHTMLURL ¶
func (m *IssueMutation) ResetHTMLURL()
ResetHTMLURL resets all changes to the "html_url" field.
func (*IssueMutation) ResetLabelsURL ¶
func (m *IssueMutation) ResetLabelsURL()
ResetLabelsURL resets all changes to the "labels_url" field.
func (*IssueMutation) ResetLocked ¶
func (m *IssueMutation) ResetLocked()
ResetLocked resets all changes to the "locked" field.
func (*IssueMutation) ResetNodeID ¶
func (m *IssueMutation) ResetNodeID()
ResetNodeID resets all changes to the "node_id" field.
func (*IssueMutation) ResetNumber ¶
func (m *IssueMutation) ResetNumber()
ResetNumber resets all changes to the "number" field.
func (*IssueMutation) ResetReactions ¶
func (m *IssueMutation) ResetReactions()
ResetReactions resets all changes to the "reactions" field.
func (*IssueMutation) ResetRepository ¶
func (m *IssueMutation) ResetRepository()
ResetRepository resets all changes to the "repository" edge.
func (*IssueMutation) ResetRepositoryURL ¶
func (m *IssueMutation) ResetRepositoryURL()
ResetRepositoryURL resets all changes to the "repository_url" field.
func (*IssueMutation) ResetState ¶
func (m *IssueMutation) ResetState()
ResetState resets all changes to the "state" field.
func (*IssueMutation) ResetStateReason ¶
func (m *IssueMutation) ResetStateReason()
ResetStateReason resets all changes to the "state_reason" field.
func (*IssueMutation) ResetTitle ¶
func (m *IssueMutation) ResetTitle()
ResetTitle resets all changes to the "title" field.
func (*IssueMutation) ResetURL ¶
func (m *IssueMutation) ResetURL()
ResetURL resets all changes to the "url" field.
func (*IssueMutation) ResetUpdatedAt ¶
func (m *IssueMutation) ResetUpdatedAt()
ResetUpdatedAt resets all changes to the "updated_at" field.
func (*IssueMutation) ResetUser ¶
func (m *IssueMutation) ResetUser()
ResetUser resets all changes to the "user" edge.
func (*IssueMutation) SetActiveLockReason ¶
func (m *IssueMutation) SetActiveLockReason(s string)
SetActiveLockReason sets the "active_lock_reason" field.
func (*IssueMutation) SetAuthorAssociation ¶
func (m *IssueMutation) SetAuthorAssociation(ia issue.AuthorAssociation)
SetAuthorAssociation sets the "author_association" field.
func (*IssueMutation) SetBody ¶
func (m *IssueMutation) SetBody(s string)
SetBody sets the "body" field.
func (*IssueMutation) SetClosedAt ¶
func (m *IssueMutation) SetClosedAt(t time.Time)
SetClosedAt sets the "closed_at" field.
func (*IssueMutation) SetClosedByID ¶
func (m *IssueMutation) SetClosedByID(id int64)
SetClosedByID sets the "closed_by" edge to the User entity by id.
func (*IssueMutation) SetCommentsURL ¶
func (m *IssueMutation) SetCommentsURL(s string)
SetCommentsURL sets the "comments_url" field.
func (*IssueMutation) SetCreatedAt ¶
func (m *IssueMutation) SetCreatedAt(t time.Time)
SetCreatedAt sets the "created_at" field.
func (*IssueMutation) SetDraft ¶
func (m *IssueMutation) SetDraft(b bool)
SetDraft sets the "draft" field.
func (*IssueMutation) SetEventsURL ¶
func (m *IssueMutation) SetEventsURL(s string)
SetEventsURL sets the "events_url" field.
func (*IssueMutation) SetField ¶
func (m *IssueMutation) SetField(name string, value ent.Value) error
SetField sets the value of a field with the given name. It returns an error if the field is not defined in the schema, or if the type mismatched the field type.
func (*IssueMutation) SetHTMLURL ¶
func (m *IssueMutation) SetHTMLURL(s string)
SetHTMLURL sets the "html_url" field.
func (*IssueMutation) SetID ¶
func (m *IssueMutation) SetID(id int64)
SetID sets the value of the id field. Note that this operation is only accepted on creation of Issue entities.
func (*IssueMutation) SetLabelsURL ¶
func (m *IssueMutation) SetLabelsURL(s string)
SetLabelsURL sets the "labels_url" field.
func (*IssueMutation) SetLocked ¶
func (m *IssueMutation) SetLocked(b bool)
SetLocked sets the "locked" field.
func (*IssueMutation) SetNodeID ¶
func (m *IssueMutation) SetNodeID(s string)
SetNodeID sets the "node_id" field.
func (*IssueMutation) SetNumber ¶
func (m *IssueMutation) SetNumber(i int64)
SetNumber sets the "number" field.
func (*IssueMutation) SetOp ¶
func (m *IssueMutation) SetOp(op Op)
SetOp allows setting the mutation operation.
func (*IssueMutation) SetReactions ¶
func (m *IssueMutation) SetReactions(value map[string]interface{})
SetReactions sets the "reactions" field.
func (*IssueMutation) SetRepositoryID ¶
func (m *IssueMutation) SetRepositoryID(id int64)
SetRepositoryID sets the "repository" edge to the Repository entity by id.
func (*IssueMutation) SetRepositoryURL ¶
func (m *IssueMutation) SetRepositoryURL(s string)
SetRepositoryURL sets the "repository_url" field.
func (*IssueMutation) SetState ¶
func (m *IssueMutation) SetState(s string)
SetState sets the "state" field.
func (*IssueMutation) SetStateReason ¶
func (m *IssueMutation) SetStateReason(ir issue.StateReason)
SetStateReason sets the "state_reason" field.
func (*IssueMutation) SetTitle ¶
func (m *IssueMutation) SetTitle(s string)
SetTitle sets the "title" field.
func (*IssueMutation) SetURL ¶
func (m *IssueMutation) SetURL(s string)
SetURL sets the "url" field.
func (*IssueMutation) SetUpdatedAt ¶
func (m *IssueMutation) SetUpdatedAt(t time.Time)
SetUpdatedAt sets the "updated_at" field.
func (*IssueMutation) SetUserID ¶
func (m *IssueMutation) SetUserID(id int64)
SetUserID sets the "user" edge to the User entity by id.
func (*IssueMutation) State ¶
func (m *IssueMutation) State() (r string, exists bool)
State returns the value of the "state" field in the mutation.
func (*IssueMutation) StateReason ¶
func (m *IssueMutation) StateReason() (r issue.StateReason, exists bool)
StateReason returns the value of the "state_reason" field in the mutation.
func (*IssueMutation) StateReasonCleared ¶
func (m *IssueMutation) StateReasonCleared() bool
StateReasonCleared returns if the "state_reason" field was cleared in this mutation.
func (*IssueMutation) Title ¶
func (m *IssueMutation) Title() (r string, exists bool)
Title returns the value of the "title" field in the mutation.
func (IssueMutation) Tx ¶
func (m IssueMutation) Tx() (*Tx, error)
Tx returns an `ent.Tx` for mutations that were executed in transactions; it returns an error otherwise.
func (*IssueMutation) Type ¶
func (m *IssueMutation) Type() string
Type returns the node type of this mutation (Issue).
func (*IssueMutation) URL ¶
func (m *IssueMutation) URL() (r string, exists bool)
URL returns the value of the "url" field in the mutation.
func (*IssueMutation) UpdatedAt ¶
func (m *IssueMutation) UpdatedAt() (r time.Time, exists bool)
UpdatedAt returns the value of the "updated_at" field in the mutation.
func (*IssueMutation) UserCleared ¶
func (m *IssueMutation) UserCleared() bool
UserCleared reports if the "user" edge to the User entity was cleared.
func (*IssueMutation) UserID ¶
func (m *IssueMutation) UserID() (id int64, exists bool)
UserID returns the "user" edge ID in the mutation.
func (*IssueMutation) UserIDs ¶
func (m *IssueMutation) UserIDs() (ids []int64)
UserIDs returns the "user" edge IDs in the mutation. Note that IDs always returns len(IDs) <= 1 for unique edges, and you should use UserID instead. It exists only for internal usage by the builders.
func (*IssueMutation) Where ¶
func (m *IssueMutation) Where(ps ...predicate.Issue)
Where appends a list predicates to the IssueMutation builder.
func (*IssueMutation) WhereP ¶
func (m *IssueMutation) WhereP(ps ...func(*sql.Selector))
WhereP appends storage-level predicates to the IssueMutation builder. Using this method, users can use type-assertion to append predicates that do not depend on any generated package.
type IssueQuery ¶
type IssueQuery struct {
// contains filtered or unexported fields
}
IssueQuery is the builder for querying Issue entities.
func (*IssueQuery) Aggregate ¶
func (iq *IssueQuery) Aggregate(fns ...AggregateFunc) *IssueSelect
Aggregate returns a IssueSelect configured with the given aggregations.
func (*IssueQuery) All ¶
func (iq *IssueQuery) All(ctx context.Context) ([]*Issue, error)
All executes the query and returns a list of Issues.
func (*IssueQuery) AllX ¶
func (iq *IssueQuery) AllX(ctx context.Context) []*Issue
AllX is like All, but panics if an error occurs.
func (*IssueQuery) Clone ¶
func (iq *IssueQuery) Clone() *IssueQuery
Clone returns a duplicate of the IssueQuery builder, including all associated steps. It can be used to prepare common query builders and use them differently after the clone is made.
func (*IssueQuery) Count ¶
func (iq *IssueQuery) Count(ctx context.Context) (int, error)
Count returns the count of the given query.
func (*IssueQuery) CountX ¶
func (iq *IssueQuery) CountX(ctx context.Context) int
CountX is like Count, but panics if an error occurs.
func (*IssueQuery) Exist ¶
func (iq *IssueQuery) Exist(ctx context.Context) (bool, error)
Exist returns true if the query has elements in the graph.
func (*IssueQuery) ExistX ¶
func (iq *IssueQuery) ExistX(ctx context.Context) bool
ExistX is like Exist, but panics if an error occurs.
func (*IssueQuery) First ¶
func (iq *IssueQuery) First(ctx context.Context) (*Issue, error)
First returns the first Issue entity from the query. Returns a *NotFoundError when no Issue was found.
func (*IssueQuery) FirstID ¶
func (iq *IssueQuery) FirstID(ctx context.Context) (id int64, err error)
FirstID returns the first Issue ID from the query. Returns a *NotFoundError when no Issue ID was found.
func (*IssueQuery) FirstIDX ¶
func (iq *IssueQuery) FirstIDX(ctx context.Context) int64
FirstIDX is like FirstID, but panics if an error occurs.
func (*IssueQuery) FirstX ¶
func (iq *IssueQuery) FirstX(ctx context.Context) *Issue
FirstX is like First, but panics if an error occurs.
func (*IssueQuery) GroupBy ¶
func (iq *IssueQuery) GroupBy(field string, fields ...string) *IssueGroupBy
GroupBy is used to group vertices by one or more fields/columns. It is often used with aggregate functions, like: count, max, mean, min, sum.
Example:
var v []struct { NodeID string `json:"node_id"` Count int `json:"count,omitempty"` } client.Issue.Query(). GroupBy(issue.FieldNodeID). Aggregate(ent.Count()). Scan(ctx, &v)
func (*IssueQuery) IDs ¶
func (iq *IssueQuery) IDs(ctx context.Context) (ids []int64, err error)
IDs executes the query and returns a list of Issue IDs.
func (*IssueQuery) IDsX ¶
func (iq *IssueQuery) IDsX(ctx context.Context) []int64
IDsX is like IDs, but panics if an error occurs.
func (*IssueQuery) Limit ¶
func (iq *IssueQuery) Limit(limit int) *IssueQuery
Limit the number of records to be returned by this query.
func (*IssueQuery) Offset ¶
func (iq *IssueQuery) Offset(offset int) *IssueQuery
Offset to start from.
func (*IssueQuery) Only ¶
func (iq *IssueQuery) Only(ctx context.Context) (*Issue, error)
Only returns a single Issue entity found by the query, ensuring it only returns one. Returns a *NotSingularError when more than one Issue entity is found. Returns a *NotFoundError when no Issue entities are found.
func (*IssueQuery) OnlyID ¶
func (iq *IssueQuery) OnlyID(ctx context.Context) (id int64, err error)
OnlyID is like Only, but returns the only Issue ID in the query. Returns a *NotSingularError when more than one Issue ID is found. Returns a *NotFoundError when no entities are found.
func (*IssueQuery) OnlyIDX ¶
func (iq *IssueQuery) OnlyIDX(ctx context.Context) int64
OnlyIDX is like OnlyID, but panics if an error occurs.
func (*IssueQuery) OnlyX ¶
func (iq *IssueQuery) OnlyX(ctx context.Context) *Issue
OnlyX is like Only, but panics if an error occurs.
func (*IssueQuery) Order ¶
func (iq *IssueQuery) Order(o ...issue.OrderOption) *IssueQuery
Order specifies how the records should be ordered.
func (*IssueQuery) QueryAssignees ¶
func (iq *IssueQuery) QueryAssignees() *UserQuery
QueryAssignees chains the current query on the "assignees" edge.
func (*IssueQuery) QueryClosedBy ¶
func (iq *IssueQuery) QueryClosedBy() *UserQuery
QueryClosedBy chains the current query on the "closed_by" edge.
func (*IssueQuery) QueryComments ¶
func (iq *IssueQuery) QueryComments() *IssueCommentQuery
QueryComments chains the current query on the "comments" edge.
func (*IssueQuery) QueryRepository ¶
func (iq *IssueQuery) QueryRepository() *RepositoryQuery
QueryRepository chains the current query on the "repository" edge.
func (*IssueQuery) QueryUser ¶
func (iq *IssueQuery) QueryUser() *UserQuery
QueryUser chains the current query on the "user" edge.
func (*IssueQuery) Select ¶
func (iq *IssueQuery) Select(fields ...string) *IssueSelect
Select allows the selection one or more fields/columns for the given query, instead of selecting all fields in the entity.
Example:
var v []struct { NodeID string `json:"node_id"` } client.Issue.Query(). Select(issue.FieldNodeID). Scan(ctx, &v)
func (*IssueQuery) Unique ¶
func (iq *IssueQuery) Unique(unique bool) *IssueQuery
Unique configures the query builder to filter duplicate records on query. By default, unique is set to true, and can be disabled using this method.
func (*IssueQuery) Where ¶
func (iq *IssueQuery) Where(ps ...predicate.Issue) *IssueQuery
Where adds a new predicate for the IssueQuery builder.
func (*IssueQuery) WithAssignees ¶
func (iq *IssueQuery) WithAssignees(opts ...func(*UserQuery)) *IssueQuery
WithAssignees tells the query-builder to eager-load the nodes that are connected to the "assignees" edge. The optional arguments are used to configure the query builder of the edge.
func (*IssueQuery) WithClosedBy ¶
func (iq *IssueQuery) WithClosedBy(opts ...func(*UserQuery)) *IssueQuery
WithClosedBy tells the query-builder to eager-load the nodes that are connected to the "closed_by" edge. The optional arguments are used to configure the query builder of the edge.
func (*IssueQuery) WithComments ¶
func (iq *IssueQuery) WithComments(opts ...func(*IssueCommentQuery)) *IssueQuery
WithComments tells the query-builder to eager-load the nodes that are connected to the "comments" edge. The optional arguments are used to configure the query builder of the edge.
func (*IssueQuery) WithRepository ¶
func (iq *IssueQuery) WithRepository(opts ...func(*RepositoryQuery)) *IssueQuery
WithRepository tells the query-builder to eager-load the nodes that are connected to the "repository" edge. The optional arguments are used to configure the query builder of the edge.
func (*IssueQuery) WithUser ¶
func (iq *IssueQuery) WithUser(opts ...func(*UserQuery)) *IssueQuery
WithUser tells the query-builder to eager-load the nodes that are connected to the "user" edge. The optional arguments are used to configure the query builder of the edge.
type IssueSelect ¶
type IssueSelect struct { *IssueQuery // contains filtered or unexported fields }
IssueSelect is the builder for selecting fields of Issue entities.
func (*IssueSelect) Aggregate ¶
func (is *IssueSelect) Aggregate(fns ...AggregateFunc) *IssueSelect
Aggregate adds the given aggregation functions to the selector query.
func (*IssueSelect) Bool ¶
Bool returns a single bool from a selector. It is only allowed when selecting one field.
func (*IssueSelect) Bools ¶
Bools returns list of bools from a selector. It is only allowed when selecting one field.
func (*IssueSelect) Float64 ¶
Float64 returns a single float64 from a selector. It is only allowed when selecting one field.
func (*IssueSelect) Float64s ¶
Float64s returns list of float64s from a selector. It is only allowed when selecting one field.
func (*IssueSelect) Int ¶
Int returns a single int from a selector. It is only allowed when selecting one field.
func (*IssueSelect) Ints ¶
Ints returns list of ints from a selector. It is only allowed when selecting one field.
func (*IssueSelect) Scan ¶
func (is *IssueSelect) Scan(ctx context.Context, v any) error
Scan applies the selector query and scans the result into the given value.
func (*IssueSelect) String ¶
String returns a single string from a selector. It is only allowed when selecting one field.
type IssueUpdate ¶
type IssueUpdate struct {
// contains filtered or unexported fields
}
IssueUpdate is the builder for updating Issue entities.
func (*IssueUpdate) AddAssigneeIDs ¶
func (iu *IssueUpdate) AddAssigneeIDs(ids ...int64) *IssueUpdate
AddAssigneeIDs adds the "assignees" edge to the User entity by IDs.
func (*IssueUpdate) AddAssignees ¶
func (iu *IssueUpdate) AddAssignees(u ...*User) *IssueUpdate
AddAssignees adds the "assignees" edges to the User entity.
func (*IssueUpdate) AddCommentIDs ¶
func (iu *IssueUpdate) AddCommentIDs(ids ...int64) *IssueUpdate
AddCommentIDs adds the "comments" edge to the IssueComment entity by IDs.
func (*IssueUpdate) AddComments ¶
func (iu *IssueUpdate) AddComments(i ...*IssueComment) *IssueUpdate
AddComments adds the "comments" edges to the IssueComment entity.
func (*IssueUpdate) AddNumber ¶
func (iu *IssueUpdate) AddNumber(i int64) *IssueUpdate
AddNumber adds i to the "number" field.
func (*IssueUpdate) ClearActiveLockReason ¶
func (iu *IssueUpdate) ClearActiveLockReason() *IssueUpdate
ClearActiveLockReason clears the value of the "active_lock_reason" field.
func (*IssueUpdate) ClearAssignees ¶
func (iu *IssueUpdate) ClearAssignees() *IssueUpdate
ClearAssignees clears all "assignees" edges to the User entity.
func (*IssueUpdate) ClearBody ¶
func (iu *IssueUpdate) ClearBody() *IssueUpdate
ClearBody clears the value of the "body" field.
func (*IssueUpdate) ClearClosedAt ¶
func (iu *IssueUpdate) ClearClosedAt() *IssueUpdate
ClearClosedAt clears the value of the "closed_at" field.
func (*IssueUpdate) ClearClosedBy ¶
func (iu *IssueUpdate) ClearClosedBy() *IssueUpdate
ClearClosedBy clears the "closed_by" edge to the User entity.
func (*IssueUpdate) ClearComments ¶
func (iu *IssueUpdate) ClearComments() *IssueUpdate
ClearComments clears all "comments" edges to the IssueComment entity.
func (*IssueUpdate) ClearRepository ¶
func (iu *IssueUpdate) ClearRepository() *IssueUpdate
ClearRepository clears the "repository" edge to the Repository entity.
func (*IssueUpdate) ClearStateReason ¶
func (iu *IssueUpdate) ClearStateReason() *IssueUpdate
ClearStateReason clears the value of the "state_reason" field.
func (*IssueUpdate) ClearUser ¶
func (iu *IssueUpdate) ClearUser() *IssueUpdate
ClearUser clears the "user" edge to the User entity.
func (*IssueUpdate) Exec ¶
func (iu *IssueUpdate) Exec(ctx context.Context) error
Exec executes the query.
func (*IssueUpdate) ExecX ¶
func (iu *IssueUpdate) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*IssueUpdate) Mutation ¶
func (iu *IssueUpdate) Mutation() *IssueMutation
Mutation returns the IssueMutation object of the builder.
func (*IssueUpdate) RemoveAssigneeIDs ¶
func (iu *IssueUpdate) RemoveAssigneeIDs(ids ...int64) *IssueUpdate
RemoveAssigneeIDs removes the "assignees" edge to User entities by IDs.
func (*IssueUpdate) RemoveAssignees ¶
func (iu *IssueUpdate) RemoveAssignees(u ...*User) *IssueUpdate
RemoveAssignees removes "assignees" edges to User entities.
func (*IssueUpdate) RemoveCommentIDs ¶
func (iu *IssueUpdate) RemoveCommentIDs(ids ...int64) *IssueUpdate
RemoveCommentIDs removes the "comments" edge to IssueComment entities by IDs.
func (*IssueUpdate) RemoveComments ¶
func (iu *IssueUpdate) RemoveComments(i ...*IssueComment) *IssueUpdate
RemoveComments removes "comments" edges to IssueComment entities.
func (*IssueUpdate) Save ¶
func (iu *IssueUpdate) Save(ctx context.Context) (int, error)
Save executes the query and returns the number of nodes affected by the update operation.
func (*IssueUpdate) SaveX ¶
func (iu *IssueUpdate) SaveX(ctx context.Context) int
SaveX is like Save, but panics if an error occurs.
func (*IssueUpdate) SetActiveLockReason ¶
func (iu *IssueUpdate) SetActiveLockReason(s string) *IssueUpdate
SetActiveLockReason sets the "active_lock_reason" field.
func (*IssueUpdate) SetAuthorAssociation ¶
func (iu *IssueUpdate) SetAuthorAssociation(ia issue.AuthorAssociation) *IssueUpdate
SetAuthorAssociation sets the "author_association" field.
func (*IssueUpdate) SetBody ¶
func (iu *IssueUpdate) SetBody(s string) *IssueUpdate
SetBody sets the "body" field.
func (*IssueUpdate) SetClosedAt ¶
func (iu *IssueUpdate) SetClosedAt(t time.Time) *IssueUpdate
SetClosedAt sets the "closed_at" field.
func (*IssueUpdate) SetClosedBy ¶
func (iu *IssueUpdate) SetClosedBy(u *User) *IssueUpdate
SetClosedBy sets the "closed_by" edge to the User entity.
func (*IssueUpdate) SetClosedByID ¶
func (iu *IssueUpdate) SetClosedByID(id int64) *IssueUpdate
SetClosedByID sets the "closed_by" edge to the User entity by ID.
func (*IssueUpdate) SetCommentsURL ¶
func (iu *IssueUpdate) SetCommentsURL(s string) *IssueUpdate
SetCommentsURL sets the "comments_url" field.
func (*IssueUpdate) SetCreatedAt ¶
func (iu *IssueUpdate) SetCreatedAt(t time.Time) *IssueUpdate
SetCreatedAt sets the "created_at" field.
func (*IssueUpdate) SetDraft ¶
func (iu *IssueUpdate) SetDraft(b bool) *IssueUpdate
SetDraft sets the "draft" field.
func (*IssueUpdate) SetEventsURL ¶
func (iu *IssueUpdate) SetEventsURL(s string) *IssueUpdate
SetEventsURL sets the "events_url" field.
func (*IssueUpdate) SetHTMLURL ¶
func (iu *IssueUpdate) SetHTMLURL(s string) *IssueUpdate
SetHTMLURL sets the "html_url" field.
func (*IssueUpdate) SetLabelsURL ¶
func (iu *IssueUpdate) SetLabelsURL(s string) *IssueUpdate
SetLabelsURL sets the "labels_url" field.
func (*IssueUpdate) SetLocked ¶
func (iu *IssueUpdate) SetLocked(b bool) *IssueUpdate
SetLocked sets the "locked" field.
func (*IssueUpdate) SetNillableActiveLockReason ¶
func (iu *IssueUpdate) SetNillableActiveLockReason(s *string) *IssueUpdate
SetNillableActiveLockReason sets the "active_lock_reason" field if the given value is not nil.
func (*IssueUpdate) SetNillableAuthorAssociation ¶
func (iu *IssueUpdate) SetNillableAuthorAssociation(ia *issue.AuthorAssociation) *IssueUpdate
SetNillableAuthorAssociation sets the "author_association" field if the given value is not nil.
func (*IssueUpdate) SetNillableBody ¶
func (iu *IssueUpdate) SetNillableBody(s *string) *IssueUpdate
SetNillableBody sets the "body" field if the given value is not nil.
func (*IssueUpdate) SetNillableClosedAt ¶
func (iu *IssueUpdate) SetNillableClosedAt(t *time.Time) *IssueUpdate
SetNillableClosedAt sets the "closed_at" field if the given value is not nil.
func (*IssueUpdate) SetNillableClosedByID ¶
func (iu *IssueUpdate) SetNillableClosedByID(id *int64) *IssueUpdate
SetNillableClosedByID sets the "closed_by" edge to the User entity by ID if the given value is not nil.
func (*IssueUpdate) SetNillableCommentsURL ¶
func (iu *IssueUpdate) SetNillableCommentsURL(s *string) *IssueUpdate
SetNillableCommentsURL sets the "comments_url" field if the given value is not nil.
func (*IssueUpdate) SetNillableCreatedAt ¶
func (iu *IssueUpdate) SetNillableCreatedAt(t *time.Time) *IssueUpdate
SetNillableCreatedAt sets the "created_at" field if the given value is not nil.
func (*IssueUpdate) SetNillableDraft ¶
func (iu *IssueUpdate) SetNillableDraft(b *bool) *IssueUpdate
SetNillableDraft sets the "draft" field if the given value is not nil.
func (*IssueUpdate) SetNillableEventsURL ¶
func (iu *IssueUpdate) SetNillableEventsURL(s *string) *IssueUpdate
SetNillableEventsURL sets the "events_url" field if the given value is not nil.
func (*IssueUpdate) SetNillableHTMLURL ¶
func (iu *IssueUpdate) SetNillableHTMLURL(s *string) *IssueUpdate
SetNillableHTMLURL sets the "html_url" field if the given value is not nil.
func (*IssueUpdate) SetNillableLabelsURL ¶
func (iu *IssueUpdate) SetNillableLabelsURL(s *string) *IssueUpdate
SetNillableLabelsURL sets the "labels_url" field if the given value is not nil.
func (*IssueUpdate) SetNillableLocked ¶
func (iu *IssueUpdate) SetNillableLocked(b *bool) *IssueUpdate
SetNillableLocked sets the "locked" field if the given value is not nil.
func (*IssueUpdate) SetNillableNodeID ¶
func (iu *IssueUpdate) SetNillableNodeID(s *string) *IssueUpdate
SetNillableNodeID sets the "node_id" field if the given value is not nil.
func (*IssueUpdate) SetNillableNumber ¶
func (iu *IssueUpdate) SetNillableNumber(i *int64) *IssueUpdate
SetNillableNumber sets the "number" field if the given value is not nil.
func (*IssueUpdate) SetNillableRepositoryURL ¶
func (iu *IssueUpdate) SetNillableRepositoryURL(s *string) *IssueUpdate
SetNillableRepositoryURL sets the "repository_url" field if the given value is not nil.
func (*IssueUpdate) SetNillableState ¶
func (iu *IssueUpdate) SetNillableState(s *string) *IssueUpdate
SetNillableState sets the "state" field if the given value is not nil.
func (*IssueUpdate) SetNillableStateReason ¶
func (iu *IssueUpdate) SetNillableStateReason(ir *issue.StateReason) *IssueUpdate
SetNillableStateReason sets the "state_reason" field if the given value is not nil.
func (*IssueUpdate) SetNillableTitle ¶
func (iu *IssueUpdate) SetNillableTitle(s *string) *IssueUpdate
SetNillableTitle sets the "title" field if the given value is not nil.
func (*IssueUpdate) SetNillableURL ¶
func (iu *IssueUpdate) SetNillableURL(s *string) *IssueUpdate
SetNillableURL sets the "url" field if the given value is not nil.
func (*IssueUpdate) SetNillableUpdatedAt ¶
func (iu *IssueUpdate) SetNillableUpdatedAt(t *time.Time) *IssueUpdate
SetNillableUpdatedAt sets the "updated_at" field if the given value is not nil.
func (*IssueUpdate) SetNillableUserID ¶
func (iu *IssueUpdate) SetNillableUserID(id *int64) *IssueUpdate
SetNillableUserID sets the "user" edge to the User entity by ID if the given value is not nil.
func (*IssueUpdate) SetNodeID ¶
func (iu *IssueUpdate) SetNodeID(s string) *IssueUpdate
SetNodeID sets the "node_id" field.
func (*IssueUpdate) SetNumber ¶
func (iu *IssueUpdate) SetNumber(i int64) *IssueUpdate
SetNumber sets the "number" field.
func (*IssueUpdate) SetReactions ¶
func (iu *IssueUpdate) SetReactions(m map[string]interface{}) *IssueUpdate
SetReactions sets the "reactions" field.
func (*IssueUpdate) SetRepository ¶
func (iu *IssueUpdate) SetRepository(r *Repository) *IssueUpdate
SetRepository sets the "repository" edge to the Repository entity.
func (*IssueUpdate) SetRepositoryID ¶
func (iu *IssueUpdate) SetRepositoryID(id int64) *IssueUpdate
SetRepositoryID sets the "repository" edge to the Repository entity by ID.
func (*IssueUpdate) SetRepositoryURL ¶
func (iu *IssueUpdate) SetRepositoryURL(s string) *IssueUpdate
SetRepositoryURL sets the "repository_url" field.
func (*IssueUpdate) SetState ¶
func (iu *IssueUpdate) SetState(s string) *IssueUpdate
SetState sets the "state" field.
func (*IssueUpdate) SetStateReason ¶
func (iu *IssueUpdate) SetStateReason(ir issue.StateReason) *IssueUpdate
SetStateReason sets the "state_reason" field.
func (*IssueUpdate) SetTitle ¶
func (iu *IssueUpdate) SetTitle(s string) *IssueUpdate
SetTitle sets the "title" field.
func (*IssueUpdate) SetURL ¶
func (iu *IssueUpdate) SetURL(s string) *IssueUpdate
SetURL sets the "url" field.
func (*IssueUpdate) SetUpdatedAt ¶
func (iu *IssueUpdate) SetUpdatedAt(t time.Time) *IssueUpdate
SetUpdatedAt sets the "updated_at" field.
func (*IssueUpdate) SetUser ¶
func (iu *IssueUpdate) SetUser(u *User) *IssueUpdate
SetUser sets the "user" edge to the User entity.
func (*IssueUpdate) SetUserID ¶
func (iu *IssueUpdate) SetUserID(id int64) *IssueUpdate
SetUserID sets the "user" edge to the User entity by ID.
func (*IssueUpdate) Where ¶
func (iu *IssueUpdate) Where(ps ...predicate.Issue) *IssueUpdate
Where appends a list predicates to the IssueUpdate builder.
type IssueUpdateOne ¶
type IssueUpdateOne struct {
// contains filtered or unexported fields
}
IssueUpdateOne is the builder for updating a single Issue entity.
func (*IssueUpdateOne) AddAssigneeIDs ¶
func (iuo *IssueUpdateOne) AddAssigneeIDs(ids ...int64) *IssueUpdateOne
AddAssigneeIDs adds the "assignees" edge to the User entity by IDs.
func (*IssueUpdateOne) AddAssignees ¶
func (iuo *IssueUpdateOne) AddAssignees(u ...*User) *IssueUpdateOne
AddAssignees adds the "assignees" edges to the User entity.
func (*IssueUpdateOne) AddCommentIDs ¶
func (iuo *IssueUpdateOne) AddCommentIDs(ids ...int64) *IssueUpdateOne
AddCommentIDs adds the "comments" edge to the IssueComment entity by IDs.
func (*IssueUpdateOne) AddComments ¶
func (iuo *IssueUpdateOne) AddComments(i ...*IssueComment) *IssueUpdateOne
AddComments adds the "comments" edges to the IssueComment entity.
func (*IssueUpdateOne) AddNumber ¶
func (iuo *IssueUpdateOne) AddNumber(i int64) *IssueUpdateOne
AddNumber adds i to the "number" field.
func (*IssueUpdateOne) ClearActiveLockReason ¶
func (iuo *IssueUpdateOne) ClearActiveLockReason() *IssueUpdateOne
ClearActiveLockReason clears the value of the "active_lock_reason" field.
func (*IssueUpdateOne) ClearAssignees ¶
func (iuo *IssueUpdateOne) ClearAssignees() *IssueUpdateOne
ClearAssignees clears all "assignees" edges to the User entity.
func (*IssueUpdateOne) ClearBody ¶
func (iuo *IssueUpdateOne) ClearBody() *IssueUpdateOne
ClearBody clears the value of the "body" field.
func (*IssueUpdateOne) ClearClosedAt ¶
func (iuo *IssueUpdateOne) ClearClosedAt() *IssueUpdateOne
ClearClosedAt clears the value of the "closed_at" field.
func (*IssueUpdateOne) ClearClosedBy ¶
func (iuo *IssueUpdateOne) ClearClosedBy() *IssueUpdateOne
ClearClosedBy clears the "closed_by" edge to the User entity.
func (*IssueUpdateOne) ClearComments ¶
func (iuo *IssueUpdateOne) ClearComments() *IssueUpdateOne
ClearComments clears all "comments" edges to the IssueComment entity.
func (*IssueUpdateOne) ClearRepository ¶
func (iuo *IssueUpdateOne) ClearRepository() *IssueUpdateOne
ClearRepository clears the "repository" edge to the Repository entity.
func (*IssueUpdateOne) ClearStateReason ¶
func (iuo *IssueUpdateOne) ClearStateReason() *IssueUpdateOne
ClearStateReason clears the value of the "state_reason" field.
func (*IssueUpdateOne) ClearUser ¶
func (iuo *IssueUpdateOne) ClearUser() *IssueUpdateOne
ClearUser clears the "user" edge to the User entity.
func (*IssueUpdateOne) CopyIssue ¶
func (iuo *IssueUpdateOne) CopyIssue(input *Issue) *IssueUpdateOne
CopyIssue allows to update a Issue copying the existing values of input.
func (*IssueUpdateOne) Exec ¶
func (iuo *IssueUpdateOne) Exec(ctx context.Context) error
Exec executes the query on the entity.
func (*IssueUpdateOne) ExecX ¶
func (iuo *IssueUpdateOne) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*IssueUpdateOne) Mutation ¶
func (iuo *IssueUpdateOne) Mutation() *IssueMutation
Mutation returns the IssueMutation object of the builder.
func (*IssueUpdateOne) RemoveAssigneeIDs ¶
func (iuo *IssueUpdateOne) RemoveAssigneeIDs(ids ...int64) *IssueUpdateOne
RemoveAssigneeIDs removes the "assignees" edge to User entities by IDs.
func (*IssueUpdateOne) RemoveAssignees ¶
func (iuo *IssueUpdateOne) RemoveAssignees(u ...*User) *IssueUpdateOne
RemoveAssignees removes "assignees" edges to User entities.
func (*IssueUpdateOne) RemoveCommentIDs ¶
func (iuo *IssueUpdateOne) RemoveCommentIDs(ids ...int64) *IssueUpdateOne
RemoveCommentIDs removes the "comments" edge to IssueComment entities by IDs.
func (*IssueUpdateOne) RemoveComments ¶
func (iuo *IssueUpdateOne) RemoveComments(i ...*IssueComment) *IssueUpdateOne
RemoveComments removes "comments" edges to IssueComment entities.
func (*IssueUpdateOne) Save ¶
func (iuo *IssueUpdateOne) Save(ctx context.Context) (*Issue, error)
Save executes the query and returns the updated Issue entity.
func (*IssueUpdateOne) SaveX ¶
func (iuo *IssueUpdateOne) SaveX(ctx context.Context) *Issue
SaveX is like Save, but panics if an error occurs.
func (*IssueUpdateOne) Select ¶
func (iuo *IssueUpdateOne) Select(field string, fields ...string) *IssueUpdateOne
Select allows selecting one or more fields (columns) of the returned entity. The default is selecting all fields defined in the entity schema.
func (*IssueUpdateOne) SetActiveLockReason ¶
func (iuo *IssueUpdateOne) SetActiveLockReason(s string) *IssueUpdateOne
SetActiveLockReason sets the "active_lock_reason" field.
func (*IssueUpdateOne) SetAuthorAssociation ¶
func (iuo *IssueUpdateOne) SetAuthorAssociation(ia issue.AuthorAssociation) *IssueUpdateOne
SetAuthorAssociation sets the "author_association" field.
func (*IssueUpdateOne) SetBody ¶
func (iuo *IssueUpdateOne) SetBody(s string) *IssueUpdateOne
SetBody sets the "body" field.
func (*IssueUpdateOne) SetClosedAt ¶
func (iuo *IssueUpdateOne) SetClosedAt(t time.Time) *IssueUpdateOne
SetClosedAt sets the "closed_at" field.
func (*IssueUpdateOne) SetClosedBy ¶
func (iuo *IssueUpdateOne) SetClosedBy(u *User) *IssueUpdateOne
SetClosedBy sets the "closed_by" edge to the User entity.
func (*IssueUpdateOne) SetClosedByID ¶
func (iuo *IssueUpdateOne) SetClosedByID(id int64) *IssueUpdateOne
SetClosedByID sets the "closed_by" edge to the User entity by ID.
func (*IssueUpdateOne) SetCommentsURL ¶
func (iuo *IssueUpdateOne) SetCommentsURL(s string) *IssueUpdateOne
SetCommentsURL sets the "comments_url" field.
func (*IssueUpdateOne) SetCreatedAt ¶
func (iuo *IssueUpdateOne) SetCreatedAt(t time.Time) *IssueUpdateOne
SetCreatedAt sets the "created_at" field.
func (*IssueUpdateOne) SetDraft ¶
func (iuo *IssueUpdateOne) SetDraft(b bool) *IssueUpdateOne
SetDraft sets the "draft" field.
func (*IssueUpdateOne) SetEventsURL ¶
func (iuo *IssueUpdateOne) SetEventsURL(s string) *IssueUpdateOne
SetEventsURL sets the "events_url" field.
func (*IssueUpdateOne) SetHTMLURL ¶
func (iuo *IssueUpdateOne) SetHTMLURL(s string) *IssueUpdateOne
SetHTMLURL sets the "html_url" field.
func (*IssueUpdateOne) SetLabelsURL ¶
func (iuo *IssueUpdateOne) SetLabelsURL(s string) *IssueUpdateOne
SetLabelsURL sets the "labels_url" field.
func (*IssueUpdateOne) SetLocked ¶
func (iuo *IssueUpdateOne) SetLocked(b bool) *IssueUpdateOne
SetLocked sets the "locked" field.
func (*IssueUpdateOne) SetNillableActiveLockReason ¶
func (iuo *IssueUpdateOne) SetNillableActiveLockReason(s *string) *IssueUpdateOne
SetNillableActiveLockReason sets the "active_lock_reason" field if the given value is not nil.
func (*IssueUpdateOne) SetNillableAuthorAssociation ¶
func (iuo *IssueUpdateOne) SetNillableAuthorAssociation(ia *issue.AuthorAssociation) *IssueUpdateOne
SetNillableAuthorAssociation sets the "author_association" field if the given value is not nil.
func (*IssueUpdateOne) SetNillableBody ¶
func (iuo *IssueUpdateOne) SetNillableBody(s *string) *IssueUpdateOne
SetNillableBody sets the "body" field if the given value is not nil.
func (*IssueUpdateOne) SetNillableClosedAt ¶
func (iuo *IssueUpdateOne) SetNillableClosedAt(t *time.Time) *IssueUpdateOne
SetNillableClosedAt sets the "closed_at" field if the given value is not nil.
func (*IssueUpdateOne) SetNillableClosedByID ¶
func (iuo *IssueUpdateOne) SetNillableClosedByID(id *int64) *IssueUpdateOne
SetNillableClosedByID sets the "closed_by" edge to the User entity by ID if the given value is not nil.
func (*IssueUpdateOne) SetNillableCommentsURL ¶
func (iuo *IssueUpdateOne) SetNillableCommentsURL(s *string) *IssueUpdateOne
SetNillableCommentsURL sets the "comments_url" field if the given value is not nil.
func (*IssueUpdateOne) SetNillableCreatedAt ¶
func (iuo *IssueUpdateOne) SetNillableCreatedAt(t *time.Time) *IssueUpdateOne
SetNillableCreatedAt sets the "created_at" field if the given value is not nil.
func (*IssueUpdateOne) SetNillableDraft ¶
func (iuo *IssueUpdateOne) SetNillableDraft(b *bool) *IssueUpdateOne
SetNillableDraft sets the "draft" field if the given value is not nil.
func (*IssueUpdateOne) SetNillableEventsURL ¶
func (iuo *IssueUpdateOne) SetNillableEventsURL(s *string) *IssueUpdateOne
SetNillableEventsURL sets the "events_url" field if the given value is not nil.
func (*IssueUpdateOne) SetNillableHTMLURL ¶
func (iuo *IssueUpdateOne) SetNillableHTMLURL(s *string) *IssueUpdateOne
SetNillableHTMLURL sets the "html_url" field if the given value is not nil.
func (*IssueUpdateOne) SetNillableLabelsURL ¶
func (iuo *IssueUpdateOne) SetNillableLabelsURL(s *string) *IssueUpdateOne
SetNillableLabelsURL sets the "labels_url" field if the given value is not nil.
func (*IssueUpdateOne) SetNillableLocked ¶
func (iuo *IssueUpdateOne) SetNillableLocked(b *bool) *IssueUpdateOne
SetNillableLocked sets the "locked" field if the given value is not nil.
func (*IssueUpdateOne) SetNillableNodeID ¶
func (iuo *IssueUpdateOne) SetNillableNodeID(s *string) *IssueUpdateOne
SetNillableNodeID sets the "node_id" field if the given value is not nil.
func (*IssueUpdateOne) SetNillableNumber ¶
func (iuo *IssueUpdateOne) SetNillableNumber(i *int64) *IssueUpdateOne
SetNillableNumber sets the "number" field if the given value is not nil.
func (*IssueUpdateOne) SetNillableRepositoryURL ¶
func (iuo *IssueUpdateOne) SetNillableRepositoryURL(s *string) *IssueUpdateOne
SetNillableRepositoryURL sets the "repository_url" field if the given value is not nil.
func (*IssueUpdateOne) SetNillableState ¶
func (iuo *IssueUpdateOne) SetNillableState(s *string) *IssueUpdateOne
SetNillableState sets the "state" field if the given value is not nil.
func (*IssueUpdateOne) SetNillableStateReason ¶
func (iuo *IssueUpdateOne) SetNillableStateReason(ir *issue.StateReason) *IssueUpdateOne
SetNillableStateReason sets the "state_reason" field if the given value is not nil.
func (*IssueUpdateOne) SetNillableTitle ¶
func (iuo *IssueUpdateOne) SetNillableTitle(s *string) *IssueUpdateOne
SetNillableTitle sets the "title" field if the given value is not nil.
func (*IssueUpdateOne) SetNillableURL ¶
func (iuo *IssueUpdateOne) SetNillableURL(s *string) *IssueUpdateOne
SetNillableURL sets the "url" field if the given value is not nil.
func (*IssueUpdateOne) SetNillableUpdatedAt ¶
func (iuo *IssueUpdateOne) SetNillableUpdatedAt(t *time.Time) *IssueUpdateOne
SetNillableUpdatedAt sets the "updated_at" field if the given value is not nil.
func (*IssueUpdateOne) SetNillableUserID ¶
func (iuo *IssueUpdateOne) SetNillableUserID(id *int64) *IssueUpdateOne
SetNillableUserID sets the "user" edge to the User entity by ID if the given value is not nil.
func (*IssueUpdateOne) SetNodeID ¶
func (iuo *IssueUpdateOne) SetNodeID(s string) *IssueUpdateOne
SetNodeID sets the "node_id" field.
func (*IssueUpdateOne) SetNumber ¶
func (iuo *IssueUpdateOne) SetNumber(i int64) *IssueUpdateOne
SetNumber sets the "number" field.
func (*IssueUpdateOne) SetReactions ¶
func (iuo *IssueUpdateOne) SetReactions(m map[string]interface{}) *IssueUpdateOne
SetReactions sets the "reactions" field.
func (*IssueUpdateOne) SetRepository ¶
func (iuo *IssueUpdateOne) SetRepository(r *Repository) *IssueUpdateOne
SetRepository sets the "repository" edge to the Repository entity.
func (*IssueUpdateOne) SetRepositoryID ¶
func (iuo *IssueUpdateOne) SetRepositoryID(id int64) *IssueUpdateOne
SetRepositoryID sets the "repository" edge to the Repository entity by ID.
func (*IssueUpdateOne) SetRepositoryURL ¶
func (iuo *IssueUpdateOne) SetRepositoryURL(s string) *IssueUpdateOne
SetRepositoryURL sets the "repository_url" field.
func (*IssueUpdateOne) SetState ¶
func (iuo *IssueUpdateOne) SetState(s string) *IssueUpdateOne
SetState sets the "state" field.
func (*IssueUpdateOne) SetStateReason ¶
func (iuo *IssueUpdateOne) SetStateReason(ir issue.StateReason) *IssueUpdateOne
SetStateReason sets the "state_reason" field.
func (*IssueUpdateOne) SetTitle ¶
func (iuo *IssueUpdateOne) SetTitle(s string) *IssueUpdateOne
SetTitle sets the "title" field.
func (*IssueUpdateOne) SetURL ¶
func (iuo *IssueUpdateOne) SetURL(s string) *IssueUpdateOne
SetURL sets the "url" field.
func (*IssueUpdateOne) SetUpdatedAt ¶
func (iuo *IssueUpdateOne) SetUpdatedAt(t time.Time) *IssueUpdateOne
SetUpdatedAt sets the "updated_at" field.
func (*IssueUpdateOne) SetUser ¶
func (iuo *IssueUpdateOne) SetUser(u *User) *IssueUpdateOne
SetUser sets the "user" edge to the User entity.
func (*IssueUpdateOne) SetUserID ¶
func (iuo *IssueUpdateOne) SetUserID(id int64) *IssueUpdateOne
SetUserID sets the "user" edge to the User entity by ID.
func (*IssueUpdateOne) Where ¶
func (iuo *IssueUpdateOne) Where(ps ...predicate.Issue) *IssueUpdateOne
Where appends a list predicates to the IssueUpdate builder.
type IssueUpsert ¶
IssueUpsert is the "OnConflict" setter.
func (*IssueUpsert) AddNumber ¶
func (u *IssueUpsert) AddNumber(v int64) *IssueUpsert
AddNumber adds v to the "number" field.
func (*IssueUpsert) ClearActiveLockReason ¶
func (u *IssueUpsert) ClearActiveLockReason() *IssueUpsert
ClearActiveLockReason clears the value of the "active_lock_reason" field.
func (*IssueUpsert) ClearBody ¶
func (u *IssueUpsert) ClearBody() *IssueUpsert
ClearBody clears the value of the "body" field.
func (*IssueUpsert) ClearClosedAt ¶
func (u *IssueUpsert) ClearClosedAt() *IssueUpsert
ClearClosedAt clears the value of the "closed_at" field.
func (*IssueUpsert) ClearStateReason ¶
func (u *IssueUpsert) ClearStateReason() *IssueUpsert
ClearStateReason clears the value of the "state_reason" field.
func (*IssueUpsert) SetActiveLockReason ¶
func (u *IssueUpsert) SetActiveLockReason(v string) *IssueUpsert
SetActiveLockReason sets the "active_lock_reason" field.
func (*IssueUpsert) SetAuthorAssociation ¶
func (u *IssueUpsert) SetAuthorAssociation(v issue.AuthorAssociation) *IssueUpsert
SetAuthorAssociation sets the "author_association" field.
func (*IssueUpsert) SetBody ¶
func (u *IssueUpsert) SetBody(v string) *IssueUpsert
SetBody sets the "body" field.
func (*IssueUpsert) SetClosedAt ¶
func (u *IssueUpsert) SetClosedAt(v time.Time) *IssueUpsert
SetClosedAt sets the "closed_at" field.
func (*IssueUpsert) SetCommentsURL ¶
func (u *IssueUpsert) SetCommentsURL(v string) *IssueUpsert
SetCommentsURL sets the "comments_url" field.
func (*IssueUpsert) SetCreatedAt ¶
func (u *IssueUpsert) SetCreatedAt(v time.Time) *IssueUpsert
SetCreatedAt sets the "created_at" field.
func (*IssueUpsert) SetDraft ¶
func (u *IssueUpsert) SetDraft(v bool) *IssueUpsert
SetDraft sets the "draft" field.
func (*IssueUpsert) SetEventsURL ¶
func (u *IssueUpsert) SetEventsURL(v string) *IssueUpsert
SetEventsURL sets the "events_url" field.
func (*IssueUpsert) SetHTMLURL ¶
func (u *IssueUpsert) SetHTMLURL(v string) *IssueUpsert
SetHTMLURL sets the "html_url" field.
func (*IssueUpsert) SetLabelsURL ¶
func (u *IssueUpsert) SetLabelsURL(v string) *IssueUpsert
SetLabelsURL sets the "labels_url" field.
func (*IssueUpsert) SetLocked ¶
func (u *IssueUpsert) SetLocked(v bool) *IssueUpsert
SetLocked sets the "locked" field.
func (*IssueUpsert) SetNodeID ¶
func (u *IssueUpsert) SetNodeID(v string) *IssueUpsert
SetNodeID sets the "node_id" field.
func (*IssueUpsert) SetNumber ¶
func (u *IssueUpsert) SetNumber(v int64) *IssueUpsert
SetNumber sets the "number" field.
func (*IssueUpsert) SetReactions ¶
func (u *IssueUpsert) SetReactions(v map[string]interface{}) *IssueUpsert
SetReactions sets the "reactions" field.
func (*IssueUpsert) SetRepositoryURL ¶
func (u *IssueUpsert) SetRepositoryURL(v string) *IssueUpsert
SetRepositoryURL sets the "repository_url" field.
func (*IssueUpsert) SetState ¶
func (u *IssueUpsert) SetState(v string) *IssueUpsert
SetState sets the "state" field.
func (*IssueUpsert) SetStateReason ¶
func (u *IssueUpsert) SetStateReason(v issue.StateReason) *IssueUpsert
SetStateReason sets the "state_reason" field.
func (*IssueUpsert) SetTitle ¶
func (u *IssueUpsert) SetTitle(v string) *IssueUpsert
SetTitle sets the "title" field.
func (*IssueUpsert) SetURL ¶
func (u *IssueUpsert) SetURL(v string) *IssueUpsert
SetURL sets the "url" field.
func (*IssueUpsert) SetUpdatedAt ¶
func (u *IssueUpsert) SetUpdatedAt(v time.Time) *IssueUpsert
SetUpdatedAt sets the "updated_at" field.
func (*IssueUpsert) UpdateActiveLockReason ¶
func (u *IssueUpsert) UpdateActiveLockReason() *IssueUpsert
UpdateActiveLockReason sets the "active_lock_reason" field to the value that was provided on create.
func (*IssueUpsert) UpdateAuthorAssociation ¶
func (u *IssueUpsert) UpdateAuthorAssociation() *IssueUpsert
UpdateAuthorAssociation sets the "author_association" field to the value that was provided on create.
func (*IssueUpsert) UpdateBody ¶
func (u *IssueUpsert) UpdateBody() *IssueUpsert
UpdateBody sets the "body" field to the value that was provided on create.
func (*IssueUpsert) UpdateClosedAt ¶
func (u *IssueUpsert) UpdateClosedAt() *IssueUpsert
UpdateClosedAt sets the "closed_at" field to the value that was provided on create.
func (*IssueUpsert) UpdateCommentsURL ¶
func (u *IssueUpsert) UpdateCommentsURL() *IssueUpsert
UpdateCommentsURL sets the "comments_url" field to the value that was provided on create.
func (*IssueUpsert) UpdateCreatedAt ¶
func (u *IssueUpsert) UpdateCreatedAt() *IssueUpsert
UpdateCreatedAt sets the "created_at" field to the value that was provided on create.
func (*IssueUpsert) UpdateDraft ¶
func (u *IssueUpsert) UpdateDraft() *IssueUpsert
UpdateDraft sets the "draft" field to the value that was provided on create.
func (*IssueUpsert) UpdateEventsURL ¶
func (u *IssueUpsert) UpdateEventsURL() *IssueUpsert
UpdateEventsURL sets the "events_url" field to the value that was provided on create.
func (*IssueUpsert) UpdateHTMLURL ¶
func (u *IssueUpsert) UpdateHTMLURL() *IssueUpsert
UpdateHTMLURL sets the "html_url" field to the value that was provided on create.
func (*IssueUpsert) UpdateLabelsURL ¶
func (u *IssueUpsert) UpdateLabelsURL() *IssueUpsert
UpdateLabelsURL sets the "labels_url" field to the value that was provided on create.
func (*IssueUpsert) UpdateLocked ¶
func (u *IssueUpsert) UpdateLocked() *IssueUpsert
UpdateLocked sets the "locked" field to the value that was provided on create.
func (*IssueUpsert) UpdateNodeID ¶
func (u *IssueUpsert) UpdateNodeID() *IssueUpsert
UpdateNodeID sets the "node_id" field to the value that was provided on create.
func (*IssueUpsert) UpdateNumber ¶
func (u *IssueUpsert) UpdateNumber() *IssueUpsert
UpdateNumber sets the "number" field to the value that was provided on create.
func (*IssueUpsert) UpdateReactions ¶
func (u *IssueUpsert) UpdateReactions() *IssueUpsert
UpdateReactions sets the "reactions" field to the value that was provided on create.
func (*IssueUpsert) UpdateRepositoryURL ¶
func (u *IssueUpsert) UpdateRepositoryURL() *IssueUpsert
UpdateRepositoryURL sets the "repository_url" field to the value that was provided on create.
func (*IssueUpsert) UpdateState ¶
func (u *IssueUpsert) UpdateState() *IssueUpsert
UpdateState sets the "state" field to the value that was provided on create.
func (*IssueUpsert) UpdateStateReason ¶
func (u *IssueUpsert) UpdateStateReason() *IssueUpsert
UpdateStateReason sets the "state_reason" field to the value that was provided on create.
func (*IssueUpsert) UpdateTitle ¶
func (u *IssueUpsert) UpdateTitle() *IssueUpsert
UpdateTitle sets the "title" field to the value that was provided on create.
func (*IssueUpsert) UpdateURL ¶
func (u *IssueUpsert) UpdateURL() *IssueUpsert
UpdateURL sets the "url" field to the value that was provided on create.
func (*IssueUpsert) UpdateUpdatedAt ¶
func (u *IssueUpsert) UpdateUpdatedAt() *IssueUpsert
UpdateUpdatedAt sets the "updated_at" field to the value that was provided on create.
type IssueUpsertBulk ¶
type IssueUpsertBulk struct {
// contains filtered or unexported fields
}
IssueUpsertBulk is the builder for "upsert"-ing a bulk of Issue nodes.
func (*IssueUpsertBulk) AddNumber ¶
func (u *IssueUpsertBulk) AddNumber(v int64) *IssueUpsertBulk
AddNumber adds v to the "number" field.
func (*IssueUpsertBulk) ClearActiveLockReason ¶
func (u *IssueUpsertBulk) ClearActiveLockReason() *IssueUpsertBulk
ClearActiveLockReason clears the value of the "active_lock_reason" field.
func (*IssueUpsertBulk) ClearBody ¶
func (u *IssueUpsertBulk) ClearBody() *IssueUpsertBulk
ClearBody clears the value of the "body" field.
func (*IssueUpsertBulk) ClearClosedAt ¶
func (u *IssueUpsertBulk) ClearClosedAt() *IssueUpsertBulk
ClearClosedAt clears the value of the "closed_at" field.
func (*IssueUpsertBulk) ClearStateReason ¶
func (u *IssueUpsertBulk) ClearStateReason() *IssueUpsertBulk
ClearStateReason clears the value of the "state_reason" field.
func (*IssueUpsertBulk) DoNothing ¶
func (u *IssueUpsertBulk) DoNothing() *IssueUpsertBulk
DoNothing configures the conflict_action to `DO NOTHING`. Supported only by SQLite and PostgreSQL.
func (*IssueUpsertBulk) Exec ¶
func (u *IssueUpsertBulk) Exec(ctx context.Context) error
Exec executes the query.
func (*IssueUpsertBulk) ExecX ¶
func (u *IssueUpsertBulk) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*IssueUpsertBulk) Ignore ¶
func (u *IssueUpsertBulk) Ignore() *IssueUpsertBulk
Ignore sets each column to itself in case of conflict. Using this option is equivalent to using:
client.Issue.Create(). OnConflict(sql.ResolveWithIgnore()). Exec(ctx)
func (*IssueUpsertBulk) SetActiveLockReason ¶
func (u *IssueUpsertBulk) SetActiveLockReason(v string) *IssueUpsertBulk
SetActiveLockReason sets the "active_lock_reason" field.
func (*IssueUpsertBulk) SetAuthorAssociation ¶
func (u *IssueUpsertBulk) SetAuthorAssociation(v issue.AuthorAssociation) *IssueUpsertBulk
SetAuthorAssociation sets the "author_association" field.
func (*IssueUpsertBulk) SetBody ¶
func (u *IssueUpsertBulk) SetBody(v string) *IssueUpsertBulk
SetBody sets the "body" field.
func (*IssueUpsertBulk) SetClosedAt ¶
func (u *IssueUpsertBulk) SetClosedAt(v time.Time) *IssueUpsertBulk
SetClosedAt sets the "closed_at" field.
func (*IssueUpsertBulk) SetCommentsURL ¶
func (u *IssueUpsertBulk) SetCommentsURL(v string) *IssueUpsertBulk
SetCommentsURL sets the "comments_url" field.
func (*IssueUpsertBulk) SetCreatedAt ¶
func (u *IssueUpsertBulk) SetCreatedAt(v time.Time) *IssueUpsertBulk
SetCreatedAt sets the "created_at" field.
func (*IssueUpsertBulk) SetDraft ¶
func (u *IssueUpsertBulk) SetDraft(v bool) *IssueUpsertBulk
SetDraft sets the "draft" field.
func (*IssueUpsertBulk) SetEventsURL ¶
func (u *IssueUpsertBulk) SetEventsURL(v string) *IssueUpsertBulk
SetEventsURL sets the "events_url" field.
func (*IssueUpsertBulk) SetHTMLURL ¶
func (u *IssueUpsertBulk) SetHTMLURL(v string) *IssueUpsertBulk
SetHTMLURL sets the "html_url" field.
func (*IssueUpsertBulk) SetLabelsURL ¶
func (u *IssueUpsertBulk) SetLabelsURL(v string) *IssueUpsertBulk
SetLabelsURL sets the "labels_url" field.
func (*IssueUpsertBulk) SetLocked ¶
func (u *IssueUpsertBulk) SetLocked(v bool) *IssueUpsertBulk
SetLocked sets the "locked" field.
func (*IssueUpsertBulk) SetNodeID ¶
func (u *IssueUpsertBulk) SetNodeID(v string) *IssueUpsertBulk
SetNodeID sets the "node_id" field.
func (*IssueUpsertBulk) SetNumber ¶
func (u *IssueUpsertBulk) SetNumber(v int64) *IssueUpsertBulk
SetNumber sets the "number" field.
func (*IssueUpsertBulk) SetReactions ¶
func (u *IssueUpsertBulk) SetReactions(v map[string]interface{}) *IssueUpsertBulk
SetReactions sets the "reactions" field.
func (*IssueUpsertBulk) SetRepositoryURL ¶
func (u *IssueUpsertBulk) SetRepositoryURL(v string) *IssueUpsertBulk
SetRepositoryURL sets the "repository_url" field.
func (*IssueUpsertBulk) SetState ¶
func (u *IssueUpsertBulk) SetState(v string) *IssueUpsertBulk
SetState sets the "state" field.
func (*IssueUpsertBulk) SetStateReason ¶
func (u *IssueUpsertBulk) SetStateReason(v issue.StateReason) *IssueUpsertBulk
SetStateReason sets the "state_reason" field.
func (*IssueUpsertBulk) SetTitle ¶
func (u *IssueUpsertBulk) SetTitle(v string) *IssueUpsertBulk
SetTitle sets the "title" field.
func (*IssueUpsertBulk) SetURL ¶
func (u *IssueUpsertBulk) SetURL(v string) *IssueUpsertBulk
SetURL sets the "url" field.
func (*IssueUpsertBulk) SetUpdatedAt ¶
func (u *IssueUpsertBulk) SetUpdatedAt(v time.Time) *IssueUpsertBulk
SetUpdatedAt sets the "updated_at" field.
func (*IssueUpsertBulk) Update ¶
func (u *IssueUpsertBulk) Update(set func(*IssueUpsert)) *IssueUpsertBulk
Update allows overriding fields `UPDATE` values. See the IssueCreateBulk.OnConflict documentation for more info.
func (*IssueUpsertBulk) UpdateActiveLockReason ¶
func (u *IssueUpsertBulk) UpdateActiveLockReason() *IssueUpsertBulk
UpdateActiveLockReason sets the "active_lock_reason" field to the value that was provided on create.
func (*IssueUpsertBulk) UpdateAuthorAssociation ¶
func (u *IssueUpsertBulk) UpdateAuthorAssociation() *IssueUpsertBulk
UpdateAuthorAssociation sets the "author_association" field to the value that was provided on create.
func (*IssueUpsertBulk) UpdateBody ¶
func (u *IssueUpsertBulk) UpdateBody() *IssueUpsertBulk
UpdateBody sets the "body" field to the value that was provided on create.
func (*IssueUpsertBulk) UpdateClosedAt ¶
func (u *IssueUpsertBulk) UpdateClosedAt() *IssueUpsertBulk
UpdateClosedAt sets the "closed_at" field to the value that was provided on create.
func (*IssueUpsertBulk) UpdateCommentsURL ¶
func (u *IssueUpsertBulk) UpdateCommentsURL() *IssueUpsertBulk
UpdateCommentsURL sets the "comments_url" field to the value that was provided on create.
func (*IssueUpsertBulk) UpdateCreatedAt ¶
func (u *IssueUpsertBulk) UpdateCreatedAt() *IssueUpsertBulk
UpdateCreatedAt sets the "created_at" field to the value that was provided on create.
func (*IssueUpsertBulk) UpdateDraft ¶
func (u *IssueUpsertBulk) UpdateDraft() *IssueUpsertBulk
UpdateDraft sets the "draft" field to the value that was provided on create.
func (*IssueUpsertBulk) UpdateEventsURL ¶
func (u *IssueUpsertBulk) UpdateEventsURL() *IssueUpsertBulk
UpdateEventsURL sets the "events_url" field to the value that was provided on create.
func (*IssueUpsertBulk) UpdateHTMLURL ¶
func (u *IssueUpsertBulk) UpdateHTMLURL() *IssueUpsertBulk
UpdateHTMLURL sets the "html_url" field to the value that was provided on create.
func (*IssueUpsertBulk) UpdateLabelsURL ¶
func (u *IssueUpsertBulk) UpdateLabelsURL() *IssueUpsertBulk
UpdateLabelsURL sets the "labels_url" field to the value that was provided on create.
func (*IssueUpsertBulk) UpdateLocked ¶
func (u *IssueUpsertBulk) UpdateLocked() *IssueUpsertBulk
UpdateLocked sets the "locked" field to the value that was provided on create.
func (*IssueUpsertBulk) UpdateNewValues ¶
func (u *IssueUpsertBulk) UpdateNewValues() *IssueUpsertBulk
UpdateNewValues updates the mutable fields using the new values that were set on create. Using this option is equivalent to using:
client.Issue.Create(). OnConflict( sql.ResolveWithNewValues(), sql.ResolveWith(func(u *sql.UpdateSet) { u.SetIgnore(issue.FieldID) }), ). Exec(ctx)
func (*IssueUpsertBulk) UpdateNodeID ¶
func (u *IssueUpsertBulk) UpdateNodeID() *IssueUpsertBulk
UpdateNodeID sets the "node_id" field to the value that was provided on create.
func (*IssueUpsertBulk) UpdateNumber ¶
func (u *IssueUpsertBulk) UpdateNumber() *IssueUpsertBulk
UpdateNumber sets the "number" field to the value that was provided on create.
func (*IssueUpsertBulk) UpdateReactions ¶
func (u *IssueUpsertBulk) UpdateReactions() *IssueUpsertBulk
UpdateReactions sets the "reactions" field to the value that was provided on create.
func (*IssueUpsertBulk) UpdateRepositoryURL ¶
func (u *IssueUpsertBulk) UpdateRepositoryURL() *IssueUpsertBulk
UpdateRepositoryURL sets the "repository_url" field to the value that was provided on create.
func (*IssueUpsertBulk) UpdateState ¶
func (u *IssueUpsertBulk) UpdateState() *IssueUpsertBulk
UpdateState sets the "state" field to the value that was provided on create.
func (*IssueUpsertBulk) UpdateStateReason ¶
func (u *IssueUpsertBulk) UpdateStateReason() *IssueUpsertBulk
UpdateStateReason sets the "state_reason" field to the value that was provided on create.
func (*IssueUpsertBulk) UpdateTitle ¶
func (u *IssueUpsertBulk) UpdateTitle() *IssueUpsertBulk
UpdateTitle sets the "title" field to the value that was provided on create.
func (*IssueUpsertBulk) UpdateURL ¶
func (u *IssueUpsertBulk) UpdateURL() *IssueUpsertBulk
UpdateURL sets the "url" field to the value that was provided on create.
func (*IssueUpsertBulk) UpdateUpdatedAt ¶
func (u *IssueUpsertBulk) UpdateUpdatedAt() *IssueUpsertBulk
UpdateUpdatedAt sets the "updated_at" field to the value that was provided on create.
type IssueUpsertOne ¶
type IssueUpsertOne struct {
// contains filtered or unexported fields
}
IssueUpsertOne is the builder for "upsert"-ing
one Issue node.
func (*IssueUpsertOne) AddNumber ¶
func (u *IssueUpsertOne) AddNumber(v int64) *IssueUpsertOne
AddNumber adds v to the "number" field.
func (*IssueUpsertOne) ClearActiveLockReason ¶
func (u *IssueUpsertOne) ClearActiveLockReason() *IssueUpsertOne
ClearActiveLockReason clears the value of the "active_lock_reason" field.
func (*IssueUpsertOne) ClearBody ¶
func (u *IssueUpsertOne) ClearBody() *IssueUpsertOne
ClearBody clears the value of the "body" field.
func (*IssueUpsertOne) ClearClosedAt ¶
func (u *IssueUpsertOne) ClearClosedAt() *IssueUpsertOne
ClearClosedAt clears the value of the "closed_at" field.
func (*IssueUpsertOne) ClearStateReason ¶
func (u *IssueUpsertOne) ClearStateReason() *IssueUpsertOne
ClearStateReason clears the value of the "state_reason" field.
func (*IssueUpsertOne) DoNothing ¶
func (u *IssueUpsertOne) DoNothing() *IssueUpsertOne
DoNothing configures the conflict_action to `DO NOTHING`. Supported only by SQLite and PostgreSQL.
func (*IssueUpsertOne) Exec ¶
func (u *IssueUpsertOne) Exec(ctx context.Context) error
Exec executes the query.
func (*IssueUpsertOne) ExecX ¶
func (u *IssueUpsertOne) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*IssueUpsertOne) ID ¶
func (u *IssueUpsertOne) ID(ctx context.Context) (id int64, err error)
Exec executes the UPSERT query and returns the inserted/updated ID.
func (*IssueUpsertOne) IDX ¶
func (u *IssueUpsertOne) IDX(ctx context.Context) int64
IDX is like ID, but panics if an error occurs.
func (*IssueUpsertOne) Ignore ¶
func (u *IssueUpsertOne) Ignore() *IssueUpsertOne
Ignore sets each column to itself in case of conflict. Using this option is equivalent to using:
client.Issue.Create(). OnConflict(sql.ResolveWithIgnore()). Exec(ctx)
func (*IssueUpsertOne) SetActiveLockReason ¶
func (u *IssueUpsertOne) SetActiveLockReason(v string) *IssueUpsertOne
SetActiveLockReason sets the "active_lock_reason" field.
func (*IssueUpsertOne) SetAuthorAssociation ¶
func (u *IssueUpsertOne) SetAuthorAssociation(v issue.AuthorAssociation) *IssueUpsertOne
SetAuthorAssociation sets the "author_association" field.
func (*IssueUpsertOne) SetBody ¶
func (u *IssueUpsertOne) SetBody(v string) *IssueUpsertOne
SetBody sets the "body" field.
func (*IssueUpsertOne) SetClosedAt ¶
func (u *IssueUpsertOne) SetClosedAt(v time.Time) *IssueUpsertOne
SetClosedAt sets the "closed_at" field.
func (*IssueUpsertOne) SetCommentsURL ¶
func (u *IssueUpsertOne) SetCommentsURL(v string) *IssueUpsertOne
SetCommentsURL sets the "comments_url" field.
func (*IssueUpsertOne) SetCreatedAt ¶
func (u *IssueUpsertOne) SetCreatedAt(v time.Time) *IssueUpsertOne
SetCreatedAt sets the "created_at" field.
func (*IssueUpsertOne) SetDraft ¶
func (u *IssueUpsertOne) SetDraft(v bool) *IssueUpsertOne
SetDraft sets the "draft" field.
func (*IssueUpsertOne) SetEventsURL ¶
func (u *IssueUpsertOne) SetEventsURL(v string) *IssueUpsertOne
SetEventsURL sets the "events_url" field.
func (*IssueUpsertOne) SetHTMLURL ¶
func (u *IssueUpsertOne) SetHTMLURL(v string) *IssueUpsertOne
SetHTMLURL sets the "html_url" field.
func (*IssueUpsertOne) SetLabelsURL ¶
func (u *IssueUpsertOne) SetLabelsURL(v string) *IssueUpsertOne
SetLabelsURL sets the "labels_url" field.
func (*IssueUpsertOne) SetLocked ¶
func (u *IssueUpsertOne) SetLocked(v bool) *IssueUpsertOne
SetLocked sets the "locked" field.
func (*IssueUpsertOne) SetNodeID ¶
func (u *IssueUpsertOne) SetNodeID(v string) *IssueUpsertOne
SetNodeID sets the "node_id" field.
func (*IssueUpsertOne) SetNumber ¶
func (u *IssueUpsertOne) SetNumber(v int64) *IssueUpsertOne
SetNumber sets the "number" field.
func (*IssueUpsertOne) SetReactions ¶
func (u *IssueUpsertOne) SetReactions(v map[string]interface{}) *IssueUpsertOne
SetReactions sets the "reactions" field.
func (*IssueUpsertOne) SetRepositoryURL ¶
func (u *IssueUpsertOne) SetRepositoryURL(v string) *IssueUpsertOne
SetRepositoryURL sets the "repository_url" field.
func (*IssueUpsertOne) SetState ¶
func (u *IssueUpsertOne) SetState(v string) *IssueUpsertOne
SetState sets the "state" field.
func (*IssueUpsertOne) SetStateReason ¶
func (u *IssueUpsertOne) SetStateReason(v issue.StateReason) *IssueUpsertOne
SetStateReason sets the "state_reason" field.
func (*IssueUpsertOne) SetTitle ¶
func (u *IssueUpsertOne) SetTitle(v string) *IssueUpsertOne
SetTitle sets the "title" field.
func (*IssueUpsertOne) SetURL ¶
func (u *IssueUpsertOne) SetURL(v string) *IssueUpsertOne
SetURL sets the "url" field.
func (*IssueUpsertOne) SetUpdatedAt ¶
func (u *IssueUpsertOne) SetUpdatedAt(v time.Time) *IssueUpsertOne
SetUpdatedAt sets the "updated_at" field.
func (*IssueUpsertOne) Update ¶
func (u *IssueUpsertOne) Update(set func(*IssueUpsert)) *IssueUpsertOne
Update allows overriding fields `UPDATE` values. See the IssueCreate.OnConflict documentation for more info.
func (*IssueUpsertOne) UpdateActiveLockReason ¶
func (u *IssueUpsertOne) UpdateActiveLockReason() *IssueUpsertOne
UpdateActiveLockReason sets the "active_lock_reason" field to the value that was provided on create.
func (*IssueUpsertOne) UpdateAuthorAssociation ¶
func (u *IssueUpsertOne) UpdateAuthorAssociation() *IssueUpsertOne
UpdateAuthorAssociation sets the "author_association" field to the value that was provided on create.
func (*IssueUpsertOne) UpdateBody ¶
func (u *IssueUpsertOne) UpdateBody() *IssueUpsertOne
UpdateBody sets the "body" field to the value that was provided on create.
func (*IssueUpsertOne) UpdateClosedAt ¶
func (u *IssueUpsertOne) UpdateClosedAt() *IssueUpsertOne
UpdateClosedAt sets the "closed_at" field to the value that was provided on create.
func (*IssueUpsertOne) UpdateCommentsURL ¶
func (u *IssueUpsertOne) UpdateCommentsURL() *IssueUpsertOne
UpdateCommentsURL sets the "comments_url" field to the value that was provided on create.
func (*IssueUpsertOne) UpdateCreatedAt ¶
func (u *IssueUpsertOne) UpdateCreatedAt() *IssueUpsertOne
UpdateCreatedAt sets the "created_at" field to the value that was provided on create.
func (*IssueUpsertOne) UpdateDraft ¶
func (u *IssueUpsertOne) UpdateDraft() *IssueUpsertOne
UpdateDraft sets the "draft" field to the value that was provided on create.
func (*IssueUpsertOne) UpdateEventsURL ¶
func (u *IssueUpsertOne) UpdateEventsURL() *IssueUpsertOne
UpdateEventsURL sets the "events_url" field to the value that was provided on create.
func (*IssueUpsertOne) UpdateHTMLURL ¶
func (u *IssueUpsertOne) UpdateHTMLURL() *IssueUpsertOne
UpdateHTMLURL sets the "html_url" field to the value that was provided on create.
func (*IssueUpsertOne) UpdateLabelsURL ¶
func (u *IssueUpsertOne) UpdateLabelsURL() *IssueUpsertOne
UpdateLabelsURL sets the "labels_url" field to the value that was provided on create.
func (*IssueUpsertOne) UpdateLocked ¶
func (u *IssueUpsertOne) UpdateLocked() *IssueUpsertOne
UpdateLocked sets the "locked" field to the value that was provided on create.
func (*IssueUpsertOne) UpdateNewValues ¶
func (u *IssueUpsertOne) UpdateNewValues() *IssueUpsertOne
UpdateNewValues updates the mutable fields using the new values that were set on create except the ID field. Using this option is equivalent to using:
client.Issue.Create(). OnConflict( sql.ResolveWithNewValues(), sql.ResolveWith(func(u *sql.UpdateSet) { u.SetIgnore(issue.FieldID) }), ). Exec(ctx)
func (*IssueUpsertOne) UpdateNodeID ¶
func (u *IssueUpsertOne) UpdateNodeID() *IssueUpsertOne
UpdateNodeID sets the "node_id" field to the value that was provided on create.
func (*IssueUpsertOne) UpdateNumber ¶
func (u *IssueUpsertOne) UpdateNumber() *IssueUpsertOne
UpdateNumber sets the "number" field to the value that was provided on create.
func (*IssueUpsertOne) UpdateReactions ¶
func (u *IssueUpsertOne) UpdateReactions() *IssueUpsertOne
UpdateReactions sets the "reactions" field to the value that was provided on create.
func (*IssueUpsertOne) UpdateRepositoryURL ¶
func (u *IssueUpsertOne) UpdateRepositoryURL() *IssueUpsertOne
UpdateRepositoryURL sets the "repository_url" field to the value that was provided on create.
func (*IssueUpsertOne) UpdateState ¶
func (u *IssueUpsertOne) UpdateState() *IssueUpsertOne
UpdateState sets the "state" field to the value that was provided on create.
func (*IssueUpsertOne) UpdateStateReason ¶
func (u *IssueUpsertOne) UpdateStateReason() *IssueUpsertOne
UpdateStateReason sets the "state_reason" field to the value that was provided on create.
func (*IssueUpsertOne) UpdateTitle ¶
func (u *IssueUpsertOne) UpdateTitle() *IssueUpsertOne
UpdateTitle sets the "title" field to the value that was provided on create.
func (*IssueUpsertOne) UpdateURL ¶
func (u *IssueUpsertOne) UpdateURL() *IssueUpsertOne
UpdateURL sets the "url" field to the value that was provided on create.
func (*IssueUpsertOne) UpdateUpdatedAt ¶
func (u *IssueUpsertOne) UpdateUpdatedAt() *IssueUpsertOne
UpdateUpdatedAt sets the "updated_at" field to the value that was provided on create.
type MutateFunc ¶
type MutateFunc = ent.MutateFunc
ent aliases to avoid import conflicts in user's code.
type NotFoundError ¶
type NotFoundError struct {
// contains filtered or unexported fields
}
NotFoundError returns when trying to fetch a specific entity and it was not found in the database.
func (*NotFoundError) Error ¶
func (e *NotFoundError) Error() string
Error implements the error interface.
type NotLoadedError ¶
type NotLoadedError struct {
// contains filtered or unexported fields
}
NotLoadedError returns when trying to get a node that was not loaded by the query.
func (*NotLoadedError) Error ¶
func (e *NotLoadedError) Error() string
Error implements the error interface.
type NotSingularError ¶
type NotSingularError struct {
// contains filtered or unexported fields
}
NotSingularError returns when trying to fetch a singular entity and more then one was found in the database.
func (*NotSingularError) Error ¶
func (e *NotSingularError) Error() string
Error implements the error interface.
type OrderFunc ¶
OrderFunc applies an ordering on the sql selector. Deprecated: Use Asc/Desc functions or the package builders instead.
type QuerierFunc ¶
type QuerierFunc = ent.QuerierFunc
ent aliases to avoid import conflicts in user's code.
type QueryContext ¶
type QueryContext = ent.QueryContext
ent aliases to avoid import conflicts in user's code.
type Repository ¶
type Repository struct { // ID of the ent. ID int64 `json:"id,omitempty"` // NodeID holds the value of the "node_id" field. NodeID string `json:"node_id"` // Name holds the value of the "name" field. Name string `json:"name"` // FullName holds the value of the "full_name" field. FullName string `json:"full_name"` // Private holds the value of the "private" field. Private bool `json:"private"` // HTMLURL holds the value of the "html_url" field. HTMLURL string `json:"html_url"` // Description holds the value of the "description" field. Description string `json:"description"` // Fork holds the value of the "fork" field. Fork bool `json:"fork"` // URL holds the value of the "url" field. URL string `json:"url"` // ArchiveURL holds the value of the "archive_url" field. ArchiveURL string `json:"archive_url"` // AssigneesURL holds the value of the "assignees_url" field. AssigneesURL string `json:"assignees_url"` // BlobsURL holds the value of the "blobs_url" field. BlobsURL string `json:"blobs_url"` // BranchesURL holds the value of the "branches_url" field. BranchesURL string `json:"branches_url"` // CollaboratorsURL holds the value of the "collaborators_url" field. CollaboratorsURL string `json:"collaborators_url"` // CommentsURL holds the value of the "comments_url" field. CommentsURL string `json:"comments_url"` // CommitsURL holds the value of the "commits_url" field. CommitsURL string `json:"commits_url"` // CompareURL holds the value of the "compare_url" field. CompareURL string `json:"compare_url"` // ContentsURL holds the value of the "contents_url" field. ContentsURL string `json:"contents_url"` // ContributorsURL holds the value of the "contributors_url" field. ContributorsURL string `json:"contributors_url"` // DeploymentsURL holds the value of the "deployments_url" field. DeploymentsURL string `json:"deployments_url"` // DownloadsURL holds the value of the "downloads_url" field. DownloadsURL string `json:"downloads_url"` // EventsURL holds the value of the "events_url" field. EventsURL string `json:"events_url"` // ForksURL holds the value of the "forks_url" field. ForksURL string `json:"forks_url"` // GitCommitsURL holds the value of the "git_commits_url" field. GitCommitsURL string `json:"git_commits_url"` // GitRefsURL holds the value of the "git_refs_url" field. GitRefsURL string `json:"git_refs_url"` // GitTagsURL holds the value of the "git_tags_url" field. GitTagsURL string `json:"git_tags_url"` // GitURL holds the value of the "git_url" field. GitURL string `json:"git_url"` // IssueCommentURL holds the value of the "issue_comment_url" field. IssueCommentURL string `json:"issue_comment_url"` // IssueEventsURL holds the value of the "issue_events_url" field. IssueEventsURL string `json:"issue_events_url"` // IssuesURL holds the value of the "issues_url" field. IssuesURL string `json:"issues_url"` // KeysURL holds the value of the "keys_url" field. KeysURL string `json:"keys_url"` // LabelsURL holds the value of the "labels_url" field. LabelsURL string `json:"labels_url"` // LanguagesURL holds the value of the "languages_url" field. LanguagesURL string `json:"languages_url"` // MergesURL holds the value of the "merges_url" field. MergesURL string `json:"merges_url"` // MilestonesURL holds the value of the "milestones_url" field. MilestonesURL string `json:"milestones_url"` // NotificationsURL holds the value of the "notifications_url" field. NotificationsURL string `json:"notifications_url"` // PullsURL holds the value of the "pulls_url" field. PullsURL string `json:"pulls_url"` // ReleasesURL holds the value of the "releases_url" field. ReleasesURL string `json:"releases_url"` // SSHURL holds the value of the "ssh_url" field. SSHURL string `json:"ssh_url"` // StargazersURL holds the value of the "stargazers_url" field. StargazersURL string `json:"stargazers_url"` // StatusesURL holds the value of the "statuses_url" field. StatusesURL string `json:"statuses_url"` // SubscribersURL holds the value of the "subscribers_url" field. SubscribersURL string `json:"subscribers_url"` // SubscriptionURL holds the value of the "subscription_url" field. SubscriptionURL string `json:"subscription_url"` // TagsURL holds the value of the "tags_url" field. TagsURL string `json:"tags_url"` // TeamsURL holds the value of the "teams_url" field. TeamsURL string `json:"teams_url"` // TreesURL holds the value of the "trees_url" field. TreesURL string `json:"trees_url"` // CloneURL holds the value of the "clone_url" field. CloneURL string `json:"clone_url"` // MirrorURL holds the value of the "mirror_url" field. MirrorURL *string `json:"mirror_url"` // HooksURL holds the value of the "hooks_url" field. HooksURL string `json:"hooks_url"` // SvnURL holds the value of the "svn_url" field. SvnURL string `json:"svn_url"` // Homepage holds the value of the "homepage" field. Homepage string `json:"homepage"` // Language holds the value of the "language" field. Language string `json:"language"` // ForksCount holds the value of the "forks_count" field. ForksCount int64 `json:"forks_count"` // StargazersCount holds the value of the "stargazers_count" field. StargazersCount int64 `json:"stargazers_count"` // WatchersCount holds the value of the "watchers_count" field. WatchersCount int64 `json:"watchers_count"` // The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0. Size int64 `json:"size"` // DefaultBranch holds the value of the "default_branch" field. DefaultBranch string `json:"default_branch"` // OpenIssuesCount holds the value of the "open_issues_count" field. OpenIssuesCount int64 `json:"open_issues_count"` // IsTemplate holds the value of the "is_template" field. IsTemplate bool `json:"is_template"` // Topics holds the value of the "topics" field. Topics []string `json:"topics"` // HasIssuesEnabled holds the value of the "has_issues_enabled" field. HasIssuesEnabled bool `json:"has_issues"` // HasProjects holds the value of the "has_projects" field. HasProjects bool `json:"has_projects"` // HasWiki holds the value of the "has_wiki" field. HasWiki bool `json:"has_wiki"` // HasPages holds the value of the "has_pages" field. HasPages bool `json:"has_pages"` // HasDownloads holds the value of the "has_downloads" field. HasDownloads bool `json:"has_downloads"` // HasDiscussions holds the value of the "has_discussions" field. HasDiscussions bool `json:"has_discussions"` // Archived holds the value of the "archived" field. Archived bool `json:"archived"` // Returns whether or not this repository disabled. Disabled bool `json:"disabled"` // Visibility holds the value of the "visibility" field. Visibility *repository.Visibility `json:"visibility"` // PushedAt holds the value of the "pushed_at" field. PushedAt time.Time `json:"pushed_at"` // CreatedAt holds the value of the "created_at" field. CreatedAt time.Time `json:"created_at"` // UpdatedAt holds the value of the "updated_at" field. UpdatedAt time.Time `json:"updated_at"` // SubscribersCount holds the value of the "subscribers_count" field. SubscribersCount int64 `json:"subscribers_count"` // NetworkCount holds the value of the "network_count" field. NetworkCount int64 `json:"network_count"` // Forks holds the value of the "forks" field. Forks int64 `json:"forks"` // OpenIssues holds the value of the "open_issues" field. OpenIssues int64 `json:"open_issues"` // Watchers holds the value of the "watchers" field. Watchers int64 `json:"watchers"` // License holds the value of the "license" field. License *model.License `json:"license"` // Edges holds the relations/edges for other nodes in the graph. // The values are being populated by the RepositoryQuery when eager-loading is set. Edges RepositoryEdges `json:"-"` // contains filtered or unexported fields }
Repository is the model entity for the Repository schema.
func (*Repository) MarshalJSON ¶
func (r *Repository) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaler interface.
func (*Repository) QueryIssues ¶
func (r *Repository) QueryIssues() *IssueQuery
QueryIssues queries the "issues" edge of the Repository entity.
func (*Repository) QueryOwner ¶
func (r *Repository) QueryOwner() *UserQuery
QueryOwner queries the "owner" edge of the Repository entity.
func (*Repository) String ¶
func (r *Repository) String() string
String implements the fmt.Stringer.
func (*Repository) Unwrap ¶
func (r *Repository) Unwrap() *Repository
Unwrap unwraps the Repository entity that was returned from a transaction after it was closed, so that all future queries will be executed through the driver which created the transaction.
func (*Repository) Update ¶
func (r *Repository) Update() *RepositoryUpdateOne
Update returns a builder for updating this Repository. Note that you need to call Repository.Unwrap() before calling this method if this Repository was returned from a transaction, and the transaction was committed or rolled back.
type RepositoryClient ¶
type RepositoryClient struct {
// contains filtered or unexported fields
}
RepositoryClient is a client for the Repository schema.
func NewRepositoryClient ¶
func NewRepositoryClient(c config) *RepositoryClient
NewRepositoryClient returns a client for the Repository from the given config.
func (*RepositoryClient) Create ¶
func (c *RepositoryClient) Create() *RepositoryCreate
Create returns a builder for creating a Repository entity.
func (*RepositoryClient) CreateBulk ¶
func (c *RepositoryClient) CreateBulk(builders ...*RepositoryCreate) *RepositoryCreateBulk
CreateBulk returns a builder for creating a bulk of Repository entities.
func (*RepositoryClient) Delete ¶
func (c *RepositoryClient) Delete() *RepositoryDelete
Delete returns a delete builder for Repository.
func (*RepositoryClient) DeleteOne ¶
func (c *RepositoryClient) DeleteOne(r *Repository) *RepositoryDeleteOne
DeleteOne returns a builder for deleting the given entity.
func (*RepositoryClient) DeleteOneID ¶
func (c *RepositoryClient) DeleteOneID(id int64) *RepositoryDeleteOne
DeleteOneID returns a builder for deleting the given entity by its id.
func (*RepositoryClient) Get ¶
func (c *RepositoryClient) Get(ctx context.Context, id int64) (*Repository, error)
Get returns a Repository entity by its id.
func (*RepositoryClient) GetX ¶
func (c *RepositoryClient) GetX(ctx context.Context, id int64) *Repository
GetX is like Get, but panics if an error occurs.
func (*RepositoryClient) Hooks ¶
func (c *RepositoryClient) Hooks() []Hook
Hooks returns the client hooks.
func (*RepositoryClient) Intercept ¶
func (c *RepositoryClient) Intercept(interceptors ...Interceptor)
Intercept adds a list of query interceptors to the interceptors stack. A call to `Intercept(f, g, h)` equals to `repository.Intercept(f(g(h())))`.
func (*RepositoryClient) Interceptors ¶
func (c *RepositoryClient) Interceptors() []Interceptor
Interceptors returns the client interceptors.
func (*RepositoryClient) MapCreateBulk ¶
func (c *RepositoryClient) MapCreateBulk(slice any, setFunc func(*RepositoryCreate, int)) *RepositoryCreateBulk
MapCreateBulk creates a bulk creation builder from the given slice. For each item in the slice, the function creates a builder and applies setFunc on it.
func (*RepositoryClient) Query ¶
func (c *RepositoryClient) Query() *RepositoryQuery
Query returns a query builder for Repository.
func (*RepositoryClient) QueryIssues ¶
func (c *RepositoryClient) QueryIssues(r *Repository) *IssueQuery
QueryIssues queries the issues edge of a Repository.
func (*RepositoryClient) QueryOwner ¶
func (c *RepositoryClient) QueryOwner(r *Repository) *UserQuery
QueryOwner queries the owner edge of a Repository.
func (*RepositoryClient) Update ¶
func (c *RepositoryClient) Update() *RepositoryUpdate
Update returns an update builder for Repository.
func (*RepositoryClient) UpdateOne ¶
func (c *RepositoryClient) UpdateOne(r *Repository) *RepositoryUpdateOne
UpdateOne returns an update builder for the given entity.
func (*RepositoryClient) UpdateOneID ¶
func (c *RepositoryClient) UpdateOneID(id int64) *RepositoryUpdateOne
UpdateOneID returns an update builder for the given id.
func (*RepositoryClient) Use ¶
func (c *RepositoryClient) Use(hooks ...Hook)
Use adds a list of mutation hooks to the hooks stack. A call to `Use(f, g, h)` equals to `repository.Hooks(f(g(h())))`.
type RepositoryCreate ¶
type RepositoryCreate struct {
// contains filtered or unexported fields
}
RepositoryCreate is the builder for creating a Repository entity.
func (*RepositoryCreate) AddIssueIDs ¶
func (rc *RepositoryCreate) AddIssueIDs(ids ...int64) *RepositoryCreate
AddIssueIDs adds the "issues" edge to the Issue entity by IDs.
func (*RepositoryCreate) AddIssues ¶
func (rc *RepositoryCreate) AddIssues(i ...*Issue) *RepositoryCreate
AddIssues adds the "issues" edges to the Issue entity.
func (*RepositoryCreate) CopyRepository ¶
func (rc *RepositoryCreate) CopyRepository(input *Repository) *RepositoryCreate
CopyRepository allows to create a new Repository copying the existing values of input.
func (*RepositoryCreate) Exec ¶
func (rc *RepositoryCreate) Exec(ctx context.Context) error
Exec executes the query.
func (*RepositoryCreate) ExecX ¶
func (rc *RepositoryCreate) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*RepositoryCreate) Mutation ¶
func (rc *RepositoryCreate) Mutation() *RepositoryMutation
Mutation returns the RepositoryMutation object of the builder.
func (*RepositoryCreate) OnConflict ¶
func (rc *RepositoryCreate) OnConflict(opts ...sql.ConflictOption) *RepositoryUpsertOne
OnConflict allows configuring the `ON CONFLICT` / `ON DUPLICATE KEY` clause of the `INSERT` statement. For example:
client.Repository.Create(). SetNodeID(v). OnConflict( // Update the row with the new values // the was proposed for insertion. sql.ResolveWithNewValues(), ). // Override some of the fields with custom // update values. Update(func(u *ent.RepositoryUpsert) { SetNodeID(v+v). }). Exec(ctx)
func (*RepositoryCreate) OnConflictColumns ¶
func (rc *RepositoryCreate) OnConflictColumns(columns ...string) *RepositoryUpsertOne
OnConflictColumns calls `OnConflict` and configures the columns as conflict target. Using this option is equivalent to using:
client.Repository.Create(). OnConflict(sql.ConflictColumns(columns...)). Exec(ctx)
func (*RepositoryCreate) Save ¶
func (rc *RepositoryCreate) Save(ctx context.Context) (*Repository, error)
Save creates the Repository in the database.
func (*RepositoryCreate) SaveX ¶
func (rc *RepositoryCreate) SaveX(ctx context.Context) *Repository
SaveX calls Save and panics if Save returns an error.
func (*RepositoryCreate) SetArchiveURL ¶
func (rc *RepositoryCreate) SetArchiveURL(s string) *RepositoryCreate
SetArchiveURL sets the "archive_url" field.
func (*RepositoryCreate) SetArchived ¶
func (rc *RepositoryCreate) SetArchived(b bool) *RepositoryCreate
SetArchived sets the "archived" field.
func (*RepositoryCreate) SetAssigneesURL ¶
func (rc *RepositoryCreate) SetAssigneesURL(s string) *RepositoryCreate
SetAssigneesURL sets the "assignees_url" field.
func (*RepositoryCreate) SetBlobsURL ¶
func (rc *RepositoryCreate) SetBlobsURL(s string) *RepositoryCreate
SetBlobsURL sets the "blobs_url" field.
func (*RepositoryCreate) SetBranchesURL ¶
func (rc *RepositoryCreate) SetBranchesURL(s string) *RepositoryCreate
SetBranchesURL sets the "branches_url" field.
func (*RepositoryCreate) SetCloneURL ¶
func (rc *RepositoryCreate) SetCloneURL(s string) *RepositoryCreate
SetCloneURL sets the "clone_url" field.
func (*RepositoryCreate) SetCollaboratorsURL ¶
func (rc *RepositoryCreate) SetCollaboratorsURL(s string) *RepositoryCreate
SetCollaboratorsURL sets the "collaborators_url" field.
func (*RepositoryCreate) SetCommentsURL ¶
func (rc *RepositoryCreate) SetCommentsURL(s string) *RepositoryCreate
SetCommentsURL sets the "comments_url" field.
func (*RepositoryCreate) SetCommitsURL ¶
func (rc *RepositoryCreate) SetCommitsURL(s string) *RepositoryCreate
SetCommitsURL sets the "commits_url" field.
func (*RepositoryCreate) SetCompareURL ¶
func (rc *RepositoryCreate) SetCompareURL(s string) *RepositoryCreate
SetCompareURL sets the "compare_url" field.
func (*RepositoryCreate) SetContentsURL ¶
func (rc *RepositoryCreate) SetContentsURL(s string) *RepositoryCreate
SetContentsURL sets the "contents_url" field.
func (*RepositoryCreate) SetContributorsURL ¶
func (rc *RepositoryCreate) SetContributorsURL(s string) *RepositoryCreate
SetContributorsURL sets the "contributors_url" field.
func (*RepositoryCreate) SetCreatedAt ¶
func (rc *RepositoryCreate) SetCreatedAt(t time.Time) *RepositoryCreate
SetCreatedAt sets the "created_at" field.
func (*RepositoryCreate) SetDefaultBranch ¶
func (rc *RepositoryCreate) SetDefaultBranch(s string) *RepositoryCreate
SetDefaultBranch sets the "default_branch" field.
func (*RepositoryCreate) SetDeploymentsURL ¶
func (rc *RepositoryCreate) SetDeploymentsURL(s string) *RepositoryCreate
SetDeploymentsURL sets the "deployments_url" field.
func (*RepositoryCreate) SetDescription ¶
func (rc *RepositoryCreate) SetDescription(s string) *RepositoryCreate
SetDescription sets the "description" field.
func (*RepositoryCreate) SetDisabled ¶
func (rc *RepositoryCreate) SetDisabled(b bool) *RepositoryCreate
SetDisabled sets the "disabled" field.
func (*RepositoryCreate) SetDownloadsURL ¶
func (rc *RepositoryCreate) SetDownloadsURL(s string) *RepositoryCreate
SetDownloadsURL sets the "downloads_url" field.
func (*RepositoryCreate) SetEventsURL ¶
func (rc *RepositoryCreate) SetEventsURL(s string) *RepositoryCreate
SetEventsURL sets the "events_url" field.
func (*RepositoryCreate) SetFork ¶
func (rc *RepositoryCreate) SetFork(b bool) *RepositoryCreate
SetFork sets the "fork" field.
func (*RepositoryCreate) SetForks ¶
func (rc *RepositoryCreate) SetForks(i int64) *RepositoryCreate
SetForks sets the "forks" field.
func (*RepositoryCreate) SetForksCount ¶
func (rc *RepositoryCreate) SetForksCount(i int64) *RepositoryCreate
SetForksCount sets the "forks_count" field.
func (*RepositoryCreate) SetForksURL ¶
func (rc *RepositoryCreate) SetForksURL(s string) *RepositoryCreate
SetForksURL sets the "forks_url" field.
func (*RepositoryCreate) SetFullName ¶
func (rc *RepositoryCreate) SetFullName(s string) *RepositoryCreate
SetFullName sets the "full_name" field.
func (*RepositoryCreate) SetGitCommitsURL ¶
func (rc *RepositoryCreate) SetGitCommitsURL(s string) *RepositoryCreate
SetGitCommitsURL sets the "git_commits_url" field.
func (*RepositoryCreate) SetGitRefsURL ¶
func (rc *RepositoryCreate) SetGitRefsURL(s string) *RepositoryCreate
SetGitRefsURL sets the "git_refs_url" field.
func (*RepositoryCreate) SetGitTagsURL ¶
func (rc *RepositoryCreate) SetGitTagsURL(s string) *RepositoryCreate
SetGitTagsURL sets the "git_tags_url" field.
func (*RepositoryCreate) SetGitURL ¶
func (rc *RepositoryCreate) SetGitURL(s string) *RepositoryCreate
SetGitURL sets the "git_url" field.
func (*RepositoryCreate) SetHTMLURL ¶
func (rc *RepositoryCreate) SetHTMLURL(s string) *RepositoryCreate
SetHTMLURL sets the "html_url" field.
func (*RepositoryCreate) SetHasDiscussions ¶
func (rc *RepositoryCreate) SetHasDiscussions(b bool) *RepositoryCreate
SetHasDiscussions sets the "has_discussions" field.
func (*RepositoryCreate) SetHasDownloads ¶
func (rc *RepositoryCreate) SetHasDownloads(b bool) *RepositoryCreate
SetHasDownloads sets the "has_downloads" field.
func (*RepositoryCreate) SetHasIssuesEnabled ¶
func (rc *RepositoryCreate) SetHasIssuesEnabled(b bool) *RepositoryCreate
SetHasIssuesEnabled sets the "has_issues_enabled" field.
func (*RepositoryCreate) SetHasPages ¶
func (rc *RepositoryCreate) SetHasPages(b bool) *RepositoryCreate
SetHasPages sets the "has_pages" field.
func (*RepositoryCreate) SetHasProjects ¶
func (rc *RepositoryCreate) SetHasProjects(b bool) *RepositoryCreate
SetHasProjects sets the "has_projects" field.
func (*RepositoryCreate) SetHasWiki ¶
func (rc *RepositoryCreate) SetHasWiki(b bool) *RepositoryCreate
SetHasWiki sets the "has_wiki" field.
func (*RepositoryCreate) SetHomepage ¶
func (rc *RepositoryCreate) SetHomepage(s string) *RepositoryCreate
SetHomepage sets the "homepage" field.
func (*RepositoryCreate) SetHooksURL ¶
func (rc *RepositoryCreate) SetHooksURL(s string) *RepositoryCreate
SetHooksURL sets the "hooks_url" field.
func (*RepositoryCreate) SetID ¶
func (rc *RepositoryCreate) SetID(i int64) *RepositoryCreate
SetID sets the "id" field.
func (*RepositoryCreate) SetIsTemplate ¶
func (rc *RepositoryCreate) SetIsTemplate(b bool) *RepositoryCreate
SetIsTemplate sets the "is_template" field.
func (*RepositoryCreate) SetIssueCommentURL ¶
func (rc *RepositoryCreate) SetIssueCommentURL(s string) *RepositoryCreate
SetIssueCommentURL sets the "issue_comment_url" field.
func (*RepositoryCreate) SetIssueEventsURL ¶
func (rc *RepositoryCreate) SetIssueEventsURL(s string) *RepositoryCreate
SetIssueEventsURL sets the "issue_events_url" field.
func (*RepositoryCreate) SetIssuesURL ¶
func (rc *RepositoryCreate) SetIssuesURL(s string) *RepositoryCreate
SetIssuesURL sets the "issues_url" field.
func (*RepositoryCreate) SetKeysURL ¶
func (rc *RepositoryCreate) SetKeysURL(s string) *RepositoryCreate
SetKeysURL sets the "keys_url" field.
func (*RepositoryCreate) SetLabelsURL ¶
func (rc *RepositoryCreate) SetLabelsURL(s string) *RepositoryCreate
SetLabelsURL sets the "labels_url" field.
func (*RepositoryCreate) SetLanguage ¶
func (rc *RepositoryCreate) SetLanguage(s string) *RepositoryCreate
SetLanguage sets the "language" field.
func (*RepositoryCreate) SetLanguagesURL ¶
func (rc *RepositoryCreate) SetLanguagesURL(s string) *RepositoryCreate
SetLanguagesURL sets the "languages_url" field.
func (*RepositoryCreate) SetLicense ¶
func (rc *RepositoryCreate) SetLicense(m *model.License) *RepositoryCreate
SetLicense sets the "license" field.
func (*RepositoryCreate) SetMergesURL ¶
func (rc *RepositoryCreate) SetMergesURL(s string) *RepositoryCreate
SetMergesURL sets the "merges_url" field.
func (*RepositoryCreate) SetMilestonesURL ¶
func (rc *RepositoryCreate) SetMilestonesURL(s string) *RepositoryCreate
SetMilestonesURL sets the "milestones_url" field.
func (*RepositoryCreate) SetMirrorURL ¶
func (rc *RepositoryCreate) SetMirrorURL(s string) *RepositoryCreate
SetMirrorURL sets the "mirror_url" field.
func (*RepositoryCreate) SetName ¶
func (rc *RepositoryCreate) SetName(s string) *RepositoryCreate
SetName sets the "name" field.
func (*RepositoryCreate) SetNetworkCount ¶
func (rc *RepositoryCreate) SetNetworkCount(i int64) *RepositoryCreate
SetNetworkCount sets the "network_count" field.
func (*RepositoryCreate) SetNillableDescription ¶
func (rc *RepositoryCreate) SetNillableDescription(s *string) *RepositoryCreate
SetNillableDescription sets the "description" field if the given value is not nil.
func (*RepositoryCreate) SetNillableHomepage ¶
func (rc *RepositoryCreate) SetNillableHomepage(s *string) *RepositoryCreate
SetNillableHomepage sets the "homepage" field if the given value is not nil.
func (*RepositoryCreate) SetNillableLanguage ¶
func (rc *RepositoryCreate) SetNillableLanguage(s *string) *RepositoryCreate
SetNillableLanguage sets the "language" field if the given value is not nil.
func (*RepositoryCreate) SetNillableMirrorURL ¶
func (rc *RepositoryCreate) SetNillableMirrorURL(s *string) *RepositoryCreate
SetNillableMirrorURL sets the "mirror_url" field if the given value is not nil.
func (*RepositoryCreate) SetNillableOwnerID ¶
func (rc *RepositoryCreate) SetNillableOwnerID(id *int64) *RepositoryCreate
SetNillableOwnerID sets the "owner" edge to the User entity by ID if the given value is not nil.
func (*RepositoryCreate) SetNillableVisibility ¶
func (rc *RepositoryCreate) SetNillableVisibility(r *repository.Visibility) *RepositoryCreate
SetNillableVisibility sets the "visibility" field if the given value is not nil.
func (*RepositoryCreate) SetNodeID ¶
func (rc *RepositoryCreate) SetNodeID(s string) *RepositoryCreate
SetNodeID sets the "node_id" field.
func (*RepositoryCreate) SetNotificationsURL ¶
func (rc *RepositoryCreate) SetNotificationsURL(s string) *RepositoryCreate
SetNotificationsURL sets the "notifications_url" field.
func (*RepositoryCreate) SetOpenIssues ¶
func (rc *RepositoryCreate) SetOpenIssues(i int64) *RepositoryCreate
SetOpenIssues sets the "open_issues" field.
func (*RepositoryCreate) SetOpenIssuesCount ¶
func (rc *RepositoryCreate) SetOpenIssuesCount(i int64) *RepositoryCreate
SetOpenIssuesCount sets the "open_issues_count" field.
func (*RepositoryCreate) SetOwner ¶
func (rc *RepositoryCreate) SetOwner(u *User) *RepositoryCreate
SetOwner sets the "owner" edge to the User entity.
func (*RepositoryCreate) SetOwnerID ¶
func (rc *RepositoryCreate) SetOwnerID(id int64) *RepositoryCreate
SetOwnerID sets the "owner" edge to the User entity by ID.
func (*RepositoryCreate) SetPrivate ¶
func (rc *RepositoryCreate) SetPrivate(b bool) *RepositoryCreate
SetPrivate sets the "private" field.
func (*RepositoryCreate) SetPullsURL ¶
func (rc *RepositoryCreate) SetPullsURL(s string) *RepositoryCreate
SetPullsURL sets the "pulls_url" field.
func (*RepositoryCreate) SetPushedAt ¶
func (rc *RepositoryCreate) SetPushedAt(t time.Time) *RepositoryCreate
SetPushedAt sets the "pushed_at" field.
func (*RepositoryCreate) SetReleasesURL ¶
func (rc *RepositoryCreate) SetReleasesURL(s string) *RepositoryCreate
SetReleasesURL sets the "releases_url" field.
func (*RepositoryCreate) SetSSHURL ¶
func (rc *RepositoryCreate) SetSSHURL(s string) *RepositoryCreate
SetSSHURL sets the "ssh_url" field.
func (*RepositoryCreate) SetSize ¶
func (rc *RepositoryCreate) SetSize(i int64) *RepositoryCreate
SetSize sets the "size" field.
func (*RepositoryCreate) SetStargazersCount ¶
func (rc *RepositoryCreate) SetStargazersCount(i int64) *RepositoryCreate
SetStargazersCount sets the "stargazers_count" field.
func (*RepositoryCreate) SetStargazersURL ¶
func (rc *RepositoryCreate) SetStargazersURL(s string) *RepositoryCreate
SetStargazersURL sets the "stargazers_url" field.
func (*RepositoryCreate) SetStatusesURL ¶
func (rc *RepositoryCreate) SetStatusesURL(s string) *RepositoryCreate
SetStatusesURL sets the "statuses_url" field.
func (*RepositoryCreate) SetSubscribersCount ¶
func (rc *RepositoryCreate) SetSubscribersCount(i int64) *RepositoryCreate
SetSubscribersCount sets the "subscribers_count" field.
func (*RepositoryCreate) SetSubscribersURL ¶
func (rc *RepositoryCreate) SetSubscribersURL(s string) *RepositoryCreate
SetSubscribersURL sets the "subscribers_url" field.
func (*RepositoryCreate) SetSubscriptionURL ¶
func (rc *RepositoryCreate) SetSubscriptionURL(s string) *RepositoryCreate
SetSubscriptionURL sets the "subscription_url" field.
func (*RepositoryCreate) SetSvnURL ¶
func (rc *RepositoryCreate) SetSvnURL(s string) *RepositoryCreate
SetSvnURL sets the "svn_url" field.
func (*RepositoryCreate) SetTagsURL ¶
func (rc *RepositoryCreate) SetTagsURL(s string) *RepositoryCreate
SetTagsURL sets the "tags_url" field.
func (*RepositoryCreate) SetTeamsURL ¶
func (rc *RepositoryCreate) SetTeamsURL(s string) *RepositoryCreate
SetTeamsURL sets the "teams_url" field.
func (*RepositoryCreate) SetTopics ¶
func (rc *RepositoryCreate) SetTopics(s []string) *RepositoryCreate
SetTopics sets the "topics" field.
func (*RepositoryCreate) SetTreesURL ¶
func (rc *RepositoryCreate) SetTreesURL(s string) *RepositoryCreate
SetTreesURL sets the "trees_url" field.
func (*RepositoryCreate) SetURL ¶
func (rc *RepositoryCreate) SetURL(s string) *RepositoryCreate
SetURL sets the "url" field.
func (*RepositoryCreate) SetUpdatedAt ¶
func (rc *RepositoryCreate) SetUpdatedAt(t time.Time) *RepositoryCreate
SetUpdatedAt sets the "updated_at" field.
func (*RepositoryCreate) SetVisibility ¶
func (rc *RepositoryCreate) SetVisibility(r repository.Visibility) *RepositoryCreate
SetVisibility sets the "visibility" field.
func (*RepositoryCreate) SetWatchers ¶
func (rc *RepositoryCreate) SetWatchers(i int64) *RepositoryCreate
SetWatchers sets the "watchers" field.
func (*RepositoryCreate) SetWatchersCount ¶
func (rc *RepositoryCreate) SetWatchersCount(i int64) *RepositoryCreate
SetWatchersCount sets the "watchers_count" field.
type RepositoryCreateBulk ¶
type RepositoryCreateBulk struct {
// contains filtered or unexported fields
}
RepositoryCreateBulk is the builder for creating many Repository entities in bulk.
func (*RepositoryCreateBulk) Exec ¶
func (rcb *RepositoryCreateBulk) Exec(ctx context.Context) error
Exec executes the query.
func (*RepositoryCreateBulk) ExecX ¶
func (rcb *RepositoryCreateBulk) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*RepositoryCreateBulk) OnConflict ¶
func (rcb *RepositoryCreateBulk) OnConflict(opts ...sql.ConflictOption) *RepositoryUpsertBulk
OnConflict allows configuring the `ON CONFLICT` / `ON DUPLICATE KEY` clause of the `INSERT` statement. For example:
client.Repository.CreateBulk(builders...). OnConflict( // Update the row with the new values // the was proposed for insertion. sql.ResolveWithNewValues(), ). // Override some of the fields with custom // update values. Update(func(u *ent.RepositoryUpsert) { SetNodeID(v+v). }). Exec(ctx)
func (*RepositoryCreateBulk) OnConflictColumns ¶
func (rcb *RepositoryCreateBulk) OnConflictColumns(columns ...string) *RepositoryUpsertBulk
OnConflictColumns calls `OnConflict` and configures the columns as conflict target. Using this option is equivalent to using:
client.Repository.Create(). OnConflict(sql.ConflictColumns(columns...)). Exec(ctx)
func (*RepositoryCreateBulk) Save ¶
func (rcb *RepositoryCreateBulk) Save(ctx context.Context) ([]*Repository, error)
Save creates the Repository entities in the database.
func (*RepositoryCreateBulk) SaveX ¶
func (rcb *RepositoryCreateBulk) SaveX(ctx context.Context) []*Repository
SaveX is like Save, but panics if an error occurs.
type RepositoryDelete ¶
type RepositoryDelete struct {
// contains filtered or unexported fields
}
RepositoryDelete is the builder for deleting a Repository entity.
func (*RepositoryDelete) Exec ¶
func (rd *RepositoryDelete) Exec(ctx context.Context) (int, error)
Exec executes the deletion query and returns how many vertices were deleted.
func (*RepositoryDelete) ExecX ¶
func (rd *RepositoryDelete) ExecX(ctx context.Context) int
ExecX is like Exec, but panics if an error occurs.
func (*RepositoryDelete) Where ¶
func (rd *RepositoryDelete) Where(ps ...predicate.Repository) *RepositoryDelete
Where appends a list predicates to the RepositoryDelete builder.
type RepositoryDeleteOne ¶
type RepositoryDeleteOne struct {
// contains filtered or unexported fields
}
RepositoryDeleteOne is the builder for deleting a single Repository entity.
func (*RepositoryDeleteOne) Exec ¶
func (rdo *RepositoryDeleteOne) Exec(ctx context.Context) error
Exec executes the deletion query.
func (*RepositoryDeleteOne) ExecX ¶
func (rdo *RepositoryDeleteOne) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*RepositoryDeleteOne) Where ¶
func (rdo *RepositoryDeleteOne) Where(ps ...predicate.Repository) *RepositoryDeleteOne
Where appends a list predicates to the RepositoryDelete builder.
type RepositoryEdges ¶
type RepositoryEdges struct { // Owner holds the value of the owner edge. Owner *User `json:"owner,omitempty"` // Issues holds the value of the issues edge. Issues []*Issue `json:"issues,omitempty"` // contains filtered or unexported fields }
RepositoryEdges holds the relations/edges for other nodes in the graph.
func (RepositoryEdges) IssuesOrErr ¶
func (e RepositoryEdges) IssuesOrErr() ([]*Issue, error)
IssuesOrErr returns the Issues value or an error if the edge was not loaded in eager-loading.
func (RepositoryEdges) OwnerOrErr ¶
func (e RepositoryEdges) OwnerOrErr() (*User, error)
OwnerOrErr returns the Owner value or an error if the edge was not loaded in eager-loading, or loaded but was not found.
type RepositoryGroupBy ¶
type RepositoryGroupBy struct {
// contains filtered or unexported fields
}
RepositoryGroupBy is the group-by builder for Repository entities.
func (*RepositoryGroupBy) Aggregate ¶
func (rgb *RepositoryGroupBy) Aggregate(fns ...AggregateFunc) *RepositoryGroupBy
Aggregate adds the given aggregation functions to the group-by query.
func (*RepositoryGroupBy) Bool ¶
Bool returns a single bool from a selector. It is only allowed when selecting one field.
func (*RepositoryGroupBy) Bools ¶
Bools returns list of bools from a selector. It is only allowed when selecting one field.
func (*RepositoryGroupBy) Float64 ¶
Float64 returns a single float64 from a selector. It is only allowed when selecting one field.
func (*RepositoryGroupBy) Float64s ¶
Float64s returns list of float64s from a selector. It is only allowed when selecting one field.
func (*RepositoryGroupBy) Int ¶
Int returns a single int from a selector. It is only allowed when selecting one field.
func (*RepositoryGroupBy) Ints ¶
Ints returns list of ints from a selector. It is only allowed when selecting one field.
func (*RepositoryGroupBy) Scan ¶
func (rgb *RepositoryGroupBy) Scan(ctx context.Context, v any) error
Scan applies the selector query and scans the result into the given value.
func (*RepositoryGroupBy) String ¶
String returns a single string from a selector. It is only allowed when selecting one field.
type RepositoryMutation ¶
type RepositoryMutation struct {
// contains filtered or unexported fields
}
RepositoryMutation represents an operation that mutates the Repository nodes in the graph.
func (*RepositoryMutation) AddField ¶
func (m *RepositoryMutation) AddField(name string, value ent.Value) error
AddField adds the value to the field with the given name. It returns an error if the field is not defined in the schema, or if the type mismatched the field type.
func (*RepositoryMutation) AddForks ¶
func (m *RepositoryMutation) AddForks(i int64)
AddForks adds i to the "forks" field.
func (*RepositoryMutation) AddForksCount ¶
func (m *RepositoryMutation) AddForksCount(i int64)
AddForksCount adds i to the "forks_count" field.
func (*RepositoryMutation) AddIssueIDs ¶
func (m *RepositoryMutation) AddIssueIDs(ids ...int64)
AddIssueIDs adds the "issues" edge to the Issue entity by ids.
func (*RepositoryMutation) AddNetworkCount ¶
func (m *RepositoryMutation) AddNetworkCount(i int64)
AddNetworkCount adds i to the "network_count" field.
func (*RepositoryMutation) AddOpenIssues ¶
func (m *RepositoryMutation) AddOpenIssues(i int64)
AddOpenIssues adds i to the "open_issues" field.
func (*RepositoryMutation) AddOpenIssuesCount ¶
func (m *RepositoryMutation) AddOpenIssuesCount(i int64)
AddOpenIssuesCount adds i to the "open_issues_count" field.
func (*RepositoryMutation) AddSize ¶
func (m *RepositoryMutation) AddSize(i int64)
AddSize adds i to the "size" field.
func (*RepositoryMutation) AddStargazersCount ¶
func (m *RepositoryMutation) AddStargazersCount(i int64)
AddStargazersCount adds i to the "stargazers_count" field.
func (*RepositoryMutation) AddSubscribersCount ¶
func (m *RepositoryMutation) AddSubscribersCount(i int64)
AddSubscribersCount adds i to the "subscribers_count" field.
func (*RepositoryMutation) AddWatchers ¶
func (m *RepositoryMutation) AddWatchers(i int64)
AddWatchers adds i to the "watchers" field.
func (*RepositoryMutation) AddWatchersCount ¶
func (m *RepositoryMutation) AddWatchersCount(i int64)
AddWatchersCount adds i to the "watchers_count" field.
func (*RepositoryMutation) AddedEdges ¶
func (m *RepositoryMutation) AddedEdges() []string
AddedEdges returns all edge names that were set/added in this mutation.
func (*RepositoryMutation) AddedField ¶
func (m *RepositoryMutation) AddedField(name string) (ent.Value, bool)
AddedField returns the numeric value that was incremented/decremented on a field with the given name. The second boolean return value indicates that this field was not set, or was not defined in the schema.
func (*RepositoryMutation) AddedFields ¶
func (m *RepositoryMutation) AddedFields() []string
AddedFields returns all numeric fields that were incremented/decremented during this mutation.
func (*RepositoryMutation) AddedForks ¶
func (m *RepositoryMutation) AddedForks() (r int64, exists bool)
AddedForks returns the value that was added to the "forks" field in this mutation.
func (*RepositoryMutation) AddedForksCount ¶
func (m *RepositoryMutation) AddedForksCount() (r int64, exists bool)
AddedForksCount returns the value that was added to the "forks_count" field in this mutation.
func (*RepositoryMutation) AddedIDs ¶
func (m *RepositoryMutation) AddedIDs(name string) []ent.Value
AddedIDs returns all IDs (to other nodes) that were added for the given edge name in this mutation.
func (*RepositoryMutation) AddedNetworkCount ¶
func (m *RepositoryMutation) AddedNetworkCount() (r int64, exists bool)
AddedNetworkCount returns the value that was added to the "network_count" field in this mutation.
func (*RepositoryMutation) AddedOpenIssues ¶
func (m *RepositoryMutation) AddedOpenIssues() (r int64, exists bool)
AddedOpenIssues returns the value that was added to the "open_issues" field in this mutation.
func (*RepositoryMutation) AddedOpenIssuesCount ¶
func (m *RepositoryMutation) AddedOpenIssuesCount() (r int64, exists bool)
AddedOpenIssuesCount returns the value that was added to the "open_issues_count" field in this mutation.
func (*RepositoryMutation) AddedSize ¶
func (m *RepositoryMutation) AddedSize() (r int64, exists bool)
AddedSize returns the value that was added to the "size" field in this mutation.
func (*RepositoryMutation) AddedStargazersCount ¶
func (m *RepositoryMutation) AddedStargazersCount() (r int64, exists bool)
AddedStargazersCount returns the value that was added to the "stargazers_count" field in this mutation.
func (*RepositoryMutation) AddedSubscribersCount ¶
func (m *RepositoryMutation) AddedSubscribersCount() (r int64, exists bool)
AddedSubscribersCount returns the value that was added to the "subscribers_count" field in this mutation.
func (*RepositoryMutation) AddedWatchers ¶
func (m *RepositoryMutation) AddedWatchers() (r int64, exists bool)
AddedWatchers returns the value that was added to the "watchers" field in this mutation.
func (*RepositoryMutation) AddedWatchersCount ¶
func (m *RepositoryMutation) AddedWatchersCount() (r int64, exists bool)
AddedWatchersCount returns the value that was added to the "watchers_count" field in this mutation.
func (*RepositoryMutation) AppendTopics ¶
func (m *RepositoryMutation) AppendTopics(s []string)
AppendTopics adds s to the "topics" field.
func (*RepositoryMutation) AppendedTopics ¶
func (m *RepositoryMutation) AppendedTopics() ([]string, bool)
AppendedTopics returns the list of values that were appended to the "topics" field in this mutation.
func (*RepositoryMutation) ArchiveURL ¶
func (m *RepositoryMutation) ArchiveURL() (r string, exists bool)
ArchiveURL returns the value of the "archive_url" field in the mutation.
func (*RepositoryMutation) Archived ¶
func (m *RepositoryMutation) Archived() (r bool, exists bool)
Archived returns the value of the "archived" field in the mutation.
func (*RepositoryMutation) AssigneesURL ¶
func (m *RepositoryMutation) AssigneesURL() (r string, exists bool)
AssigneesURL returns the value of the "assignees_url" field in the mutation.
func (*RepositoryMutation) BlobsURL ¶
func (m *RepositoryMutation) BlobsURL() (r string, exists bool)
BlobsURL returns the value of the "blobs_url" field in the mutation.
func (*RepositoryMutation) BranchesURL ¶
func (m *RepositoryMutation) BranchesURL() (r string, exists bool)
BranchesURL returns the value of the "branches_url" field in the mutation.
func (*RepositoryMutation) ClearDescription ¶
func (m *RepositoryMutation) ClearDescription()
ClearDescription clears the value of the "description" field.
func (*RepositoryMutation) ClearEdge ¶
func (m *RepositoryMutation) ClearEdge(name string) error
ClearEdge clears the value of the edge with the given name. It returns an error if that edge is not defined in the schema.
func (*RepositoryMutation) ClearField ¶
func (m *RepositoryMutation) ClearField(name string) error
ClearField clears the value of the field with the given name. It returns an error if the field is not defined in the schema.
func (*RepositoryMutation) ClearHomepage ¶
func (m *RepositoryMutation) ClearHomepage()
ClearHomepage clears the value of the "homepage" field.
func (*RepositoryMutation) ClearIssues ¶
func (m *RepositoryMutation) ClearIssues()
ClearIssues clears the "issues" edge to the Issue entity.
func (*RepositoryMutation) ClearLanguage ¶
func (m *RepositoryMutation) ClearLanguage()
ClearLanguage clears the value of the "language" field.
func (*RepositoryMutation) ClearLicense ¶
func (m *RepositoryMutation) ClearLicense()
ClearLicense clears the value of the "license" field.
func (*RepositoryMutation) ClearMirrorURL ¶
func (m *RepositoryMutation) ClearMirrorURL()
ClearMirrorURL clears the value of the "mirror_url" field.
func (*RepositoryMutation) ClearOwner ¶
func (m *RepositoryMutation) ClearOwner()
ClearOwner clears the "owner" edge to the User entity.
func (*RepositoryMutation) ClearVisibility ¶
func (m *RepositoryMutation) ClearVisibility()
ClearVisibility clears the value of the "visibility" field.
func (*RepositoryMutation) ClearedEdges ¶
func (m *RepositoryMutation) ClearedEdges() []string
ClearedEdges returns all edge names that were cleared in this mutation.
func (*RepositoryMutation) ClearedFields ¶
func (m *RepositoryMutation) ClearedFields() []string
ClearedFields returns all nullable fields that were cleared during this mutation.
func (RepositoryMutation) Client ¶
func (m RepositoryMutation) Client() *Client
Client returns a new `ent.Client` from the mutation. If the mutation was executed in a transaction (ent.Tx), a transactional client is returned.
func (*RepositoryMutation) CloneURL ¶
func (m *RepositoryMutation) CloneURL() (r string, exists bool)
CloneURL returns the value of the "clone_url" field in the mutation.
func (*RepositoryMutation) CollaboratorsURL ¶
func (m *RepositoryMutation) CollaboratorsURL() (r string, exists bool)
CollaboratorsURL returns the value of the "collaborators_url" field in the mutation.
func (*RepositoryMutation) CommentsURL ¶
func (m *RepositoryMutation) CommentsURL() (r string, exists bool)
CommentsURL returns the value of the "comments_url" field in the mutation.
func (*RepositoryMutation) CommitsURL ¶
func (m *RepositoryMutation) CommitsURL() (r string, exists bool)
CommitsURL returns the value of the "commits_url" field in the mutation.
func (*RepositoryMutation) CompareURL ¶
func (m *RepositoryMutation) CompareURL() (r string, exists bool)
CompareURL returns the value of the "compare_url" field in the mutation.
func (*RepositoryMutation) ContentsURL ¶
func (m *RepositoryMutation) ContentsURL() (r string, exists bool)
ContentsURL returns the value of the "contents_url" field in the mutation.
func (*RepositoryMutation) ContributorsURL ¶
func (m *RepositoryMutation) ContributorsURL() (r string, exists bool)
ContributorsURL returns the value of the "contributors_url" field in the mutation.
func (*RepositoryMutation) CreatedAt ¶
func (m *RepositoryMutation) CreatedAt() (r time.Time, exists bool)
CreatedAt returns the value of the "created_at" field in the mutation.
func (*RepositoryMutation) DefaultBranch ¶
func (m *RepositoryMutation) DefaultBranch() (r string, exists bool)
DefaultBranch returns the value of the "default_branch" field in the mutation.
func (*RepositoryMutation) DeploymentsURL ¶
func (m *RepositoryMutation) DeploymentsURL() (r string, exists bool)
DeploymentsURL returns the value of the "deployments_url" field in the mutation.
func (*RepositoryMutation) Description ¶
func (m *RepositoryMutation) Description() (r string, exists bool)
Description returns the value of the "description" field in the mutation.
func (*RepositoryMutation) DescriptionCleared ¶
func (m *RepositoryMutation) DescriptionCleared() bool
DescriptionCleared returns if the "description" field was cleared in this mutation.
func (*RepositoryMutation) Disabled ¶
func (m *RepositoryMutation) Disabled() (r bool, exists bool)
Disabled returns the value of the "disabled" field in the mutation.
func (*RepositoryMutation) DownloadsURL ¶
func (m *RepositoryMutation) DownloadsURL() (r string, exists bool)
DownloadsURL returns the value of the "downloads_url" field in the mutation.
func (*RepositoryMutation) EdgeCleared ¶
func (m *RepositoryMutation) EdgeCleared(name string) bool
EdgeCleared returns a boolean which indicates if the edge with the given name was cleared in this mutation.
func (*RepositoryMutation) EventsURL ¶
func (m *RepositoryMutation) EventsURL() (r string, exists bool)
EventsURL returns the value of the "events_url" field in the mutation.
func (*RepositoryMutation) Field ¶
func (m *RepositoryMutation) Field(name string) (ent.Value, bool)
Field returns the value of a field with the given name. The second boolean return value indicates that this field was not set, or was not defined in the schema.
func (*RepositoryMutation) FieldCleared ¶
func (m *RepositoryMutation) FieldCleared(name string) bool
FieldCleared returns a boolean indicating if a field with the given name was cleared in this mutation.
func (*RepositoryMutation) Fields ¶
func (m *RepositoryMutation) Fields() []string
Fields returns all fields that were changed during this mutation. Note that in order to get all numeric fields that were incremented/decremented, call AddedFields().
func (*RepositoryMutation) Fork ¶
func (m *RepositoryMutation) Fork() (r bool, exists bool)
Fork returns the value of the "fork" field in the mutation.
func (*RepositoryMutation) Forks ¶
func (m *RepositoryMutation) Forks() (r int64, exists bool)
Forks returns the value of the "forks" field in the mutation.
func (*RepositoryMutation) ForksCount ¶
func (m *RepositoryMutation) ForksCount() (r int64, exists bool)
ForksCount returns the value of the "forks_count" field in the mutation.
func (*RepositoryMutation) ForksURL ¶
func (m *RepositoryMutation) ForksURL() (r string, exists bool)
ForksURL returns the value of the "forks_url" field in the mutation.
func (*RepositoryMutation) FullName ¶
func (m *RepositoryMutation) FullName() (r string, exists bool)
FullName returns the value of the "full_name" field in the mutation.
func (*RepositoryMutation) GitCommitsURL ¶
func (m *RepositoryMutation) GitCommitsURL() (r string, exists bool)
GitCommitsURL returns the value of the "git_commits_url" field in the mutation.
func (*RepositoryMutation) GitRefsURL ¶
func (m *RepositoryMutation) GitRefsURL() (r string, exists bool)
GitRefsURL returns the value of the "git_refs_url" field in the mutation.
func (*RepositoryMutation) GitTagsURL ¶
func (m *RepositoryMutation) GitTagsURL() (r string, exists bool)
GitTagsURL returns the value of the "git_tags_url" field in the mutation.
func (*RepositoryMutation) GitURL ¶
func (m *RepositoryMutation) GitURL() (r string, exists bool)
GitURL returns the value of the "git_url" field in the mutation.
func (*RepositoryMutation) HTMLURL ¶
func (m *RepositoryMutation) HTMLURL() (r string, exists bool)
HTMLURL returns the value of the "html_url" field in the mutation.
func (*RepositoryMutation) HasDiscussions ¶
func (m *RepositoryMutation) HasDiscussions() (r bool, exists bool)
HasDiscussions returns the value of the "has_discussions" field in the mutation.
func (*RepositoryMutation) HasDownloads ¶
func (m *RepositoryMutation) HasDownloads() (r bool, exists bool)
HasDownloads returns the value of the "has_downloads" field in the mutation.
func (*RepositoryMutation) HasIssuesEnabled ¶
func (m *RepositoryMutation) HasIssuesEnabled() (r bool, exists bool)
HasIssuesEnabled returns the value of the "has_issues_enabled" field in the mutation.
func (*RepositoryMutation) HasPages ¶
func (m *RepositoryMutation) HasPages() (r bool, exists bool)
HasPages returns the value of the "has_pages" field in the mutation.
func (*RepositoryMutation) HasProjects ¶
func (m *RepositoryMutation) HasProjects() (r bool, exists bool)
HasProjects returns the value of the "has_projects" field in the mutation.
func (*RepositoryMutation) HasWiki ¶
func (m *RepositoryMutation) HasWiki() (r bool, exists bool)
HasWiki returns the value of the "has_wiki" field in the mutation.
func (*RepositoryMutation) Homepage ¶
func (m *RepositoryMutation) Homepage() (r string, exists bool)
Homepage returns the value of the "homepage" field in the mutation.
func (*RepositoryMutation) HomepageCleared ¶
func (m *RepositoryMutation) HomepageCleared() bool
HomepageCleared returns if the "homepage" field was cleared in this mutation.
func (*RepositoryMutation) HooksURL ¶
func (m *RepositoryMutation) HooksURL() (r string, exists bool)
HooksURL returns the value of the "hooks_url" field in the mutation.
func (*RepositoryMutation) ID ¶
func (m *RepositoryMutation) ID() (id int64, exists bool)
ID returns the ID value in the mutation. Note that the ID is only available if it was provided to the builder or after it was returned from the database.
func (*RepositoryMutation) IDs ¶
func (m *RepositoryMutation) IDs(ctx context.Context) ([]int64, error)
IDs queries the database and returns the entity ids that match the mutation's predicate. That means, if the mutation is applied within a transaction with an isolation level such as sql.LevelSerializable, the returned ids match the ids of the rows that will be updated or updated by the mutation.
func (*RepositoryMutation) IsTemplate ¶
func (m *RepositoryMutation) IsTemplate() (r bool, exists bool)
IsTemplate returns the value of the "is_template" field in the mutation.
func (*RepositoryMutation) IssueCommentURL ¶
func (m *RepositoryMutation) IssueCommentURL() (r string, exists bool)
IssueCommentURL returns the value of the "issue_comment_url" field in the mutation.
func (*RepositoryMutation) IssueEventsURL ¶
func (m *RepositoryMutation) IssueEventsURL() (r string, exists bool)
IssueEventsURL returns the value of the "issue_events_url" field in the mutation.
func (*RepositoryMutation) IssuesCleared ¶
func (m *RepositoryMutation) IssuesCleared() bool
IssuesCleared reports if the "issues" edge to the Issue entity was cleared.
func (*RepositoryMutation) IssuesIDs ¶
func (m *RepositoryMutation) IssuesIDs() (ids []int64)
IssuesIDs returns the "issues" edge IDs in the mutation.
func (*RepositoryMutation) IssuesURL ¶
func (m *RepositoryMutation) IssuesURL() (r string, exists bool)
IssuesURL returns the value of the "issues_url" field in the mutation.
func (*RepositoryMutation) KeysURL ¶
func (m *RepositoryMutation) KeysURL() (r string, exists bool)
KeysURL returns the value of the "keys_url" field in the mutation.
func (*RepositoryMutation) LabelsURL ¶
func (m *RepositoryMutation) LabelsURL() (r string, exists bool)
LabelsURL returns the value of the "labels_url" field in the mutation.
func (*RepositoryMutation) Language ¶
func (m *RepositoryMutation) Language() (r string, exists bool)
Language returns the value of the "language" field in the mutation.
func (*RepositoryMutation) LanguageCleared ¶
func (m *RepositoryMutation) LanguageCleared() bool
LanguageCleared returns if the "language" field was cleared in this mutation.
func (*RepositoryMutation) LanguagesURL ¶
func (m *RepositoryMutation) LanguagesURL() (r string, exists bool)
LanguagesURL returns the value of the "languages_url" field in the mutation.
func (*RepositoryMutation) License ¶
func (m *RepositoryMutation) License() (r *model.License, exists bool)
License returns the value of the "license" field in the mutation.
func (*RepositoryMutation) LicenseCleared ¶
func (m *RepositoryMutation) LicenseCleared() bool
LicenseCleared returns if the "license" field was cleared in this mutation.
func (*RepositoryMutation) MergesURL ¶
func (m *RepositoryMutation) MergesURL() (r string, exists bool)
MergesURL returns the value of the "merges_url" field in the mutation.
func (*RepositoryMutation) MilestonesURL ¶
func (m *RepositoryMutation) MilestonesURL() (r string, exists bool)
MilestonesURL returns the value of the "milestones_url" field in the mutation.
func (*RepositoryMutation) MirrorURL ¶
func (m *RepositoryMutation) MirrorURL() (r string, exists bool)
MirrorURL returns the value of the "mirror_url" field in the mutation.
func (*RepositoryMutation) MirrorURLCleared ¶
func (m *RepositoryMutation) MirrorURLCleared() bool
MirrorURLCleared returns if the "mirror_url" field was cleared in this mutation.
func (*RepositoryMutation) Name ¶
func (m *RepositoryMutation) Name() (r string, exists bool)
Name returns the value of the "name" field in the mutation.
func (*RepositoryMutation) NetworkCount ¶
func (m *RepositoryMutation) NetworkCount() (r int64, exists bool)
NetworkCount returns the value of the "network_count" field in the mutation.
func (*RepositoryMutation) NodeID ¶
func (m *RepositoryMutation) NodeID() (r string, exists bool)
NodeID returns the value of the "node_id" field in the mutation.
func (*RepositoryMutation) NotificationsURL ¶
func (m *RepositoryMutation) NotificationsURL() (r string, exists bool)
NotificationsURL returns the value of the "notifications_url" field in the mutation.
func (*RepositoryMutation) OldArchiveURL ¶
func (m *RepositoryMutation) OldArchiveURL(ctx context.Context) (v string, err error)
OldArchiveURL returns the old "archive_url" field's value of the Repository entity. If the Repository object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*RepositoryMutation) OldArchived ¶
func (m *RepositoryMutation) OldArchived(ctx context.Context) (v bool, err error)
OldArchived returns the old "archived" field's value of the Repository entity. If the Repository object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*RepositoryMutation) OldAssigneesURL ¶
func (m *RepositoryMutation) OldAssigneesURL(ctx context.Context) (v string, err error)
OldAssigneesURL returns the old "assignees_url" field's value of the Repository entity. If the Repository object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*RepositoryMutation) OldBlobsURL ¶
func (m *RepositoryMutation) OldBlobsURL(ctx context.Context) (v string, err error)
OldBlobsURL returns the old "blobs_url" field's value of the Repository entity. If the Repository object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*RepositoryMutation) OldBranchesURL ¶
func (m *RepositoryMutation) OldBranchesURL(ctx context.Context) (v string, err error)
OldBranchesURL returns the old "branches_url" field's value of the Repository entity. If the Repository object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*RepositoryMutation) OldCloneURL ¶
func (m *RepositoryMutation) OldCloneURL(ctx context.Context) (v string, err error)
OldCloneURL returns the old "clone_url" field's value of the Repository entity. If the Repository object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*RepositoryMutation) OldCollaboratorsURL ¶
func (m *RepositoryMutation) OldCollaboratorsURL(ctx context.Context) (v string, err error)
OldCollaboratorsURL returns the old "collaborators_url" field's value of the Repository entity. If the Repository object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*RepositoryMutation) OldCommentsURL ¶
func (m *RepositoryMutation) OldCommentsURL(ctx context.Context) (v string, err error)
OldCommentsURL returns the old "comments_url" field's value of the Repository entity. If the Repository object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*RepositoryMutation) OldCommitsURL ¶
func (m *RepositoryMutation) OldCommitsURL(ctx context.Context) (v string, err error)
OldCommitsURL returns the old "commits_url" field's value of the Repository entity. If the Repository object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*RepositoryMutation) OldCompareURL ¶
func (m *RepositoryMutation) OldCompareURL(ctx context.Context) (v string, err error)
OldCompareURL returns the old "compare_url" field's value of the Repository entity. If the Repository object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*RepositoryMutation) OldContentsURL ¶
func (m *RepositoryMutation) OldContentsURL(ctx context.Context) (v string, err error)
OldContentsURL returns the old "contents_url" field's value of the Repository entity. If the Repository object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*RepositoryMutation) OldContributorsURL ¶
func (m *RepositoryMutation) OldContributorsURL(ctx context.Context) (v string, err error)
OldContributorsURL returns the old "contributors_url" field's value of the Repository entity. If the Repository object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*RepositoryMutation) OldCreatedAt ¶
OldCreatedAt returns the old "created_at" field's value of the Repository entity. If the Repository object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*RepositoryMutation) OldDefaultBranch ¶
func (m *RepositoryMutation) OldDefaultBranch(ctx context.Context) (v string, err error)
OldDefaultBranch returns the old "default_branch" field's value of the Repository entity. If the Repository object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*RepositoryMutation) OldDeploymentsURL ¶
func (m *RepositoryMutation) OldDeploymentsURL(ctx context.Context) (v string, err error)
OldDeploymentsURL returns the old "deployments_url" field's value of the Repository entity. If the Repository object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*RepositoryMutation) OldDescription ¶
func (m *RepositoryMutation) OldDescription(ctx context.Context) (v string, err error)
OldDescription returns the old "description" field's value of the Repository entity. If the Repository object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*RepositoryMutation) OldDisabled ¶
func (m *RepositoryMutation) OldDisabled(ctx context.Context) (v bool, err error)
OldDisabled returns the old "disabled" field's value of the Repository entity. If the Repository object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*RepositoryMutation) OldDownloadsURL ¶
func (m *RepositoryMutation) OldDownloadsURL(ctx context.Context) (v string, err error)
OldDownloadsURL returns the old "downloads_url" field's value of the Repository entity. If the Repository object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*RepositoryMutation) OldEventsURL ¶
func (m *RepositoryMutation) OldEventsURL(ctx context.Context) (v string, err error)
OldEventsURL returns the old "events_url" field's value of the Repository entity. If the Repository object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*RepositoryMutation) OldField ¶
OldField returns the old value of the field from the database. An error is returned if the mutation operation is not UpdateOne, or the query to the database failed.
func (*RepositoryMutation) OldFork ¶
func (m *RepositoryMutation) OldFork(ctx context.Context) (v bool, err error)
OldFork returns the old "fork" field's value of the Repository entity. If the Repository object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*RepositoryMutation) OldForks ¶
func (m *RepositoryMutation) OldForks(ctx context.Context) (v int64, err error)
OldForks returns the old "forks" field's value of the Repository entity. If the Repository object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*RepositoryMutation) OldForksCount ¶
func (m *RepositoryMutation) OldForksCount(ctx context.Context) (v int64, err error)
OldForksCount returns the old "forks_count" field's value of the Repository entity. If the Repository object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*RepositoryMutation) OldForksURL ¶
func (m *RepositoryMutation) OldForksURL(ctx context.Context) (v string, err error)
OldForksURL returns the old "forks_url" field's value of the Repository entity. If the Repository object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*RepositoryMutation) OldFullName ¶
func (m *RepositoryMutation) OldFullName(ctx context.Context) (v string, err error)
OldFullName returns the old "full_name" field's value of the Repository entity. If the Repository object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*RepositoryMutation) OldGitCommitsURL ¶
func (m *RepositoryMutation) OldGitCommitsURL(ctx context.Context) (v string, err error)
OldGitCommitsURL returns the old "git_commits_url" field's value of the Repository entity. If the Repository object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*RepositoryMutation) OldGitRefsURL ¶
func (m *RepositoryMutation) OldGitRefsURL(ctx context.Context) (v string, err error)
OldGitRefsURL returns the old "git_refs_url" field's value of the Repository entity. If the Repository object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*RepositoryMutation) OldGitTagsURL ¶
func (m *RepositoryMutation) OldGitTagsURL(ctx context.Context) (v string, err error)
OldGitTagsURL returns the old "git_tags_url" field's value of the Repository entity. If the Repository object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*RepositoryMutation) OldGitURL ¶
func (m *RepositoryMutation) OldGitURL(ctx context.Context) (v string, err error)
OldGitURL returns the old "git_url" field's value of the Repository entity. If the Repository object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*RepositoryMutation) OldHTMLURL ¶
func (m *RepositoryMutation) OldHTMLURL(ctx context.Context) (v string, err error)
OldHTMLURL returns the old "html_url" field's value of the Repository entity. If the Repository object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*RepositoryMutation) OldHasDiscussions ¶
func (m *RepositoryMutation) OldHasDiscussions(ctx context.Context) (v bool, err error)
OldHasDiscussions returns the old "has_discussions" field's value of the Repository entity. If the Repository object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*RepositoryMutation) OldHasDownloads ¶
func (m *RepositoryMutation) OldHasDownloads(ctx context.Context) (v bool, err error)
OldHasDownloads returns the old "has_downloads" field's value of the Repository entity. If the Repository object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*RepositoryMutation) OldHasIssuesEnabled ¶
func (m *RepositoryMutation) OldHasIssuesEnabled(ctx context.Context) (v bool, err error)
OldHasIssuesEnabled returns the old "has_issues_enabled" field's value of the Repository entity. If the Repository object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*RepositoryMutation) OldHasPages ¶
func (m *RepositoryMutation) OldHasPages(ctx context.Context) (v bool, err error)
OldHasPages returns the old "has_pages" field's value of the Repository entity. If the Repository object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*RepositoryMutation) OldHasProjects ¶
func (m *RepositoryMutation) OldHasProjects(ctx context.Context) (v bool, err error)
OldHasProjects returns the old "has_projects" field's value of the Repository entity. If the Repository object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*RepositoryMutation) OldHasWiki ¶
func (m *RepositoryMutation) OldHasWiki(ctx context.Context) (v bool, err error)
OldHasWiki returns the old "has_wiki" field's value of the Repository entity. If the Repository object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*RepositoryMutation) OldHomepage ¶
func (m *RepositoryMutation) OldHomepage(ctx context.Context) (v string, err error)
OldHomepage returns the old "homepage" field's value of the Repository entity. If the Repository object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*RepositoryMutation) OldHooksURL ¶
func (m *RepositoryMutation) OldHooksURL(ctx context.Context) (v string, err error)
OldHooksURL returns the old "hooks_url" field's value of the Repository entity. If the Repository object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*RepositoryMutation) OldIsTemplate ¶
func (m *RepositoryMutation) OldIsTemplate(ctx context.Context) (v bool, err error)
OldIsTemplate returns the old "is_template" field's value of the Repository entity. If the Repository object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*RepositoryMutation) OldIssueCommentURL ¶
func (m *RepositoryMutation) OldIssueCommentURL(ctx context.Context) (v string, err error)
OldIssueCommentURL returns the old "issue_comment_url" field's value of the Repository entity. If the Repository object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*RepositoryMutation) OldIssueEventsURL ¶
func (m *RepositoryMutation) OldIssueEventsURL(ctx context.Context) (v string, err error)
OldIssueEventsURL returns the old "issue_events_url" field's value of the Repository entity. If the Repository object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*RepositoryMutation) OldIssuesURL ¶
func (m *RepositoryMutation) OldIssuesURL(ctx context.Context) (v string, err error)
OldIssuesURL returns the old "issues_url" field's value of the Repository entity. If the Repository object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*RepositoryMutation) OldKeysURL ¶
func (m *RepositoryMutation) OldKeysURL(ctx context.Context) (v string, err error)
OldKeysURL returns the old "keys_url" field's value of the Repository entity. If the Repository object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*RepositoryMutation) OldLabelsURL ¶
func (m *RepositoryMutation) OldLabelsURL(ctx context.Context) (v string, err error)
OldLabelsURL returns the old "labels_url" field's value of the Repository entity. If the Repository object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*RepositoryMutation) OldLanguage ¶
func (m *RepositoryMutation) OldLanguage(ctx context.Context) (v string, err error)
OldLanguage returns the old "language" field's value of the Repository entity. If the Repository object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*RepositoryMutation) OldLanguagesURL ¶
func (m *RepositoryMutation) OldLanguagesURL(ctx context.Context) (v string, err error)
OldLanguagesURL returns the old "languages_url" field's value of the Repository entity. If the Repository object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*RepositoryMutation) OldLicense ¶
OldLicense returns the old "license" field's value of the Repository entity. If the Repository object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*RepositoryMutation) OldMergesURL ¶
func (m *RepositoryMutation) OldMergesURL(ctx context.Context) (v string, err error)
OldMergesURL returns the old "merges_url" field's value of the Repository entity. If the Repository object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*RepositoryMutation) OldMilestonesURL ¶
func (m *RepositoryMutation) OldMilestonesURL(ctx context.Context) (v string, err error)
OldMilestonesURL returns the old "milestones_url" field's value of the Repository entity. If the Repository object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*RepositoryMutation) OldMirrorURL ¶
func (m *RepositoryMutation) OldMirrorURL(ctx context.Context) (v *string, err error)
OldMirrorURL returns the old "mirror_url" field's value of the Repository entity. If the Repository object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*RepositoryMutation) OldName ¶
func (m *RepositoryMutation) OldName(ctx context.Context) (v string, err error)
OldName returns the old "name" field's value of the Repository entity. If the Repository object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*RepositoryMutation) OldNetworkCount ¶
func (m *RepositoryMutation) OldNetworkCount(ctx context.Context) (v int64, err error)
OldNetworkCount returns the old "network_count" field's value of the Repository entity. If the Repository object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*RepositoryMutation) OldNodeID ¶
func (m *RepositoryMutation) OldNodeID(ctx context.Context) (v string, err error)
OldNodeID returns the old "node_id" field's value of the Repository entity. If the Repository object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*RepositoryMutation) OldNotificationsURL ¶
func (m *RepositoryMutation) OldNotificationsURL(ctx context.Context) (v string, err error)
OldNotificationsURL returns the old "notifications_url" field's value of the Repository entity. If the Repository object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*RepositoryMutation) OldOpenIssues ¶
func (m *RepositoryMutation) OldOpenIssues(ctx context.Context) (v int64, err error)
OldOpenIssues returns the old "open_issues" field's value of the Repository entity. If the Repository object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*RepositoryMutation) OldOpenIssuesCount ¶
func (m *RepositoryMutation) OldOpenIssuesCount(ctx context.Context) (v int64, err error)
OldOpenIssuesCount returns the old "open_issues_count" field's value of the Repository entity. If the Repository object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*RepositoryMutation) OldPrivate ¶
func (m *RepositoryMutation) OldPrivate(ctx context.Context) (v bool, err error)
OldPrivate returns the old "private" field's value of the Repository entity. If the Repository object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*RepositoryMutation) OldPullsURL ¶
func (m *RepositoryMutation) OldPullsURL(ctx context.Context) (v string, err error)
OldPullsURL returns the old "pulls_url" field's value of the Repository entity. If the Repository object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*RepositoryMutation) OldPushedAt ¶
OldPushedAt returns the old "pushed_at" field's value of the Repository entity. If the Repository object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*RepositoryMutation) OldReleasesURL ¶
func (m *RepositoryMutation) OldReleasesURL(ctx context.Context) (v string, err error)
OldReleasesURL returns the old "releases_url" field's value of the Repository entity. If the Repository object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*RepositoryMutation) OldSSHURL ¶
func (m *RepositoryMutation) OldSSHURL(ctx context.Context) (v string, err error)
OldSSHURL returns the old "ssh_url" field's value of the Repository entity. If the Repository object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*RepositoryMutation) OldSize ¶
func (m *RepositoryMutation) OldSize(ctx context.Context) (v int64, err error)
OldSize returns the old "size" field's value of the Repository entity. If the Repository object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*RepositoryMutation) OldStargazersCount ¶
func (m *RepositoryMutation) OldStargazersCount(ctx context.Context) (v int64, err error)
OldStargazersCount returns the old "stargazers_count" field's value of the Repository entity. If the Repository object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*RepositoryMutation) OldStargazersURL ¶
func (m *RepositoryMutation) OldStargazersURL(ctx context.Context) (v string, err error)
OldStargazersURL returns the old "stargazers_url" field's value of the Repository entity. If the Repository object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*RepositoryMutation) OldStatusesURL ¶
func (m *RepositoryMutation) OldStatusesURL(ctx context.Context) (v string, err error)
OldStatusesURL returns the old "statuses_url" field's value of the Repository entity. If the Repository object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*RepositoryMutation) OldSubscribersCount ¶
func (m *RepositoryMutation) OldSubscribersCount(ctx context.Context) (v int64, err error)
OldSubscribersCount returns the old "subscribers_count" field's value of the Repository entity. If the Repository object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*RepositoryMutation) OldSubscribersURL ¶
func (m *RepositoryMutation) OldSubscribersURL(ctx context.Context) (v string, err error)
OldSubscribersURL returns the old "subscribers_url" field's value of the Repository entity. If the Repository object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*RepositoryMutation) OldSubscriptionURL ¶
func (m *RepositoryMutation) OldSubscriptionURL(ctx context.Context) (v string, err error)
OldSubscriptionURL returns the old "subscription_url" field's value of the Repository entity. If the Repository object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*RepositoryMutation) OldSvnURL ¶
func (m *RepositoryMutation) OldSvnURL(ctx context.Context) (v string, err error)
OldSvnURL returns the old "svn_url" field's value of the Repository entity. If the Repository object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*RepositoryMutation) OldTagsURL ¶
func (m *RepositoryMutation) OldTagsURL(ctx context.Context) (v string, err error)
OldTagsURL returns the old "tags_url" field's value of the Repository entity. If the Repository object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*RepositoryMutation) OldTeamsURL ¶
func (m *RepositoryMutation) OldTeamsURL(ctx context.Context) (v string, err error)
OldTeamsURL returns the old "teams_url" field's value of the Repository entity. If the Repository object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*RepositoryMutation) OldTopics ¶
func (m *RepositoryMutation) OldTopics(ctx context.Context) (v []string, err error)
OldTopics returns the old "topics" field's value of the Repository entity. If the Repository object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*RepositoryMutation) OldTreesURL ¶
func (m *RepositoryMutation) OldTreesURL(ctx context.Context) (v string, err error)
OldTreesURL returns the old "trees_url" field's value of the Repository entity. If the Repository object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*RepositoryMutation) OldURL ¶
func (m *RepositoryMutation) OldURL(ctx context.Context) (v string, err error)
OldURL returns the old "url" field's value of the Repository entity. If the Repository object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*RepositoryMutation) OldUpdatedAt ¶
OldUpdatedAt returns the old "updated_at" field's value of the Repository entity. If the Repository object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*RepositoryMutation) OldVisibility ¶
func (m *RepositoryMutation) OldVisibility(ctx context.Context) (v *repository.Visibility, err error)
OldVisibility returns the old "visibility" field's value of the Repository entity. If the Repository object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*RepositoryMutation) OldWatchers ¶
func (m *RepositoryMutation) OldWatchers(ctx context.Context) (v int64, err error)
OldWatchers returns the old "watchers" field's value of the Repository entity. If the Repository object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*RepositoryMutation) OldWatchersCount ¶
func (m *RepositoryMutation) OldWatchersCount(ctx context.Context) (v int64, err error)
OldWatchersCount returns the old "watchers_count" field's value of the Repository entity. If the Repository object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*RepositoryMutation) OpenIssues ¶
func (m *RepositoryMutation) OpenIssues() (r int64, exists bool)
OpenIssues returns the value of the "open_issues" field in the mutation.
func (*RepositoryMutation) OpenIssuesCount ¶
func (m *RepositoryMutation) OpenIssuesCount() (r int64, exists bool)
OpenIssuesCount returns the value of the "open_issues_count" field in the mutation.
func (*RepositoryMutation) OwnerCleared ¶
func (m *RepositoryMutation) OwnerCleared() bool
OwnerCleared reports if the "owner" edge to the User entity was cleared.
func (*RepositoryMutation) OwnerID ¶
func (m *RepositoryMutation) OwnerID() (id int64, exists bool)
OwnerID returns the "owner" edge ID in the mutation.
func (*RepositoryMutation) OwnerIDs ¶
func (m *RepositoryMutation) OwnerIDs() (ids []int64)
OwnerIDs returns the "owner" edge IDs in the mutation. Note that IDs always returns len(IDs) <= 1 for unique edges, and you should use OwnerID instead. It exists only for internal usage by the builders.
func (*RepositoryMutation) Private ¶
func (m *RepositoryMutation) Private() (r bool, exists bool)
Private returns the value of the "private" field in the mutation.
func (*RepositoryMutation) PullsURL ¶
func (m *RepositoryMutation) PullsURL() (r string, exists bool)
PullsURL returns the value of the "pulls_url" field in the mutation.
func (*RepositoryMutation) PushedAt ¶
func (m *RepositoryMutation) PushedAt() (r time.Time, exists bool)
PushedAt returns the value of the "pushed_at" field in the mutation.
func (*RepositoryMutation) ReleasesURL ¶
func (m *RepositoryMutation) ReleasesURL() (r string, exists bool)
ReleasesURL returns the value of the "releases_url" field in the mutation.
func (*RepositoryMutation) RemoveIssueIDs ¶
func (m *RepositoryMutation) RemoveIssueIDs(ids ...int64)
RemoveIssueIDs removes the "issues" edge to the Issue entity by IDs.
func (*RepositoryMutation) RemovedEdges ¶
func (m *RepositoryMutation) RemovedEdges() []string
RemovedEdges returns all edge names that were removed in this mutation.
func (*RepositoryMutation) RemovedIDs ¶
func (m *RepositoryMutation) RemovedIDs(name string) []ent.Value
RemovedIDs returns all IDs (to other nodes) that were removed for the edge with the given name in this mutation.
func (*RepositoryMutation) RemovedIssuesIDs ¶
func (m *RepositoryMutation) RemovedIssuesIDs() (ids []int64)
RemovedIssues returns the removed IDs of the "issues" edge to the Issue entity.
func (*RepositoryMutation) ResetArchiveURL ¶
func (m *RepositoryMutation) ResetArchiveURL()
ResetArchiveURL resets all changes to the "archive_url" field.
func (*RepositoryMutation) ResetArchived ¶
func (m *RepositoryMutation) ResetArchived()
ResetArchived resets all changes to the "archived" field.
func (*RepositoryMutation) ResetAssigneesURL ¶
func (m *RepositoryMutation) ResetAssigneesURL()
ResetAssigneesURL resets all changes to the "assignees_url" field.
func (*RepositoryMutation) ResetBlobsURL ¶
func (m *RepositoryMutation) ResetBlobsURL()
ResetBlobsURL resets all changes to the "blobs_url" field.
func (*RepositoryMutation) ResetBranchesURL ¶
func (m *RepositoryMutation) ResetBranchesURL()
ResetBranchesURL resets all changes to the "branches_url" field.
func (*RepositoryMutation) ResetCloneURL ¶
func (m *RepositoryMutation) ResetCloneURL()
ResetCloneURL resets all changes to the "clone_url" field.
func (*RepositoryMutation) ResetCollaboratorsURL ¶
func (m *RepositoryMutation) ResetCollaboratorsURL()
ResetCollaboratorsURL resets all changes to the "collaborators_url" field.
func (*RepositoryMutation) ResetCommentsURL ¶
func (m *RepositoryMutation) ResetCommentsURL()
ResetCommentsURL resets all changes to the "comments_url" field.
func (*RepositoryMutation) ResetCommitsURL ¶
func (m *RepositoryMutation) ResetCommitsURL()
ResetCommitsURL resets all changes to the "commits_url" field.
func (*RepositoryMutation) ResetCompareURL ¶
func (m *RepositoryMutation) ResetCompareURL()
ResetCompareURL resets all changes to the "compare_url" field.
func (*RepositoryMutation) ResetContentsURL ¶
func (m *RepositoryMutation) ResetContentsURL()
ResetContentsURL resets all changes to the "contents_url" field.
func (*RepositoryMutation) ResetContributorsURL ¶
func (m *RepositoryMutation) ResetContributorsURL()
ResetContributorsURL resets all changes to the "contributors_url" field.
func (*RepositoryMutation) ResetCreatedAt ¶
func (m *RepositoryMutation) ResetCreatedAt()
ResetCreatedAt resets all changes to the "created_at" field.
func (*RepositoryMutation) ResetDefaultBranch ¶
func (m *RepositoryMutation) ResetDefaultBranch()
ResetDefaultBranch resets all changes to the "default_branch" field.
func (*RepositoryMutation) ResetDeploymentsURL ¶
func (m *RepositoryMutation) ResetDeploymentsURL()
ResetDeploymentsURL resets all changes to the "deployments_url" field.
func (*RepositoryMutation) ResetDescription ¶
func (m *RepositoryMutation) ResetDescription()
ResetDescription resets all changes to the "description" field.
func (*RepositoryMutation) ResetDisabled ¶
func (m *RepositoryMutation) ResetDisabled()
ResetDisabled resets all changes to the "disabled" field.
func (*RepositoryMutation) ResetDownloadsURL ¶
func (m *RepositoryMutation) ResetDownloadsURL()
ResetDownloadsURL resets all changes to the "downloads_url" field.
func (*RepositoryMutation) ResetEdge ¶
func (m *RepositoryMutation) ResetEdge(name string) error
ResetEdge resets all changes to the edge with the given name in this mutation. It returns an error if the edge is not defined in the schema.
func (*RepositoryMutation) ResetEventsURL ¶
func (m *RepositoryMutation) ResetEventsURL()
ResetEventsURL resets all changes to the "events_url" field.
func (*RepositoryMutation) ResetField ¶
func (m *RepositoryMutation) ResetField(name string) error
ResetField resets all changes in the mutation for the field with the given name. It returns an error if the field is not defined in the schema.
func (*RepositoryMutation) ResetFork ¶
func (m *RepositoryMutation) ResetFork()
ResetFork resets all changes to the "fork" field.
func (*RepositoryMutation) ResetForks ¶
func (m *RepositoryMutation) ResetForks()
ResetForks resets all changes to the "forks" field.
func (*RepositoryMutation) ResetForksCount ¶
func (m *RepositoryMutation) ResetForksCount()
ResetForksCount resets all changes to the "forks_count" field.
func (*RepositoryMutation) ResetForksURL ¶
func (m *RepositoryMutation) ResetForksURL()
ResetForksURL resets all changes to the "forks_url" field.
func (*RepositoryMutation) ResetFullName ¶
func (m *RepositoryMutation) ResetFullName()
ResetFullName resets all changes to the "full_name" field.
func (*RepositoryMutation) ResetGitCommitsURL ¶
func (m *RepositoryMutation) ResetGitCommitsURL()
ResetGitCommitsURL resets all changes to the "git_commits_url" field.
func (*RepositoryMutation) ResetGitRefsURL ¶
func (m *RepositoryMutation) ResetGitRefsURL()
ResetGitRefsURL resets all changes to the "git_refs_url" field.
func (*RepositoryMutation) ResetGitTagsURL ¶
func (m *RepositoryMutation) ResetGitTagsURL()
ResetGitTagsURL resets all changes to the "git_tags_url" field.
func (*RepositoryMutation) ResetGitURL ¶
func (m *RepositoryMutation) ResetGitURL()
ResetGitURL resets all changes to the "git_url" field.
func (*RepositoryMutation) ResetHTMLURL ¶
func (m *RepositoryMutation) ResetHTMLURL()
ResetHTMLURL resets all changes to the "html_url" field.
func (*RepositoryMutation) ResetHasDiscussions ¶
func (m *RepositoryMutation) ResetHasDiscussions()
ResetHasDiscussions resets all changes to the "has_discussions" field.
func (*RepositoryMutation) ResetHasDownloads ¶
func (m *RepositoryMutation) ResetHasDownloads()
ResetHasDownloads resets all changes to the "has_downloads" field.
func (*RepositoryMutation) ResetHasIssuesEnabled ¶
func (m *RepositoryMutation) ResetHasIssuesEnabled()
ResetHasIssuesEnabled resets all changes to the "has_issues_enabled" field.
func (*RepositoryMutation) ResetHasPages ¶
func (m *RepositoryMutation) ResetHasPages()
ResetHasPages resets all changes to the "has_pages" field.
func (*RepositoryMutation) ResetHasProjects ¶
func (m *RepositoryMutation) ResetHasProjects()
ResetHasProjects resets all changes to the "has_projects" field.
func (*RepositoryMutation) ResetHasWiki ¶
func (m *RepositoryMutation) ResetHasWiki()
ResetHasWiki resets all changes to the "has_wiki" field.
func (*RepositoryMutation) ResetHomepage ¶
func (m *RepositoryMutation) ResetHomepage()
ResetHomepage resets all changes to the "homepage" field.
func (*RepositoryMutation) ResetHooksURL ¶
func (m *RepositoryMutation) ResetHooksURL()
ResetHooksURL resets all changes to the "hooks_url" field.
func (*RepositoryMutation) ResetIsTemplate ¶
func (m *RepositoryMutation) ResetIsTemplate()
ResetIsTemplate resets all changes to the "is_template" field.
func (*RepositoryMutation) ResetIssueCommentURL ¶
func (m *RepositoryMutation) ResetIssueCommentURL()
ResetIssueCommentURL resets all changes to the "issue_comment_url" field.
func (*RepositoryMutation) ResetIssueEventsURL ¶
func (m *RepositoryMutation) ResetIssueEventsURL()
ResetIssueEventsURL resets all changes to the "issue_events_url" field.
func (*RepositoryMutation) ResetIssues ¶
func (m *RepositoryMutation) ResetIssues()
ResetIssues resets all changes to the "issues" edge.
func (*RepositoryMutation) ResetIssuesURL ¶
func (m *RepositoryMutation) ResetIssuesURL()
ResetIssuesURL resets all changes to the "issues_url" field.
func (*RepositoryMutation) ResetKeysURL ¶
func (m *RepositoryMutation) ResetKeysURL()
ResetKeysURL resets all changes to the "keys_url" field.
func (*RepositoryMutation) ResetLabelsURL ¶
func (m *RepositoryMutation) ResetLabelsURL()
ResetLabelsURL resets all changes to the "labels_url" field.
func (*RepositoryMutation) ResetLanguage ¶
func (m *RepositoryMutation) ResetLanguage()
ResetLanguage resets all changes to the "language" field.
func (*RepositoryMutation) ResetLanguagesURL ¶
func (m *RepositoryMutation) ResetLanguagesURL()
ResetLanguagesURL resets all changes to the "languages_url" field.
func (*RepositoryMutation) ResetLicense ¶
func (m *RepositoryMutation) ResetLicense()
ResetLicense resets all changes to the "license" field.
func (*RepositoryMutation) ResetMergesURL ¶
func (m *RepositoryMutation) ResetMergesURL()
ResetMergesURL resets all changes to the "merges_url" field.
func (*RepositoryMutation) ResetMilestonesURL ¶
func (m *RepositoryMutation) ResetMilestonesURL()
ResetMilestonesURL resets all changes to the "milestones_url" field.
func (*RepositoryMutation) ResetMirrorURL ¶
func (m *RepositoryMutation) ResetMirrorURL()
ResetMirrorURL resets all changes to the "mirror_url" field.
func (*RepositoryMutation) ResetName ¶
func (m *RepositoryMutation) ResetName()
ResetName resets all changes to the "name" field.
func (*RepositoryMutation) ResetNetworkCount ¶
func (m *RepositoryMutation) ResetNetworkCount()
ResetNetworkCount resets all changes to the "network_count" field.
func (*RepositoryMutation) ResetNodeID ¶
func (m *RepositoryMutation) ResetNodeID()
ResetNodeID resets all changes to the "node_id" field.
func (*RepositoryMutation) ResetNotificationsURL ¶
func (m *RepositoryMutation) ResetNotificationsURL()
ResetNotificationsURL resets all changes to the "notifications_url" field.
func (*RepositoryMutation) ResetOpenIssues ¶
func (m *RepositoryMutation) ResetOpenIssues()
ResetOpenIssues resets all changes to the "open_issues" field.
func (*RepositoryMutation) ResetOpenIssuesCount ¶
func (m *RepositoryMutation) ResetOpenIssuesCount()
ResetOpenIssuesCount resets all changes to the "open_issues_count" field.
func (*RepositoryMutation) ResetOwner ¶
func (m *RepositoryMutation) ResetOwner()
ResetOwner resets all changes to the "owner" edge.
func (*RepositoryMutation) ResetPrivate ¶
func (m *RepositoryMutation) ResetPrivate()
ResetPrivate resets all changes to the "private" field.
func (*RepositoryMutation) ResetPullsURL ¶
func (m *RepositoryMutation) ResetPullsURL()
ResetPullsURL resets all changes to the "pulls_url" field.
func (*RepositoryMutation) ResetPushedAt ¶
func (m *RepositoryMutation) ResetPushedAt()
ResetPushedAt resets all changes to the "pushed_at" field.
func (*RepositoryMutation) ResetReleasesURL ¶
func (m *RepositoryMutation) ResetReleasesURL()
ResetReleasesURL resets all changes to the "releases_url" field.
func (*RepositoryMutation) ResetSSHURL ¶
func (m *RepositoryMutation) ResetSSHURL()
ResetSSHURL resets all changes to the "ssh_url" field.
func (*RepositoryMutation) ResetSize ¶
func (m *RepositoryMutation) ResetSize()
ResetSize resets all changes to the "size" field.
func (*RepositoryMutation) ResetStargazersCount ¶
func (m *RepositoryMutation) ResetStargazersCount()
ResetStargazersCount resets all changes to the "stargazers_count" field.
func (*RepositoryMutation) ResetStargazersURL ¶
func (m *RepositoryMutation) ResetStargazersURL()
ResetStargazersURL resets all changes to the "stargazers_url" field.
func (*RepositoryMutation) ResetStatusesURL ¶
func (m *RepositoryMutation) ResetStatusesURL()
ResetStatusesURL resets all changes to the "statuses_url" field.
func (*RepositoryMutation) ResetSubscribersCount ¶
func (m *RepositoryMutation) ResetSubscribersCount()
ResetSubscribersCount resets all changes to the "subscribers_count" field.
func (*RepositoryMutation) ResetSubscribersURL ¶
func (m *RepositoryMutation) ResetSubscribersURL()
ResetSubscribersURL resets all changes to the "subscribers_url" field.
func (*RepositoryMutation) ResetSubscriptionURL ¶
func (m *RepositoryMutation) ResetSubscriptionURL()
ResetSubscriptionURL resets all changes to the "subscription_url" field.
func (*RepositoryMutation) ResetSvnURL ¶
func (m *RepositoryMutation) ResetSvnURL()
ResetSvnURL resets all changes to the "svn_url" field.
func (*RepositoryMutation) ResetTagsURL ¶
func (m *RepositoryMutation) ResetTagsURL()
ResetTagsURL resets all changes to the "tags_url" field.
func (*RepositoryMutation) ResetTeamsURL ¶
func (m *RepositoryMutation) ResetTeamsURL()
ResetTeamsURL resets all changes to the "teams_url" field.
func (*RepositoryMutation) ResetTopics ¶
func (m *RepositoryMutation) ResetTopics()
ResetTopics resets all changes to the "topics" field.
func (*RepositoryMutation) ResetTreesURL ¶
func (m *RepositoryMutation) ResetTreesURL()
ResetTreesURL resets all changes to the "trees_url" field.
func (*RepositoryMutation) ResetURL ¶
func (m *RepositoryMutation) ResetURL()
ResetURL resets all changes to the "url" field.
func (*RepositoryMutation) ResetUpdatedAt ¶
func (m *RepositoryMutation) ResetUpdatedAt()
ResetUpdatedAt resets all changes to the "updated_at" field.
func (*RepositoryMutation) ResetVisibility ¶
func (m *RepositoryMutation) ResetVisibility()
ResetVisibility resets all changes to the "visibility" field.
func (*RepositoryMutation) ResetWatchers ¶
func (m *RepositoryMutation) ResetWatchers()
ResetWatchers resets all changes to the "watchers" field.
func (*RepositoryMutation) ResetWatchersCount ¶
func (m *RepositoryMutation) ResetWatchersCount()
ResetWatchersCount resets all changes to the "watchers_count" field.
func (*RepositoryMutation) SSHURL ¶
func (m *RepositoryMutation) SSHURL() (r string, exists bool)
SSHURL returns the value of the "ssh_url" field in the mutation.
func (*RepositoryMutation) SetArchiveURL ¶
func (m *RepositoryMutation) SetArchiveURL(s string)
SetArchiveURL sets the "archive_url" field.
func (*RepositoryMutation) SetArchived ¶
func (m *RepositoryMutation) SetArchived(b bool)
SetArchived sets the "archived" field.
func (*RepositoryMutation) SetAssigneesURL ¶
func (m *RepositoryMutation) SetAssigneesURL(s string)
SetAssigneesURL sets the "assignees_url" field.
func (*RepositoryMutation) SetBlobsURL ¶
func (m *RepositoryMutation) SetBlobsURL(s string)
SetBlobsURL sets the "blobs_url" field.
func (*RepositoryMutation) SetBranchesURL ¶
func (m *RepositoryMutation) SetBranchesURL(s string)
SetBranchesURL sets the "branches_url" field.
func (*RepositoryMutation) SetCloneURL ¶
func (m *RepositoryMutation) SetCloneURL(s string)
SetCloneURL sets the "clone_url" field.
func (*RepositoryMutation) SetCollaboratorsURL ¶
func (m *RepositoryMutation) SetCollaboratorsURL(s string)
SetCollaboratorsURL sets the "collaborators_url" field.
func (*RepositoryMutation) SetCommentsURL ¶
func (m *RepositoryMutation) SetCommentsURL(s string)
SetCommentsURL sets the "comments_url" field.
func (*RepositoryMutation) SetCommitsURL ¶
func (m *RepositoryMutation) SetCommitsURL(s string)
SetCommitsURL sets the "commits_url" field.
func (*RepositoryMutation) SetCompareURL ¶
func (m *RepositoryMutation) SetCompareURL(s string)
SetCompareURL sets the "compare_url" field.
func (*RepositoryMutation) SetContentsURL ¶
func (m *RepositoryMutation) SetContentsURL(s string)
SetContentsURL sets the "contents_url" field.
func (*RepositoryMutation) SetContributorsURL ¶
func (m *RepositoryMutation) SetContributorsURL(s string)
SetContributorsURL sets the "contributors_url" field.
func (*RepositoryMutation) SetCreatedAt ¶
func (m *RepositoryMutation) SetCreatedAt(t time.Time)
SetCreatedAt sets the "created_at" field.
func (*RepositoryMutation) SetDefaultBranch ¶
func (m *RepositoryMutation) SetDefaultBranch(s string)
SetDefaultBranch sets the "default_branch" field.
func (*RepositoryMutation) SetDeploymentsURL ¶
func (m *RepositoryMutation) SetDeploymentsURL(s string)
SetDeploymentsURL sets the "deployments_url" field.
func (*RepositoryMutation) SetDescription ¶
func (m *RepositoryMutation) SetDescription(s string)
SetDescription sets the "description" field.
func (*RepositoryMutation) SetDisabled ¶
func (m *RepositoryMutation) SetDisabled(b bool)
SetDisabled sets the "disabled" field.
func (*RepositoryMutation) SetDownloadsURL ¶
func (m *RepositoryMutation) SetDownloadsURL(s string)
SetDownloadsURL sets the "downloads_url" field.
func (*RepositoryMutation) SetEventsURL ¶
func (m *RepositoryMutation) SetEventsURL(s string)
SetEventsURL sets the "events_url" field.
func (*RepositoryMutation) SetField ¶
func (m *RepositoryMutation) SetField(name string, value ent.Value) error
SetField sets the value of a field with the given name. It returns an error if the field is not defined in the schema, or if the type mismatched the field type.
func (*RepositoryMutation) SetFork ¶
func (m *RepositoryMutation) SetFork(b bool)
SetFork sets the "fork" field.
func (*RepositoryMutation) SetForks ¶
func (m *RepositoryMutation) SetForks(i int64)
SetForks sets the "forks" field.
func (*RepositoryMutation) SetForksCount ¶
func (m *RepositoryMutation) SetForksCount(i int64)
SetForksCount sets the "forks_count" field.
func (*RepositoryMutation) SetForksURL ¶
func (m *RepositoryMutation) SetForksURL(s string)
SetForksURL sets the "forks_url" field.
func (*RepositoryMutation) SetFullName ¶
func (m *RepositoryMutation) SetFullName(s string)
SetFullName sets the "full_name" field.
func (*RepositoryMutation) SetGitCommitsURL ¶
func (m *RepositoryMutation) SetGitCommitsURL(s string)
SetGitCommitsURL sets the "git_commits_url" field.
func (*RepositoryMutation) SetGitRefsURL ¶
func (m *RepositoryMutation) SetGitRefsURL(s string)
SetGitRefsURL sets the "git_refs_url" field.
func (*RepositoryMutation) SetGitTagsURL ¶
func (m *RepositoryMutation) SetGitTagsURL(s string)
SetGitTagsURL sets the "git_tags_url" field.
func (*RepositoryMutation) SetGitURL ¶
func (m *RepositoryMutation) SetGitURL(s string)
SetGitURL sets the "git_url" field.
func (*RepositoryMutation) SetHTMLURL ¶
func (m *RepositoryMutation) SetHTMLURL(s string)
SetHTMLURL sets the "html_url" field.
func (*RepositoryMutation) SetHasDiscussions ¶
func (m *RepositoryMutation) SetHasDiscussions(b bool)
SetHasDiscussions sets the "has_discussions" field.
func (*RepositoryMutation) SetHasDownloads ¶
func (m *RepositoryMutation) SetHasDownloads(b bool)
SetHasDownloads sets the "has_downloads" field.
func (*RepositoryMutation) SetHasIssuesEnabled ¶
func (m *RepositoryMutation) SetHasIssuesEnabled(b bool)
SetHasIssuesEnabled sets the "has_issues_enabled" field.
func (*RepositoryMutation) SetHasPages ¶
func (m *RepositoryMutation) SetHasPages(b bool)
SetHasPages sets the "has_pages" field.
func (*RepositoryMutation) SetHasProjects ¶
func (m *RepositoryMutation) SetHasProjects(b bool)
SetHasProjects sets the "has_projects" field.
func (*RepositoryMutation) SetHasWiki ¶
func (m *RepositoryMutation) SetHasWiki(b bool)
SetHasWiki sets the "has_wiki" field.
func (*RepositoryMutation) SetHomepage ¶
func (m *RepositoryMutation) SetHomepage(s string)
SetHomepage sets the "homepage" field.
func (*RepositoryMutation) SetHooksURL ¶
func (m *RepositoryMutation) SetHooksURL(s string)
SetHooksURL sets the "hooks_url" field.
func (*RepositoryMutation) SetID ¶
func (m *RepositoryMutation) SetID(id int64)
SetID sets the value of the id field. Note that this operation is only accepted on creation of Repository entities.
func (*RepositoryMutation) SetIsTemplate ¶
func (m *RepositoryMutation) SetIsTemplate(b bool)
SetIsTemplate sets the "is_template" field.
func (*RepositoryMutation) SetIssueCommentURL ¶
func (m *RepositoryMutation) SetIssueCommentURL(s string)
SetIssueCommentURL sets the "issue_comment_url" field.
func (*RepositoryMutation) SetIssueEventsURL ¶
func (m *RepositoryMutation) SetIssueEventsURL(s string)
SetIssueEventsURL sets the "issue_events_url" field.
func (*RepositoryMutation) SetIssuesURL ¶
func (m *RepositoryMutation) SetIssuesURL(s string)
SetIssuesURL sets the "issues_url" field.
func (*RepositoryMutation) SetKeysURL ¶
func (m *RepositoryMutation) SetKeysURL(s string)
SetKeysURL sets the "keys_url" field.
func (*RepositoryMutation) SetLabelsURL ¶
func (m *RepositoryMutation) SetLabelsURL(s string)
SetLabelsURL sets the "labels_url" field.
func (*RepositoryMutation) SetLanguage ¶
func (m *RepositoryMutation) SetLanguage(s string)
SetLanguage sets the "language" field.
func (*RepositoryMutation) SetLanguagesURL ¶
func (m *RepositoryMutation) SetLanguagesURL(s string)
SetLanguagesURL sets the "languages_url" field.
func (*RepositoryMutation) SetLicense ¶
func (m *RepositoryMutation) SetLicense(value *model.License)
SetLicense sets the "license" field.
func (*RepositoryMutation) SetMergesURL ¶
func (m *RepositoryMutation) SetMergesURL(s string)
SetMergesURL sets the "merges_url" field.
func (*RepositoryMutation) SetMilestonesURL ¶
func (m *RepositoryMutation) SetMilestonesURL(s string)
SetMilestonesURL sets the "milestones_url" field.
func (*RepositoryMutation) SetMirrorURL ¶
func (m *RepositoryMutation) SetMirrorURL(s string)
SetMirrorURL sets the "mirror_url" field.
func (*RepositoryMutation) SetName ¶
func (m *RepositoryMutation) SetName(s string)
SetName sets the "name" field.
func (*RepositoryMutation) SetNetworkCount ¶
func (m *RepositoryMutation) SetNetworkCount(i int64)
SetNetworkCount sets the "network_count" field.
func (*RepositoryMutation) SetNodeID ¶
func (m *RepositoryMutation) SetNodeID(s string)
SetNodeID sets the "node_id" field.
func (*RepositoryMutation) SetNotificationsURL ¶
func (m *RepositoryMutation) SetNotificationsURL(s string)
SetNotificationsURL sets the "notifications_url" field.
func (*RepositoryMutation) SetOp ¶
func (m *RepositoryMutation) SetOp(op Op)
SetOp allows setting the mutation operation.
func (*RepositoryMutation) SetOpenIssues ¶
func (m *RepositoryMutation) SetOpenIssues(i int64)
SetOpenIssues sets the "open_issues" field.
func (*RepositoryMutation) SetOpenIssuesCount ¶
func (m *RepositoryMutation) SetOpenIssuesCount(i int64)
SetOpenIssuesCount sets the "open_issues_count" field.
func (*RepositoryMutation) SetOwnerID ¶
func (m *RepositoryMutation) SetOwnerID(id int64)
SetOwnerID sets the "owner" edge to the User entity by id.
func (*RepositoryMutation) SetPrivate ¶
func (m *RepositoryMutation) SetPrivate(b bool)
SetPrivate sets the "private" field.
func (*RepositoryMutation) SetPullsURL ¶
func (m *RepositoryMutation) SetPullsURL(s string)
SetPullsURL sets the "pulls_url" field.
func (*RepositoryMutation) SetPushedAt ¶
func (m *RepositoryMutation) SetPushedAt(t time.Time)
SetPushedAt sets the "pushed_at" field.
func (*RepositoryMutation) SetReleasesURL ¶
func (m *RepositoryMutation) SetReleasesURL(s string)
SetReleasesURL sets the "releases_url" field.
func (*RepositoryMutation) SetSSHURL ¶
func (m *RepositoryMutation) SetSSHURL(s string)
SetSSHURL sets the "ssh_url" field.
func (*RepositoryMutation) SetSize ¶
func (m *RepositoryMutation) SetSize(i int64)
SetSize sets the "size" field.
func (*RepositoryMutation) SetStargazersCount ¶
func (m *RepositoryMutation) SetStargazersCount(i int64)
SetStargazersCount sets the "stargazers_count" field.
func (*RepositoryMutation) SetStargazersURL ¶
func (m *RepositoryMutation) SetStargazersURL(s string)
SetStargazersURL sets the "stargazers_url" field.
func (*RepositoryMutation) SetStatusesURL ¶
func (m *RepositoryMutation) SetStatusesURL(s string)
SetStatusesURL sets the "statuses_url" field.
func (*RepositoryMutation) SetSubscribersCount ¶
func (m *RepositoryMutation) SetSubscribersCount(i int64)
SetSubscribersCount sets the "subscribers_count" field.
func (*RepositoryMutation) SetSubscribersURL ¶
func (m *RepositoryMutation) SetSubscribersURL(s string)
SetSubscribersURL sets the "subscribers_url" field.
func (*RepositoryMutation) SetSubscriptionURL ¶
func (m *RepositoryMutation) SetSubscriptionURL(s string)
SetSubscriptionURL sets the "subscription_url" field.
func (*RepositoryMutation) SetSvnURL ¶
func (m *RepositoryMutation) SetSvnURL(s string)
SetSvnURL sets the "svn_url" field.
func (*RepositoryMutation) SetTagsURL ¶
func (m *RepositoryMutation) SetTagsURL(s string)
SetTagsURL sets the "tags_url" field.
func (*RepositoryMutation) SetTeamsURL ¶
func (m *RepositoryMutation) SetTeamsURL(s string)
SetTeamsURL sets the "teams_url" field.
func (*RepositoryMutation) SetTopics ¶
func (m *RepositoryMutation) SetTopics(s []string)
SetTopics sets the "topics" field.
func (*RepositoryMutation) SetTreesURL ¶
func (m *RepositoryMutation) SetTreesURL(s string)
SetTreesURL sets the "trees_url" field.
func (*RepositoryMutation) SetURL ¶
func (m *RepositoryMutation) SetURL(s string)
SetURL sets the "url" field.
func (*RepositoryMutation) SetUpdatedAt ¶
func (m *RepositoryMutation) SetUpdatedAt(t time.Time)
SetUpdatedAt sets the "updated_at" field.
func (*RepositoryMutation) SetVisibility ¶
func (m *RepositoryMutation) SetVisibility(r repository.Visibility)
SetVisibility sets the "visibility" field.
func (*RepositoryMutation) SetWatchers ¶
func (m *RepositoryMutation) SetWatchers(i int64)
SetWatchers sets the "watchers" field.
func (*RepositoryMutation) SetWatchersCount ¶
func (m *RepositoryMutation) SetWatchersCount(i int64)
SetWatchersCount sets the "watchers_count" field.
func (*RepositoryMutation) Size ¶
func (m *RepositoryMutation) Size() (r int64, exists bool)
Size returns the value of the "size" field in the mutation.
func (*RepositoryMutation) StargazersCount ¶
func (m *RepositoryMutation) StargazersCount() (r int64, exists bool)
StargazersCount returns the value of the "stargazers_count" field in the mutation.
func (*RepositoryMutation) StargazersURL ¶
func (m *RepositoryMutation) StargazersURL() (r string, exists bool)
StargazersURL returns the value of the "stargazers_url" field in the mutation.
func (*RepositoryMutation) StatusesURL ¶
func (m *RepositoryMutation) StatusesURL() (r string, exists bool)
StatusesURL returns the value of the "statuses_url" field in the mutation.
func (*RepositoryMutation) SubscribersCount ¶
func (m *RepositoryMutation) SubscribersCount() (r int64, exists bool)
SubscribersCount returns the value of the "subscribers_count" field in the mutation.
func (*RepositoryMutation) SubscribersURL ¶
func (m *RepositoryMutation) SubscribersURL() (r string, exists bool)
SubscribersURL returns the value of the "subscribers_url" field in the mutation.
func (*RepositoryMutation) SubscriptionURL ¶
func (m *RepositoryMutation) SubscriptionURL() (r string, exists bool)
SubscriptionURL returns the value of the "subscription_url" field in the mutation.
func (*RepositoryMutation) SvnURL ¶
func (m *RepositoryMutation) SvnURL() (r string, exists bool)
SvnURL returns the value of the "svn_url" field in the mutation.
func (*RepositoryMutation) TagsURL ¶
func (m *RepositoryMutation) TagsURL() (r string, exists bool)
TagsURL returns the value of the "tags_url" field in the mutation.
func (*RepositoryMutation) TeamsURL ¶
func (m *RepositoryMutation) TeamsURL() (r string, exists bool)
TeamsURL returns the value of the "teams_url" field in the mutation.
func (*RepositoryMutation) Topics ¶
func (m *RepositoryMutation) Topics() (r []string, exists bool)
Topics returns the value of the "topics" field in the mutation.
func (*RepositoryMutation) TreesURL ¶
func (m *RepositoryMutation) TreesURL() (r string, exists bool)
TreesURL returns the value of the "trees_url" field in the mutation.
func (RepositoryMutation) Tx ¶
func (m RepositoryMutation) Tx() (*Tx, error)
Tx returns an `ent.Tx` for mutations that were executed in transactions; it returns an error otherwise.
func (*RepositoryMutation) Type ¶
func (m *RepositoryMutation) Type() string
Type returns the node type of this mutation (Repository).
func (*RepositoryMutation) URL ¶
func (m *RepositoryMutation) URL() (r string, exists bool)
URL returns the value of the "url" field in the mutation.
func (*RepositoryMutation) UpdatedAt ¶
func (m *RepositoryMutation) UpdatedAt() (r time.Time, exists bool)
UpdatedAt returns the value of the "updated_at" field in the mutation.
func (*RepositoryMutation) Visibility ¶
func (m *RepositoryMutation) Visibility() (r repository.Visibility, exists bool)
Visibility returns the value of the "visibility" field in the mutation.
func (*RepositoryMutation) VisibilityCleared ¶
func (m *RepositoryMutation) VisibilityCleared() bool
VisibilityCleared returns if the "visibility" field was cleared in this mutation.
func (*RepositoryMutation) Watchers ¶
func (m *RepositoryMutation) Watchers() (r int64, exists bool)
Watchers returns the value of the "watchers" field in the mutation.
func (*RepositoryMutation) WatchersCount ¶
func (m *RepositoryMutation) WatchersCount() (r int64, exists bool)
WatchersCount returns the value of the "watchers_count" field in the mutation.
func (*RepositoryMutation) Where ¶
func (m *RepositoryMutation) Where(ps ...predicate.Repository)
Where appends a list predicates to the RepositoryMutation builder.
func (*RepositoryMutation) WhereP ¶
func (m *RepositoryMutation) WhereP(ps ...func(*sql.Selector))
WhereP appends storage-level predicates to the RepositoryMutation builder. Using this method, users can use type-assertion to append predicates that do not depend on any generated package.
type RepositoryQuery ¶
type RepositoryQuery struct {
// contains filtered or unexported fields
}
RepositoryQuery is the builder for querying Repository entities.
func (*RepositoryQuery) Aggregate ¶
func (rq *RepositoryQuery) Aggregate(fns ...AggregateFunc) *RepositorySelect
Aggregate returns a RepositorySelect configured with the given aggregations.
func (*RepositoryQuery) All ¶
func (rq *RepositoryQuery) All(ctx context.Context) ([]*Repository, error)
All executes the query and returns a list of Repositories.
func (*RepositoryQuery) AllX ¶
func (rq *RepositoryQuery) AllX(ctx context.Context) []*Repository
AllX is like All, but panics if an error occurs.
func (*RepositoryQuery) Clone ¶
func (rq *RepositoryQuery) Clone() *RepositoryQuery
Clone returns a duplicate of the RepositoryQuery builder, including all associated steps. It can be used to prepare common query builders and use them differently after the clone is made.
func (*RepositoryQuery) Count ¶
func (rq *RepositoryQuery) Count(ctx context.Context) (int, error)
Count returns the count of the given query.
func (*RepositoryQuery) CountX ¶
func (rq *RepositoryQuery) CountX(ctx context.Context) int
CountX is like Count, but panics if an error occurs.
func (*RepositoryQuery) Exist ¶
func (rq *RepositoryQuery) Exist(ctx context.Context) (bool, error)
Exist returns true if the query has elements in the graph.
func (*RepositoryQuery) ExistX ¶
func (rq *RepositoryQuery) ExistX(ctx context.Context) bool
ExistX is like Exist, but panics if an error occurs.
func (*RepositoryQuery) First ¶
func (rq *RepositoryQuery) First(ctx context.Context) (*Repository, error)
First returns the first Repository entity from the query. Returns a *NotFoundError when no Repository was found.
func (*RepositoryQuery) FirstID ¶
func (rq *RepositoryQuery) FirstID(ctx context.Context) (id int64, err error)
FirstID returns the first Repository ID from the query. Returns a *NotFoundError when no Repository ID was found.
func (*RepositoryQuery) FirstIDX ¶
func (rq *RepositoryQuery) FirstIDX(ctx context.Context) int64
FirstIDX is like FirstID, but panics if an error occurs.
func (*RepositoryQuery) FirstX ¶
func (rq *RepositoryQuery) FirstX(ctx context.Context) *Repository
FirstX is like First, but panics if an error occurs.
func (*RepositoryQuery) GroupBy ¶
func (rq *RepositoryQuery) GroupBy(field string, fields ...string) *RepositoryGroupBy
GroupBy is used to group vertices by one or more fields/columns. It is often used with aggregate functions, like: count, max, mean, min, sum.
Example:
var v []struct { NodeID string `json:"node_id"` Count int `json:"count,omitempty"` } client.Repository.Query(). GroupBy(repository.FieldNodeID). Aggregate(ent.Count()). Scan(ctx, &v)
func (*RepositoryQuery) IDs ¶
func (rq *RepositoryQuery) IDs(ctx context.Context) (ids []int64, err error)
IDs executes the query and returns a list of Repository IDs.
func (*RepositoryQuery) IDsX ¶
func (rq *RepositoryQuery) IDsX(ctx context.Context) []int64
IDsX is like IDs, but panics if an error occurs.
func (*RepositoryQuery) Limit ¶
func (rq *RepositoryQuery) Limit(limit int) *RepositoryQuery
Limit the number of records to be returned by this query.
func (*RepositoryQuery) Offset ¶
func (rq *RepositoryQuery) Offset(offset int) *RepositoryQuery
Offset to start from.
func (*RepositoryQuery) Only ¶
func (rq *RepositoryQuery) Only(ctx context.Context) (*Repository, error)
Only returns a single Repository entity found by the query, ensuring it only returns one. Returns a *NotSingularError when more than one Repository entity is found. Returns a *NotFoundError when no Repository entities are found.
func (*RepositoryQuery) OnlyID ¶
func (rq *RepositoryQuery) OnlyID(ctx context.Context) (id int64, err error)
OnlyID is like Only, but returns the only Repository ID in the query. Returns a *NotSingularError when more than one Repository ID is found. Returns a *NotFoundError when no entities are found.
func (*RepositoryQuery) OnlyIDX ¶
func (rq *RepositoryQuery) OnlyIDX(ctx context.Context) int64
OnlyIDX is like OnlyID, but panics if an error occurs.
func (*RepositoryQuery) OnlyX ¶
func (rq *RepositoryQuery) OnlyX(ctx context.Context) *Repository
OnlyX is like Only, but panics if an error occurs.
func (*RepositoryQuery) Order ¶
func (rq *RepositoryQuery) Order(o ...repository.OrderOption) *RepositoryQuery
Order specifies how the records should be ordered.
func (*RepositoryQuery) QueryIssues ¶
func (rq *RepositoryQuery) QueryIssues() *IssueQuery
QueryIssues chains the current query on the "issues" edge.
func (*RepositoryQuery) QueryOwner ¶
func (rq *RepositoryQuery) QueryOwner() *UserQuery
QueryOwner chains the current query on the "owner" edge.
func (*RepositoryQuery) Select ¶
func (rq *RepositoryQuery) Select(fields ...string) *RepositorySelect
Select allows the selection one or more fields/columns for the given query, instead of selecting all fields in the entity.
Example:
var v []struct { NodeID string `json:"node_id"` } client.Repository.Query(). Select(repository.FieldNodeID). Scan(ctx, &v)
func (*RepositoryQuery) Unique ¶
func (rq *RepositoryQuery) Unique(unique bool) *RepositoryQuery
Unique configures the query builder to filter duplicate records on query. By default, unique is set to true, and can be disabled using this method.
func (*RepositoryQuery) Where ¶
func (rq *RepositoryQuery) Where(ps ...predicate.Repository) *RepositoryQuery
Where adds a new predicate for the RepositoryQuery builder.
func (*RepositoryQuery) WithIssues ¶
func (rq *RepositoryQuery) WithIssues(opts ...func(*IssueQuery)) *RepositoryQuery
WithIssues tells the query-builder to eager-load the nodes that are connected to the "issues" edge. The optional arguments are used to configure the query builder of the edge.
func (*RepositoryQuery) WithOwner ¶
func (rq *RepositoryQuery) WithOwner(opts ...func(*UserQuery)) *RepositoryQuery
WithOwner tells the query-builder to eager-load the nodes that are connected to the "owner" edge. The optional arguments are used to configure the query builder of the edge.
type RepositorySelect ¶
type RepositorySelect struct { *RepositoryQuery // contains filtered or unexported fields }
RepositorySelect is the builder for selecting fields of Repository entities.
func (*RepositorySelect) Aggregate ¶
func (rs *RepositorySelect) Aggregate(fns ...AggregateFunc) *RepositorySelect
Aggregate adds the given aggregation functions to the selector query.
func (*RepositorySelect) Bool ¶
Bool returns a single bool from a selector. It is only allowed when selecting one field.
func (*RepositorySelect) Bools ¶
Bools returns list of bools from a selector. It is only allowed when selecting one field.
func (*RepositorySelect) Float64 ¶
Float64 returns a single float64 from a selector. It is only allowed when selecting one field.
func (*RepositorySelect) Float64s ¶
Float64s returns list of float64s from a selector. It is only allowed when selecting one field.
func (*RepositorySelect) Int ¶
Int returns a single int from a selector. It is only allowed when selecting one field.
func (*RepositorySelect) Ints ¶
Ints returns list of ints from a selector. It is only allowed when selecting one field.
func (*RepositorySelect) Scan ¶
func (rs *RepositorySelect) Scan(ctx context.Context, v any) error
Scan applies the selector query and scans the result into the given value.
func (*RepositorySelect) String ¶
String returns a single string from a selector. It is only allowed when selecting one field.
type RepositoryUpdate ¶
type RepositoryUpdate struct {
// contains filtered or unexported fields
}
RepositoryUpdate is the builder for updating Repository entities.
func (*RepositoryUpdate) AddForks ¶
func (ru *RepositoryUpdate) AddForks(i int64) *RepositoryUpdate
AddForks adds i to the "forks" field.
func (*RepositoryUpdate) AddForksCount ¶
func (ru *RepositoryUpdate) AddForksCount(i int64) *RepositoryUpdate
AddForksCount adds i to the "forks_count" field.
func (*RepositoryUpdate) AddIssueIDs ¶
func (ru *RepositoryUpdate) AddIssueIDs(ids ...int64) *RepositoryUpdate
AddIssueIDs adds the "issues" edge to the Issue entity by IDs.
func (*RepositoryUpdate) AddIssues ¶
func (ru *RepositoryUpdate) AddIssues(i ...*Issue) *RepositoryUpdate
AddIssues adds the "issues" edges to the Issue entity.
func (*RepositoryUpdate) AddNetworkCount ¶
func (ru *RepositoryUpdate) AddNetworkCount(i int64) *RepositoryUpdate
AddNetworkCount adds i to the "network_count" field.
func (*RepositoryUpdate) AddOpenIssues ¶
func (ru *RepositoryUpdate) AddOpenIssues(i int64) *RepositoryUpdate
AddOpenIssues adds i to the "open_issues" field.
func (*RepositoryUpdate) AddOpenIssuesCount ¶
func (ru *RepositoryUpdate) AddOpenIssuesCount(i int64) *RepositoryUpdate
AddOpenIssuesCount adds i to the "open_issues_count" field.
func (*RepositoryUpdate) AddSize ¶
func (ru *RepositoryUpdate) AddSize(i int64) *RepositoryUpdate
AddSize adds i to the "size" field.
func (*RepositoryUpdate) AddStargazersCount ¶
func (ru *RepositoryUpdate) AddStargazersCount(i int64) *RepositoryUpdate
AddStargazersCount adds i to the "stargazers_count" field.
func (*RepositoryUpdate) AddSubscribersCount ¶
func (ru *RepositoryUpdate) AddSubscribersCount(i int64) *RepositoryUpdate
AddSubscribersCount adds i to the "subscribers_count" field.
func (*RepositoryUpdate) AddWatchers ¶
func (ru *RepositoryUpdate) AddWatchers(i int64) *RepositoryUpdate
AddWatchers adds i to the "watchers" field.
func (*RepositoryUpdate) AddWatchersCount ¶
func (ru *RepositoryUpdate) AddWatchersCount(i int64) *RepositoryUpdate
AddWatchersCount adds i to the "watchers_count" field.
func (*RepositoryUpdate) AppendTopics ¶
func (ru *RepositoryUpdate) AppendTopics(s []string) *RepositoryUpdate
AppendTopics appends s to the "topics" field.
func (*RepositoryUpdate) ClearDescription ¶
func (ru *RepositoryUpdate) ClearDescription() *RepositoryUpdate
ClearDescription clears the value of the "description" field.
func (*RepositoryUpdate) ClearHomepage ¶
func (ru *RepositoryUpdate) ClearHomepage() *RepositoryUpdate
ClearHomepage clears the value of the "homepage" field.
func (*RepositoryUpdate) ClearIssues ¶
func (ru *RepositoryUpdate) ClearIssues() *RepositoryUpdate
ClearIssues clears all "issues" edges to the Issue entity.
func (*RepositoryUpdate) ClearLanguage ¶
func (ru *RepositoryUpdate) ClearLanguage() *RepositoryUpdate
ClearLanguage clears the value of the "language" field.
func (*RepositoryUpdate) ClearLicense ¶
func (ru *RepositoryUpdate) ClearLicense() *RepositoryUpdate
ClearLicense clears the value of the "license" field.
func (*RepositoryUpdate) ClearMirrorURL ¶
func (ru *RepositoryUpdate) ClearMirrorURL() *RepositoryUpdate
ClearMirrorURL clears the value of the "mirror_url" field.
func (*RepositoryUpdate) ClearOwner ¶
func (ru *RepositoryUpdate) ClearOwner() *RepositoryUpdate
ClearOwner clears the "owner" edge to the User entity.
func (*RepositoryUpdate) ClearVisibility ¶
func (ru *RepositoryUpdate) ClearVisibility() *RepositoryUpdate
ClearVisibility clears the value of the "visibility" field.
func (*RepositoryUpdate) Exec ¶
func (ru *RepositoryUpdate) Exec(ctx context.Context) error
Exec executes the query.
func (*RepositoryUpdate) ExecX ¶
func (ru *RepositoryUpdate) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*RepositoryUpdate) Mutation ¶
func (ru *RepositoryUpdate) Mutation() *RepositoryMutation
Mutation returns the RepositoryMutation object of the builder.
func (*RepositoryUpdate) RemoveIssueIDs ¶
func (ru *RepositoryUpdate) RemoveIssueIDs(ids ...int64) *RepositoryUpdate
RemoveIssueIDs removes the "issues" edge to Issue entities by IDs.
func (*RepositoryUpdate) RemoveIssues ¶
func (ru *RepositoryUpdate) RemoveIssues(i ...*Issue) *RepositoryUpdate
RemoveIssues removes "issues" edges to Issue entities.
func (*RepositoryUpdate) Save ¶
func (ru *RepositoryUpdate) Save(ctx context.Context) (int, error)
Save executes the query and returns the number of nodes affected by the update operation.
func (*RepositoryUpdate) SaveX ¶
func (ru *RepositoryUpdate) SaveX(ctx context.Context) int
SaveX is like Save, but panics if an error occurs.
func (*RepositoryUpdate) SetArchiveURL ¶
func (ru *RepositoryUpdate) SetArchiveURL(s string) *RepositoryUpdate
SetArchiveURL sets the "archive_url" field.
func (*RepositoryUpdate) SetArchived ¶
func (ru *RepositoryUpdate) SetArchived(b bool) *RepositoryUpdate
SetArchived sets the "archived" field.
func (*RepositoryUpdate) SetAssigneesURL ¶
func (ru *RepositoryUpdate) SetAssigneesURL(s string) *RepositoryUpdate
SetAssigneesURL sets the "assignees_url" field.
func (*RepositoryUpdate) SetBlobsURL ¶
func (ru *RepositoryUpdate) SetBlobsURL(s string) *RepositoryUpdate
SetBlobsURL sets the "blobs_url" field.
func (*RepositoryUpdate) SetBranchesURL ¶
func (ru *RepositoryUpdate) SetBranchesURL(s string) *RepositoryUpdate
SetBranchesURL sets the "branches_url" field.
func (*RepositoryUpdate) SetCloneURL ¶
func (ru *RepositoryUpdate) SetCloneURL(s string) *RepositoryUpdate
SetCloneURL sets the "clone_url" field.
func (*RepositoryUpdate) SetCollaboratorsURL ¶
func (ru *RepositoryUpdate) SetCollaboratorsURL(s string) *RepositoryUpdate
SetCollaboratorsURL sets the "collaborators_url" field.
func (*RepositoryUpdate) SetCommentsURL ¶
func (ru *RepositoryUpdate) SetCommentsURL(s string) *RepositoryUpdate
SetCommentsURL sets the "comments_url" field.
func (*RepositoryUpdate) SetCommitsURL ¶
func (ru *RepositoryUpdate) SetCommitsURL(s string) *RepositoryUpdate
SetCommitsURL sets the "commits_url" field.
func (*RepositoryUpdate) SetCompareURL ¶
func (ru *RepositoryUpdate) SetCompareURL(s string) *RepositoryUpdate
SetCompareURL sets the "compare_url" field.
func (*RepositoryUpdate) SetContentsURL ¶
func (ru *RepositoryUpdate) SetContentsURL(s string) *RepositoryUpdate
SetContentsURL sets the "contents_url" field.
func (*RepositoryUpdate) SetContributorsURL ¶
func (ru *RepositoryUpdate) SetContributorsURL(s string) *RepositoryUpdate
SetContributorsURL sets the "contributors_url" field.
func (*RepositoryUpdate) SetCreatedAt ¶
func (ru *RepositoryUpdate) SetCreatedAt(t time.Time) *RepositoryUpdate
SetCreatedAt sets the "created_at" field.
func (*RepositoryUpdate) SetDefaultBranch ¶
func (ru *RepositoryUpdate) SetDefaultBranch(s string) *RepositoryUpdate
SetDefaultBranch sets the "default_branch" field.
func (*RepositoryUpdate) SetDeploymentsURL ¶
func (ru *RepositoryUpdate) SetDeploymentsURL(s string) *RepositoryUpdate
SetDeploymentsURL sets the "deployments_url" field.
func (*RepositoryUpdate) SetDescription ¶
func (ru *RepositoryUpdate) SetDescription(s string) *RepositoryUpdate
SetDescription sets the "description" field.
func (*RepositoryUpdate) SetDisabled ¶
func (ru *RepositoryUpdate) SetDisabled(b bool) *RepositoryUpdate
SetDisabled sets the "disabled" field.
func (*RepositoryUpdate) SetDownloadsURL ¶
func (ru *RepositoryUpdate) SetDownloadsURL(s string) *RepositoryUpdate
SetDownloadsURL sets the "downloads_url" field.
func (*RepositoryUpdate) SetEventsURL ¶
func (ru *RepositoryUpdate) SetEventsURL(s string) *RepositoryUpdate
SetEventsURL sets the "events_url" field.
func (*RepositoryUpdate) SetFork ¶
func (ru *RepositoryUpdate) SetFork(b bool) *RepositoryUpdate
SetFork sets the "fork" field.
func (*RepositoryUpdate) SetForks ¶
func (ru *RepositoryUpdate) SetForks(i int64) *RepositoryUpdate
SetForks sets the "forks" field.
func (*RepositoryUpdate) SetForksCount ¶
func (ru *RepositoryUpdate) SetForksCount(i int64) *RepositoryUpdate
SetForksCount sets the "forks_count" field.
func (*RepositoryUpdate) SetForksURL ¶
func (ru *RepositoryUpdate) SetForksURL(s string) *RepositoryUpdate
SetForksURL sets the "forks_url" field.
func (*RepositoryUpdate) SetFullName ¶
func (ru *RepositoryUpdate) SetFullName(s string) *RepositoryUpdate
SetFullName sets the "full_name" field.
func (*RepositoryUpdate) SetGitCommitsURL ¶
func (ru *RepositoryUpdate) SetGitCommitsURL(s string) *RepositoryUpdate
SetGitCommitsURL sets the "git_commits_url" field.
func (*RepositoryUpdate) SetGitRefsURL ¶
func (ru *RepositoryUpdate) SetGitRefsURL(s string) *RepositoryUpdate
SetGitRefsURL sets the "git_refs_url" field.
func (*RepositoryUpdate) SetGitTagsURL ¶
func (ru *RepositoryUpdate) SetGitTagsURL(s string) *RepositoryUpdate
SetGitTagsURL sets the "git_tags_url" field.
func (*RepositoryUpdate) SetGitURL ¶
func (ru *RepositoryUpdate) SetGitURL(s string) *RepositoryUpdate
SetGitURL sets the "git_url" field.
func (*RepositoryUpdate) SetHTMLURL ¶
func (ru *RepositoryUpdate) SetHTMLURL(s string) *RepositoryUpdate
SetHTMLURL sets the "html_url" field.
func (*RepositoryUpdate) SetHasDiscussions ¶
func (ru *RepositoryUpdate) SetHasDiscussions(b bool) *RepositoryUpdate
SetHasDiscussions sets the "has_discussions" field.
func (*RepositoryUpdate) SetHasDownloads ¶
func (ru *RepositoryUpdate) SetHasDownloads(b bool) *RepositoryUpdate
SetHasDownloads sets the "has_downloads" field.
func (*RepositoryUpdate) SetHasIssuesEnabled ¶
func (ru *RepositoryUpdate) SetHasIssuesEnabled(b bool) *RepositoryUpdate
SetHasIssuesEnabled sets the "has_issues_enabled" field.
func (*RepositoryUpdate) SetHasPages ¶
func (ru *RepositoryUpdate) SetHasPages(b bool) *RepositoryUpdate
SetHasPages sets the "has_pages" field.
func (*RepositoryUpdate) SetHasProjects ¶
func (ru *RepositoryUpdate) SetHasProjects(b bool) *RepositoryUpdate
SetHasProjects sets the "has_projects" field.
func (*RepositoryUpdate) SetHasWiki ¶
func (ru *RepositoryUpdate) SetHasWiki(b bool) *RepositoryUpdate
SetHasWiki sets the "has_wiki" field.
func (*RepositoryUpdate) SetHomepage ¶
func (ru *RepositoryUpdate) SetHomepage(s string) *RepositoryUpdate
SetHomepage sets the "homepage" field.
func (*RepositoryUpdate) SetHooksURL ¶
func (ru *RepositoryUpdate) SetHooksURL(s string) *RepositoryUpdate
SetHooksURL sets the "hooks_url" field.
func (*RepositoryUpdate) SetIsTemplate ¶
func (ru *RepositoryUpdate) SetIsTemplate(b bool) *RepositoryUpdate
SetIsTemplate sets the "is_template" field.
func (*RepositoryUpdate) SetIssueCommentURL ¶
func (ru *RepositoryUpdate) SetIssueCommentURL(s string) *RepositoryUpdate
SetIssueCommentURL sets the "issue_comment_url" field.
func (*RepositoryUpdate) SetIssueEventsURL ¶
func (ru *RepositoryUpdate) SetIssueEventsURL(s string) *RepositoryUpdate
SetIssueEventsURL sets the "issue_events_url" field.
func (*RepositoryUpdate) SetIssuesURL ¶
func (ru *RepositoryUpdate) SetIssuesURL(s string) *RepositoryUpdate
SetIssuesURL sets the "issues_url" field.
func (*RepositoryUpdate) SetKeysURL ¶
func (ru *RepositoryUpdate) SetKeysURL(s string) *RepositoryUpdate
SetKeysURL sets the "keys_url" field.
func (*RepositoryUpdate) SetLabelsURL ¶
func (ru *RepositoryUpdate) SetLabelsURL(s string) *RepositoryUpdate
SetLabelsURL sets the "labels_url" field.
func (*RepositoryUpdate) SetLanguage ¶
func (ru *RepositoryUpdate) SetLanguage(s string) *RepositoryUpdate
SetLanguage sets the "language" field.
func (*RepositoryUpdate) SetLanguagesURL ¶
func (ru *RepositoryUpdate) SetLanguagesURL(s string) *RepositoryUpdate
SetLanguagesURL sets the "languages_url" field.
func (*RepositoryUpdate) SetLicense ¶
func (ru *RepositoryUpdate) SetLicense(m *model.License) *RepositoryUpdate
SetLicense sets the "license" field.
func (*RepositoryUpdate) SetMergesURL ¶
func (ru *RepositoryUpdate) SetMergesURL(s string) *RepositoryUpdate
SetMergesURL sets the "merges_url" field.
func (*RepositoryUpdate) SetMilestonesURL ¶
func (ru *RepositoryUpdate) SetMilestonesURL(s string) *RepositoryUpdate
SetMilestonesURL sets the "milestones_url" field.
func (*RepositoryUpdate) SetMirrorURL ¶
func (ru *RepositoryUpdate) SetMirrorURL(s string) *RepositoryUpdate
SetMirrorURL sets the "mirror_url" field.
func (*RepositoryUpdate) SetName ¶
func (ru *RepositoryUpdate) SetName(s string) *RepositoryUpdate
SetName sets the "name" field.
func (*RepositoryUpdate) SetNetworkCount ¶
func (ru *RepositoryUpdate) SetNetworkCount(i int64) *RepositoryUpdate
SetNetworkCount sets the "network_count" field.
func (*RepositoryUpdate) SetNillableArchiveURL ¶
func (ru *RepositoryUpdate) SetNillableArchiveURL(s *string) *RepositoryUpdate
SetNillableArchiveURL sets the "archive_url" field if the given value is not nil.
func (*RepositoryUpdate) SetNillableArchived ¶
func (ru *RepositoryUpdate) SetNillableArchived(b *bool) *RepositoryUpdate
SetNillableArchived sets the "archived" field if the given value is not nil.
func (*RepositoryUpdate) SetNillableAssigneesURL ¶
func (ru *RepositoryUpdate) SetNillableAssigneesURL(s *string) *RepositoryUpdate
SetNillableAssigneesURL sets the "assignees_url" field if the given value is not nil.
func (*RepositoryUpdate) SetNillableBlobsURL ¶
func (ru *RepositoryUpdate) SetNillableBlobsURL(s *string) *RepositoryUpdate
SetNillableBlobsURL sets the "blobs_url" field if the given value is not nil.
func (*RepositoryUpdate) SetNillableBranchesURL ¶
func (ru *RepositoryUpdate) SetNillableBranchesURL(s *string) *RepositoryUpdate
SetNillableBranchesURL sets the "branches_url" field if the given value is not nil.
func (*RepositoryUpdate) SetNillableCloneURL ¶
func (ru *RepositoryUpdate) SetNillableCloneURL(s *string) *RepositoryUpdate
SetNillableCloneURL sets the "clone_url" field if the given value is not nil.
func (*RepositoryUpdate) SetNillableCollaboratorsURL ¶
func (ru *RepositoryUpdate) SetNillableCollaboratorsURL(s *string) *RepositoryUpdate
SetNillableCollaboratorsURL sets the "collaborators_url" field if the given value is not nil.
func (*RepositoryUpdate) SetNillableCommentsURL ¶
func (ru *RepositoryUpdate) SetNillableCommentsURL(s *string) *RepositoryUpdate
SetNillableCommentsURL sets the "comments_url" field if the given value is not nil.
func (*RepositoryUpdate) SetNillableCommitsURL ¶
func (ru *RepositoryUpdate) SetNillableCommitsURL(s *string) *RepositoryUpdate
SetNillableCommitsURL sets the "commits_url" field if the given value is not nil.
func (*RepositoryUpdate) SetNillableCompareURL ¶
func (ru *RepositoryUpdate) SetNillableCompareURL(s *string) *RepositoryUpdate
SetNillableCompareURL sets the "compare_url" field if the given value is not nil.
func (*RepositoryUpdate) SetNillableContentsURL ¶
func (ru *RepositoryUpdate) SetNillableContentsURL(s *string) *RepositoryUpdate
SetNillableContentsURL sets the "contents_url" field if the given value is not nil.
func (*RepositoryUpdate) SetNillableContributorsURL ¶
func (ru *RepositoryUpdate) SetNillableContributorsURL(s *string) *RepositoryUpdate
SetNillableContributorsURL sets the "contributors_url" field if the given value is not nil.
func (*RepositoryUpdate) SetNillableCreatedAt ¶
func (ru *RepositoryUpdate) SetNillableCreatedAt(t *time.Time) *RepositoryUpdate
SetNillableCreatedAt sets the "created_at" field if the given value is not nil.
func (*RepositoryUpdate) SetNillableDefaultBranch ¶
func (ru *RepositoryUpdate) SetNillableDefaultBranch(s *string) *RepositoryUpdate
SetNillableDefaultBranch sets the "default_branch" field if the given value is not nil.
func (*RepositoryUpdate) SetNillableDeploymentsURL ¶
func (ru *RepositoryUpdate) SetNillableDeploymentsURL(s *string) *RepositoryUpdate
SetNillableDeploymentsURL sets the "deployments_url" field if the given value is not nil.
func (*RepositoryUpdate) SetNillableDescription ¶
func (ru *RepositoryUpdate) SetNillableDescription(s *string) *RepositoryUpdate
SetNillableDescription sets the "description" field if the given value is not nil.
func (*RepositoryUpdate) SetNillableDisabled ¶
func (ru *RepositoryUpdate) SetNillableDisabled(b *bool) *RepositoryUpdate
SetNillableDisabled sets the "disabled" field if the given value is not nil.
func (*RepositoryUpdate) SetNillableDownloadsURL ¶
func (ru *RepositoryUpdate) SetNillableDownloadsURL(s *string) *RepositoryUpdate
SetNillableDownloadsURL sets the "downloads_url" field if the given value is not nil.
func (*RepositoryUpdate) SetNillableEventsURL ¶
func (ru *RepositoryUpdate) SetNillableEventsURL(s *string) *RepositoryUpdate
SetNillableEventsURL sets the "events_url" field if the given value is not nil.
func (*RepositoryUpdate) SetNillableFork ¶
func (ru *RepositoryUpdate) SetNillableFork(b *bool) *RepositoryUpdate
SetNillableFork sets the "fork" field if the given value is not nil.
func (*RepositoryUpdate) SetNillableForks ¶
func (ru *RepositoryUpdate) SetNillableForks(i *int64) *RepositoryUpdate
SetNillableForks sets the "forks" field if the given value is not nil.
func (*RepositoryUpdate) SetNillableForksCount ¶
func (ru *RepositoryUpdate) SetNillableForksCount(i *int64) *RepositoryUpdate
SetNillableForksCount sets the "forks_count" field if the given value is not nil.
func (*RepositoryUpdate) SetNillableForksURL ¶
func (ru *RepositoryUpdate) SetNillableForksURL(s *string) *RepositoryUpdate
SetNillableForksURL sets the "forks_url" field if the given value is not nil.
func (*RepositoryUpdate) SetNillableFullName ¶
func (ru *RepositoryUpdate) SetNillableFullName(s *string) *RepositoryUpdate
SetNillableFullName sets the "full_name" field if the given value is not nil.
func (*RepositoryUpdate) SetNillableGitCommitsURL ¶
func (ru *RepositoryUpdate) SetNillableGitCommitsURL(s *string) *RepositoryUpdate
SetNillableGitCommitsURL sets the "git_commits_url" field if the given value is not nil.
func (*RepositoryUpdate) SetNillableGitRefsURL ¶
func (ru *RepositoryUpdate) SetNillableGitRefsURL(s *string) *RepositoryUpdate
SetNillableGitRefsURL sets the "git_refs_url" field if the given value is not nil.
func (*RepositoryUpdate) SetNillableGitTagsURL ¶
func (ru *RepositoryUpdate) SetNillableGitTagsURL(s *string) *RepositoryUpdate
SetNillableGitTagsURL sets the "git_tags_url" field if the given value is not nil.
func (*RepositoryUpdate) SetNillableGitURL ¶
func (ru *RepositoryUpdate) SetNillableGitURL(s *string) *RepositoryUpdate
SetNillableGitURL sets the "git_url" field if the given value is not nil.
func (*RepositoryUpdate) SetNillableHTMLURL ¶
func (ru *RepositoryUpdate) SetNillableHTMLURL(s *string) *RepositoryUpdate
SetNillableHTMLURL sets the "html_url" field if the given value is not nil.
func (*RepositoryUpdate) SetNillableHasDiscussions ¶
func (ru *RepositoryUpdate) SetNillableHasDiscussions(b *bool) *RepositoryUpdate
SetNillableHasDiscussions sets the "has_discussions" field if the given value is not nil.
func (*RepositoryUpdate) SetNillableHasDownloads ¶
func (ru *RepositoryUpdate) SetNillableHasDownloads(b *bool) *RepositoryUpdate
SetNillableHasDownloads sets the "has_downloads" field if the given value is not nil.
func (*RepositoryUpdate) SetNillableHasIssuesEnabled ¶
func (ru *RepositoryUpdate) SetNillableHasIssuesEnabled(b *bool) *RepositoryUpdate
SetNillableHasIssuesEnabled sets the "has_issues_enabled" field if the given value is not nil.
func (*RepositoryUpdate) SetNillableHasPages ¶
func (ru *RepositoryUpdate) SetNillableHasPages(b *bool) *RepositoryUpdate
SetNillableHasPages sets the "has_pages" field if the given value is not nil.
func (*RepositoryUpdate) SetNillableHasProjects ¶
func (ru *RepositoryUpdate) SetNillableHasProjects(b *bool) *RepositoryUpdate
SetNillableHasProjects sets the "has_projects" field if the given value is not nil.
func (*RepositoryUpdate) SetNillableHasWiki ¶
func (ru *RepositoryUpdate) SetNillableHasWiki(b *bool) *RepositoryUpdate
SetNillableHasWiki sets the "has_wiki" field if the given value is not nil.
func (*RepositoryUpdate) SetNillableHomepage ¶
func (ru *RepositoryUpdate) SetNillableHomepage(s *string) *RepositoryUpdate
SetNillableHomepage sets the "homepage" field if the given value is not nil.
func (*RepositoryUpdate) SetNillableHooksURL ¶
func (ru *RepositoryUpdate) SetNillableHooksURL(s *string) *RepositoryUpdate
SetNillableHooksURL sets the "hooks_url" field if the given value is not nil.
func (*RepositoryUpdate) SetNillableIsTemplate ¶
func (ru *RepositoryUpdate) SetNillableIsTemplate(b *bool) *RepositoryUpdate
SetNillableIsTemplate sets the "is_template" field if the given value is not nil.
func (*RepositoryUpdate) SetNillableIssueCommentURL ¶
func (ru *RepositoryUpdate) SetNillableIssueCommentURL(s *string) *RepositoryUpdate
SetNillableIssueCommentURL sets the "issue_comment_url" field if the given value is not nil.
func (*RepositoryUpdate) SetNillableIssueEventsURL ¶
func (ru *RepositoryUpdate) SetNillableIssueEventsURL(s *string) *RepositoryUpdate
SetNillableIssueEventsURL sets the "issue_events_url" field if the given value is not nil.
func (*RepositoryUpdate) SetNillableIssuesURL ¶
func (ru *RepositoryUpdate) SetNillableIssuesURL(s *string) *RepositoryUpdate
SetNillableIssuesURL sets the "issues_url" field if the given value is not nil.
func (*RepositoryUpdate) SetNillableKeysURL ¶
func (ru *RepositoryUpdate) SetNillableKeysURL(s *string) *RepositoryUpdate
SetNillableKeysURL sets the "keys_url" field if the given value is not nil.
func (*RepositoryUpdate) SetNillableLabelsURL ¶
func (ru *RepositoryUpdate) SetNillableLabelsURL(s *string) *RepositoryUpdate
SetNillableLabelsURL sets the "labels_url" field if the given value is not nil.
func (*RepositoryUpdate) SetNillableLanguage ¶
func (ru *RepositoryUpdate) SetNillableLanguage(s *string) *RepositoryUpdate
SetNillableLanguage sets the "language" field if the given value is not nil.
func (*RepositoryUpdate) SetNillableLanguagesURL ¶
func (ru *RepositoryUpdate) SetNillableLanguagesURL(s *string) *RepositoryUpdate
SetNillableLanguagesURL sets the "languages_url" field if the given value is not nil.
func (*RepositoryUpdate) SetNillableMergesURL ¶
func (ru *RepositoryUpdate) SetNillableMergesURL(s *string) *RepositoryUpdate
SetNillableMergesURL sets the "merges_url" field if the given value is not nil.
func (*RepositoryUpdate) SetNillableMilestonesURL ¶
func (ru *RepositoryUpdate) SetNillableMilestonesURL(s *string) *RepositoryUpdate
SetNillableMilestonesURL sets the "milestones_url" field if the given value is not nil.
func (*RepositoryUpdate) SetNillableMirrorURL ¶
func (ru *RepositoryUpdate) SetNillableMirrorURL(s *string) *RepositoryUpdate
SetNillableMirrorURL sets the "mirror_url" field if the given value is not nil.
func (*RepositoryUpdate) SetNillableName ¶
func (ru *RepositoryUpdate) SetNillableName(s *string) *RepositoryUpdate
SetNillableName sets the "name" field if the given value is not nil.
func (*RepositoryUpdate) SetNillableNetworkCount ¶
func (ru *RepositoryUpdate) SetNillableNetworkCount(i *int64) *RepositoryUpdate
SetNillableNetworkCount sets the "network_count" field if the given value is not nil.
func (*RepositoryUpdate) SetNillableNodeID ¶
func (ru *RepositoryUpdate) SetNillableNodeID(s *string) *RepositoryUpdate
SetNillableNodeID sets the "node_id" field if the given value is not nil.
func (*RepositoryUpdate) SetNillableNotificationsURL ¶
func (ru *RepositoryUpdate) SetNillableNotificationsURL(s *string) *RepositoryUpdate
SetNillableNotificationsURL sets the "notifications_url" field if the given value is not nil.
func (*RepositoryUpdate) SetNillableOpenIssues ¶
func (ru *RepositoryUpdate) SetNillableOpenIssues(i *int64) *RepositoryUpdate
SetNillableOpenIssues sets the "open_issues" field if the given value is not nil.
func (*RepositoryUpdate) SetNillableOpenIssuesCount ¶
func (ru *RepositoryUpdate) SetNillableOpenIssuesCount(i *int64) *RepositoryUpdate
SetNillableOpenIssuesCount sets the "open_issues_count" field if the given value is not nil.
func (*RepositoryUpdate) SetNillableOwnerID ¶
func (ru *RepositoryUpdate) SetNillableOwnerID(id *int64) *RepositoryUpdate
SetNillableOwnerID sets the "owner" edge to the User entity by ID if the given value is not nil.
func (*RepositoryUpdate) SetNillablePrivate ¶
func (ru *RepositoryUpdate) SetNillablePrivate(b *bool) *RepositoryUpdate
SetNillablePrivate sets the "private" field if the given value is not nil.
func (*RepositoryUpdate) SetNillablePullsURL ¶
func (ru *RepositoryUpdate) SetNillablePullsURL(s *string) *RepositoryUpdate
SetNillablePullsURL sets the "pulls_url" field if the given value is not nil.
func (*RepositoryUpdate) SetNillablePushedAt ¶
func (ru *RepositoryUpdate) SetNillablePushedAt(t *time.Time) *RepositoryUpdate
SetNillablePushedAt sets the "pushed_at" field if the given value is not nil.
func (*RepositoryUpdate) SetNillableReleasesURL ¶
func (ru *RepositoryUpdate) SetNillableReleasesURL(s *string) *RepositoryUpdate
SetNillableReleasesURL sets the "releases_url" field if the given value is not nil.
func (*RepositoryUpdate) SetNillableSSHURL ¶
func (ru *RepositoryUpdate) SetNillableSSHURL(s *string) *RepositoryUpdate
SetNillableSSHURL sets the "ssh_url" field if the given value is not nil.
func (*RepositoryUpdate) SetNillableSize ¶
func (ru *RepositoryUpdate) SetNillableSize(i *int64) *RepositoryUpdate
SetNillableSize sets the "size" field if the given value is not nil.
func (*RepositoryUpdate) SetNillableStargazersCount ¶
func (ru *RepositoryUpdate) SetNillableStargazersCount(i *int64) *RepositoryUpdate
SetNillableStargazersCount sets the "stargazers_count" field if the given value is not nil.
func (*RepositoryUpdate) SetNillableStargazersURL ¶
func (ru *RepositoryUpdate) SetNillableStargazersURL(s *string) *RepositoryUpdate
SetNillableStargazersURL sets the "stargazers_url" field if the given value is not nil.
func (*RepositoryUpdate) SetNillableStatusesURL ¶
func (ru *RepositoryUpdate) SetNillableStatusesURL(s *string) *RepositoryUpdate
SetNillableStatusesURL sets the "statuses_url" field if the given value is not nil.
func (*RepositoryUpdate) SetNillableSubscribersCount ¶
func (ru *RepositoryUpdate) SetNillableSubscribersCount(i *int64) *RepositoryUpdate
SetNillableSubscribersCount sets the "subscribers_count" field if the given value is not nil.
func (*RepositoryUpdate) SetNillableSubscribersURL ¶
func (ru *RepositoryUpdate) SetNillableSubscribersURL(s *string) *RepositoryUpdate
SetNillableSubscribersURL sets the "subscribers_url" field if the given value is not nil.
func (*RepositoryUpdate) SetNillableSubscriptionURL ¶
func (ru *RepositoryUpdate) SetNillableSubscriptionURL(s *string) *RepositoryUpdate
SetNillableSubscriptionURL sets the "subscription_url" field if the given value is not nil.
func (*RepositoryUpdate) SetNillableSvnURL ¶
func (ru *RepositoryUpdate) SetNillableSvnURL(s *string) *RepositoryUpdate
SetNillableSvnURL sets the "svn_url" field if the given value is not nil.
func (*RepositoryUpdate) SetNillableTagsURL ¶
func (ru *RepositoryUpdate) SetNillableTagsURL(s *string) *RepositoryUpdate
SetNillableTagsURL sets the "tags_url" field if the given value is not nil.
func (*RepositoryUpdate) SetNillableTeamsURL ¶
func (ru *RepositoryUpdate) SetNillableTeamsURL(s *string) *RepositoryUpdate
SetNillableTeamsURL sets the "teams_url" field if the given value is not nil.
func (*RepositoryUpdate) SetNillableTreesURL ¶
func (ru *RepositoryUpdate) SetNillableTreesURL(s *string) *RepositoryUpdate
SetNillableTreesURL sets the "trees_url" field if the given value is not nil.
func (*RepositoryUpdate) SetNillableURL ¶
func (ru *RepositoryUpdate) SetNillableURL(s *string) *RepositoryUpdate
SetNillableURL sets the "url" field if the given value is not nil.
func (*RepositoryUpdate) SetNillableUpdatedAt ¶
func (ru *RepositoryUpdate) SetNillableUpdatedAt(t *time.Time) *RepositoryUpdate
SetNillableUpdatedAt sets the "updated_at" field if the given value is not nil.
func (*RepositoryUpdate) SetNillableVisibility ¶
func (ru *RepositoryUpdate) SetNillableVisibility(r *repository.Visibility) *RepositoryUpdate
SetNillableVisibility sets the "visibility" field if the given value is not nil.
func (*RepositoryUpdate) SetNillableWatchers ¶
func (ru *RepositoryUpdate) SetNillableWatchers(i *int64) *RepositoryUpdate
SetNillableWatchers sets the "watchers" field if the given value is not nil.
func (*RepositoryUpdate) SetNillableWatchersCount ¶
func (ru *RepositoryUpdate) SetNillableWatchersCount(i *int64) *RepositoryUpdate
SetNillableWatchersCount sets the "watchers_count" field if the given value is not nil.
func (*RepositoryUpdate) SetNodeID ¶
func (ru *RepositoryUpdate) SetNodeID(s string) *RepositoryUpdate
SetNodeID sets the "node_id" field.
func (*RepositoryUpdate) SetNotificationsURL ¶
func (ru *RepositoryUpdate) SetNotificationsURL(s string) *RepositoryUpdate
SetNotificationsURL sets the "notifications_url" field.
func (*RepositoryUpdate) SetOpenIssues ¶
func (ru *RepositoryUpdate) SetOpenIssues(i int64) *RepositoryUpdate
SetOpenIssues sets the "open_issues" field.
func (*RepositoryUpdate) SetOpenIssuesCount ¶
func (ru *RepositoryUpdate) SetOpenIssuesCount(i int64) *RepositoryUpdate
SetOpenIssuesCount sets the "open_issues_count" field.
func (*RepositoryUpdate) SetOwner ¶
func (ru *RepositoryUpdate) SetOwner(u *User) *RepositoryUpdate
SetOwner sets the "owner" edge to the User entity.
func (*RepositoryUpdate) SetOwnerID ¶
func (ru *RepositoryUpdate) SetOwnerID(id int64) *RepositoryUpdate
SetOwnerID sets the "owner" edge to the User entity by ID.
func (*RepositoryUpdate) SetPrivate ¶
func (ru *RepositoryUpdate) SetPrivate(b bool) *RepositoryUpdate
SetPrivate sets the "private" field.
func (*RepositoryUpdate) SetPullsURL ¶
func (ru *RepositoryUpdate) SetPullsURL(s string) *RepositoryUpdate
SetPullsURL sets the "pulls_url" field.
func (*RepositoryUpdate) SetPushedAt ¶
func (ru *RepositoryUpdate) SetPushedAt(t time.Time) *RepositoryUpdate
SetPushedAt sets the "pushed_at" field.
func (*RepositoryUpdate) SetReleasesURL ¶
func (ru *RepositoryUpdate) SetReleasesURL(s string) *RepositoryUpdate
SetReleasesURL sets the "releases_url" field.
func (*RepositoryUpdate) SetSSHURL ¶
func (ru *RepositoryUpdate) SetSSHURL(s string) *RepositoryUpdate
SetSSHURL sets the "ssh_url" field.
func (*RepositoryUpdate) SetSize ¶
func (ru *RepositoryUpdate) SetSize(i int64) *RepositoryUpdate
SetSize sets the "size" field.
func (*RepositoryUpdate) SetStargazersCount ¶
func (ru *RepositoryUpdate) SetStargazersCount(i int64) *RepositoryUpdate
SetStargazersCount sets the "stargazers_count" field.
func (*RepositoryUpdate) SetStargazersURL ¶
func (ru *RepositoryUpdate) SetStargazersURL(s string) *RepositoryUpdate
SetStargazersURL sets the "stargazers_url" field.
func (*RepositoryUpdate) SetStatusesURL ¶
func (ru *RepositoryUpdate) SetStatusesURL(s string) *RepositoryUpdate
SetStatusesURL sets the "statuses_url" field.
func (*RepositoryUpdate) SetSubscribersCount ¶
func (ru *RepositoryUpdate) SetSubscribersCount(i int64) *RepositoryUpdate
SetSubscribersCount sets the "subscribers_count" field.
func (*RepositoryUpdate) SetSubscribersURL ¶
func (ru *RepositoryUpdate) SetSubscribersURL(s string) *RepositoryUpdate
SetSubscribersURL sets the "subscribers_url" field.
func (*RepositoryUpdate) SetSubscriptionURL ¶
func (ru *RepositoryUpdate) SetSubscriptionURL(s string) *RepositoryUpdate
SetSubscriptionURL sets the "subscription_url" field.
func (*RepositoryUpdate) SetSvnURL ¶
func (ru *RepositoryUpdate) SetSvnURL(s string) *RepositoryUpdate
SetSvnURL sets the "svn_url" field.
func (*RepositoryUpdate) SetTagsURL ¶
func (ru *RepositoryUpdate) SetTagsURL(s string) *RepositoryUpdate
SetTagsURL sets the "tags_url" field.
func (*RepositoryUpdate) SetTeamsURL ¶
func (ru *RepositoryUpdate) SetTeamsURL(s string) *RepositoryUpdate
SetTeamsURL sets the "teams_url" field.
func (*RepositoryUpdate) SetTopics ¶
func (ru *RepositoryUpdate) SetTopics(s []string) *RepositoryUpdate
SetTopics sets the "topics" field.
func (*RepositoryUpdate) SetTreesURL ¶
func (ru *RepositoryUpdate) SetTreesURL(s string) *RepositoryUpdate
SetTreesURL sets the "trees_url" field.
func (*RepositoryUpdate) SetURL ¶
func (ru *RepositoryUpdate) SetURL(s string) *RepositoryUpdate
SetURL sets the "url" field.
func (*RepositoryUpdate) SetUpdatedAt ¶
func (ru *RepositoryUpdate) SetUpdatedAt(t time.Time) *RepositoryUpdate
SetUpdatedAt sets the "updated_at" field.
func (*RepositoryUpdate) SetVisibility ¶
func (ru *RepositoryUpdate) SetVisibility(r repository.Visibility) *RepositoryUpdate
SetVisibility sets the "visibility" field.
func (*RepositoryUpdate) SetWatchers ¶
func (ru *RepositoryUpdate) SetWatchers(i int64) *RepositoryUpdate
SetWatchers sets the "watchers" field.
func (*RepositoryUpdate) SetWatchersCount ¶
func (ru *RepositoryUpdate) SetWatchersCount(i int64) *RepositoryUpdate
SetWatchersCount sets the "watchers_count" field.
func (*RepositoryUpdate) Where ¶
func (ru *RepositoryUpdate) Where(ps ...predicate.Repository) *RepositoryUpdate
Where appends a list predicates to the RepositoryUpdate builder.
type RepositoryUpdateOne ¶
type RepositoryUpdateOne struct {
// contains filtered or unexported fields
}
RepositoryUpdateOne is the builder for updating a single Repository entity.
func (*RepositoryUpdateOne) AddForks ¶
func (ruo *RepositoryUpdateOne) AddForks(i int64) *RepositoryUpdateOne
AddForks adds i to the "forks" field.
func (*RepositoryUpdateOne) AddForksCount ¶
func (ruo *RepositoryUpdateOne) AddForksCount(i int64) *RepositoryUpdateOne
AddForksCount adds i to the "forks_count" field.
func (*RepositoryUpdateOne) AddIssueIDs ¶
func (ruo *RepositoryUpdateOne) AddIssueIDs(ids ...int64) *RepositoryUpdateOne
AddIssueIDs adds the "issues" edge to the Issue entity by IDs.
func (*RepositoryUpdateOne) AddIssues ¶
func (ruo *RepositoryUpdateOne) AddIssues(i ...*Issue) *RepositoryUpdateOne
AddIssues adds the "issues" edges to the Issue entity.
func (*RepositoryUpdateOne) AddNetworkCount ¶
func (ruo *RepositoryUpdateOne) AddNetworkCount(i int64) *RepositoryUpdateOne
AddNetworkCount adds i to the "network_count" field.
func (*RepositoryUpdateOne) AddOpenIssues ¶
func (ruo *RepositoryUpdateOne) AddOpenIssues(i int64) *RepositoryUpdateOne
AddOpenIssues adds i to the "open_issues" field.
func (*RepositoryUpdateOne) AddOpenIssuesCount ¶
func (ruo *RepositoryUpdateOne) AddOpenIssuesCount(i int64) *RepositoryUpdateOne
AddOpenIssuesCount adds i to the "open_issues_count" field.
func (*RepositoryUpdateOne) AddSize ¶
func (ruo *RepositoryUpdateOne) AddSize(i int64) *RepositoryUpdateOne
AddSize adds i to the "size" field.
func (*RepositoryUpdateOne) AddStargazersCount ¶
func (ruo *RepositoryUpdateOne) AddStargazersCount(i int64) *RepositoryUpdateOne
AddStargazersCount adds i to the "stargazers_count" field.
func (*RepositoryUpdateOne) AddSubscribersCount ¶
func (ruo *RepositoryUpdateOne) AddSubscribersCount(i int64) *RepositoryUpdateOne
AddSubscribersCount adds i to the "subscribers_count" field.
func (*RepositoryUpdateOne) AddWatchers ¶
func (ruo *RepositoryUpdateOne) AddWatchers(i int64) *RepositoryUpdateOne
AddWatchers adds i to the "watchers" field.
func (*RepositoryUpdateOne) AddWatchersCount ¶
func (ruo *RepositoryUpdateOne) AddWatchersCount(i int64) *RepositoryUpdateOne
AddWatchersCount adds i to the "watchers_count" field.
func (*RepositoryUpdateOne) AppendTopics ¶
func (ruo *RepositoryUpdateOne) AppendTopics(s []string) *RepositoryUpdateOne
AppendTopics appends s to the "topics" field.
func (*RepositoryUpdateOne) ClearDescription ¶
func (ruo *RepositoryUpdateOne) ClearDescription() *RepositoryUpdateOne
ClearDescription clears the value of the "description" field.
func (*RepositoryUpdateOne) ClearHomepage ¶
func (ruo *RepositoryUpdateOne) ClearHomepage() *RepositoryUpdateOne
ClearHomepage clears the value of the "homepage" field.
func (*RepositoryUpdateOne) ClearIssues ¶
func (ruo *RepositoryUpdateOne) ClearIssues() *RepositoryUpdateOne
ClearIssues clears all "issues" edges to the Issue entity.
func (*RepositoryUpdateOne) ClearLanguage ¶
func (ruo *RepositoryUpdateOne) ClearLanguage() *RepositoryUpdateOne
ClearLanguage clears the value of the "language" field.
func (*RepositoryUpdateOne) ClearLicense ¶
func (ruo *RepositoryUpdateOne) ClearLicense() *RepositoryUpdateOne
ClearLicense clears the value of the "license" field.
func (*RepositoryUpdateOne) ClearMirrorURL ¶
func (ruo *RepositoryUpdateOne) ClearMirrorURL() *RepositoryUpdateOne
ClearMirrorURL clears the value of the "mirror_url" field.
func (*RepositoryUpdateOne) ClearOwner ¶
func (ruo *RepositoryUpdateOne) ClearOwner() *RepositoryUpdateOne
ClearOwner clears the "owner" edge to the User entity.
func (*RepositoryUpdateOne) ClearVisibility ¶
func (ruo *RepositoryUpdateOne) ClearVisibility() *RepositoryUpdateOne
ClearVisibility clears the value of the "visibility" field.
func (*RepositoryUpdateOne) CopyRepository ¶
func (ruo *RepositoryUpdateOne) CopyRepository(input *Repository) *RepositoryUpdateOne
CopyRepository allows to update a Repository copying the existing values of input.
func (*RepositoryUpdateOne) Exec ¶
func (ruo *RepositoryUpdateOne) Exec(ctx context.Context) error
Exec executes the query on the entity.
func (*RepositoryUpdateOne) ExecX ¶
func (ruo *RepositoryUpdateOne) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*RepositoryUpdateOne) Mutation ¶
func (ruo *RepositoryUpdateOne) Mutation() *RepositoryMutation
Mutation returns the RepositoryMutation object of the builder.
func (*RepositoryUpdateOne) RemoveIssueIDs ¶
func (ruo *RepositoryUpdateOne) RemoveIssueIDs(ids ...int64) *RepositoryUpdateOne
RemoveIssueIDs removes the "issues" edge to Issue entities by IDs.
func (*RepositoryUpdateOne) RemoveIssues ¶
func (ruo *RepositoryUpdateOne) RemoveIssues(i ...*Issue) *RepositoryUpdateOne
RemoveIssues removes "issues" edges to Issue entities.
func (*RepositoryUpdateOne) Save ¶
func (ruo *RepositoryUpdateOne) Save(ctx context.Context) (*Repository, error)
Save executes the query and returns the updated Repository entity.
func (*RepositoryUpdateOne) SaveX ¶
func (ruo *RepositoryUpdateOne) SaveX(ctx context.Context) *Repository
SaveX is like Save, but panics if an error occurs.
func (*RepositoryUpdateOne) Select ¶
func (ruo *RepositoryUpdateOne) Select(field string, fields ...string) *RepositoryUpdateOne
Select allows selecting one or more fields (columns) of the returned entity. The default is selecting all fields defined in the entity schema.
func (*RepositoryUpdateOne) SetArchiveURL ¶
func (ruo *RepositoryUpdateOne) SetArchiveURL(s string) *RepositoryUpdateOne
SetArchiveURL sets the "archive_url" field.
func (*RepositoryUpdateOne) SetArchived ¶
func (ruo *RepositoryUpdateOne) SetArchived(b bool) *RepositoryUpdateOne
SetArchived sets the "archived" field.
func (*RepositoryUpdateOne) SetAssigneesURL ¶
func (ruo *RepositoryUpdateOne) SetAssigneesURL(s string) *RepositoryUpdateOne
SetAssigneesURL sets the "assignees_url" field.
func (*RepositoryUpdateOne) SetBlobsURL ¶
func (ruo *RepositoryUpdateOne) SetBlobsURL(s string) *RepositoryUpdateOne
SetBlobsURL sets the "blobs_url" field.
func (*RepositoryUpdateOne) SetBranchesURL ¶
func (ruo *RepositoryUpdateOne) SetBranchesURL(s string) *RepositoryUpdateOne
SetBranchesURL sets the "branches_url" field.
func (*RepositoryUpdateOne) SetCloneURL ¶
func (ruo *RepositoryUpdateOne) SetCloneURL(s string) *RepositoryUpdateOne
SetCloneURL sets the "clone_url" field.
func (*RepositoryUpdateOne) SetCollaboratorsURL ¶
func (ruo *RepositoryUpdateOne) SetCollaboratorsURL(s string) *RepositoryUpdateOne
SetCollaboratorsURL sets the "collaborators_url" field.
func (*RepositoryUpdateOne) SetCommentsURL ¶
func (ruo *RepositoryUpdateOne) SetCommentsURL(s string) *RepositoryUpdateOne
SetCommentsURL sets the "comments_url" field.
func (*RepositoryUpdateOne) SetCommitsURL ¶
func (ruo *RepositoryUpdateOne) SetCommitsURL(s string) *RepositoryUpdateOne
SetCommitsURL sets the "commits_url" field.
func (*RepositoryUpdateOne) SetCompareURL ¶
func (ruo *RepositoryUpdateOne) SetCompareURL(s string) *RepositoryUpdateOne
SetCompareURL sets the "compare_url" field.
func (*RepositoryUpdateOne) SetContentsURL ¶
func (ruo *RepositoryUpdateOne) SetContentsURL(s string) *RepositoryUpdateOne
SetContentsURL sets the "contents_url" field.
func (*RepositoryUpdateOne) SetContributorsURL ¶
func (ruo *RepositoryUpdateOne) SetContributorsURL(s string) *RepositoryUpdateOne
SetContributorsURL sets the "contributors_url" field.
func (*RepositoryUpdateOne) SetCreatedAt ¶
func (ruo *RepositoryUpdateOne) SetCreatedAt(t time.Time) *RepositoryUpdateOne
SetCreatedAt sets the "created_at" field.
func (*RepositoryUpdateOne) SetDefaultBranch ¶
func (ruo *RepositoryUpdateOne) SetDefaultBranch(s string) *RepositoryUpdateOne
SetDefaultBranch sets the "default_branch" field.
func (*RepositoryUpdateOne) SetDeploymentsURL ¶
func (ruo *RepositoryUpdateOne) SetDeploymentsURL(s string) *RepositoryUpdateOne
SetDeploymentsURL sets the "deployments_url" field.
func (*RepositoryUpdateOne) SetDescription ¶
func (ruo *RepositoryUpdateOne) SetDescription(s string) *RepositoryUpdateOne
SetDescription sets the "description" field.
func (*RepositoryUpdateOne) SetDisabled ¶
func (ruo *RepositoryUpdateOne) SetDisabled(b bool) *RepositoryUpdateOne
SetDisabled sets the "disabled" field.
func (*RepositoryUpdateOne) SetDownloadsURL ¶
func (ruo *RepositoryUpdateOne) SetDownloadsURL(s string) *RepositoryUpdateOne
SetDownloadsURL sets the "downloads_url" field.
func (*RepositoryUpdateOne) SetEventsURL ¶
func (ruo *RepositoryUpdateOne) SetEventsURL(s string) *RepositoryUpdateOne
SetEventsURL sets the "events_url" field.
func (*RepositoryUpdateOne) SetFork ¶
func (ruo *RepositoryUpdateOne) SetFork(b bool) *RepositoryUpdateOne
SetFork sets the "fork" field.
func (*RepositoryUpdateOne) SetForks ¶
func (ruo *RepositoryUpdateOne) SetForks(i int64) *RepositoryUpdateOne
SetForks sets the "forks" field.
func (*RepositoryUpdateOne) SetForksCount ¶
func (ruo *RepositoryUpdateOne) SetForksCount(i int64) *RepositoryUpdateOne
SetForksCount sets the "forks_count" field.
func (*RepositoryUpdateOne) SetForksURL ¶
func (ruo *RepositoryUpdateOne) SetForksURL(s string) *RepositoryUpdateOne
SetForksURL sets the "forks_url" field.
func (*RepositoryUpdateOne) SetFullName ¶
func (ruo *RepositoryUpdateOne) SetFullName(s string) *RepositoryUpdateOne
SetFullName sets the "full_name" field.
func (*RepositoryUpdateOne) SetGitCommitsURL ¶
func (ruo *RepositoryUpdateOne) SetGitCommitsURL(s string) *RepositoryUpdateOne
SetGitCommitsURL sets the "git_commits_url" field.
func (*RepositoryUpdateOne) SetGitRefsURL ¶
func (ruo *RepositoryUpdateOne) SetGitRefsURL(s string) *RepositoryUpdateOne
SetGitRefsURL sets the "git_refs_url" field.
func (*RepositoryUpdateOne) SetGitTagsURL ¶
func (ruo *RepositoryUpdateOne) SetGitTagsURL(s string) *RepositoryUpdateOne
SetGitTagsURL sets the "git_tags_url" field.
func (*RepositoryUpdateOne) SetGitURL ¶
func (ruo *RepositoryUpdateOne) SetGitURL(s string) *RepositoryUpdateOne
SetGitURL sets the "git_url" field.
func (*RepositoryUpdateOne) SetHTMLURL ¶
func (ruo *RepositoryUpdateOne) SetHTMLURL(s string) *RepositoryUpdateOne
SetHTMLURL sets the "html_url" field.
func (*RepositoryUpdateOne) SetHasDiscussions ¶
func (ruo *RepositoryUpdateOne) SetHasDiscussions(b bool) *RepositoryUpdateOne
SetHasDiscussions sets the "has_discussions" field.
func (*RepositoryUpdateOne) SetHasDownloads ¶
func (ruo *RepositoryUpdateOne) SetHasDownloads(b bool) *RepositoryUpdateOne
SetHasDownloads sets the "has_downloads" field.
func (*RepositoryUpdateOne) SetHasIssuesEnabled ¶
func (ruo *RepositoryUpdateOne) SetHasIssuesEnabled(b bool) *RepositoryUpdateOne
SetHasIssuesEnabled sets the "has_issues_enabled" field.
func (*RepositoryUpdateOne) SetHasPages ¶
func (ruo *RepositoryUpdateOne) SetHasPages(b bool) *RepositoryUpdateOne
SetHasPages sets the "has_pages" field.
func (*RepositoryUpdateOne) SetHasProjects ¶
func (ruo *RepositoryUpdateOne) SetHasProjects(b bool) *RepositoryUpdateOne
SetHasProjects sets the "has_projects" field.
func (*RepositoryUpdateOne) SetHasWiki ¶
func (ruo *RepositoryUpdateOne) SetHasWiki(b bool) *RepositoryUpdateOne
SetHasWiki sets the "has_wiki" field.
func (*RepositoryUpdateOne) SetHomepage ¶
func (ruo *RepositoryUpdateOne) SetHomepage(s string) *RepositoryUpdateOne
SetHomepage sets the "homepage" field.
func (*RepositoryUpdateOne) SetHooksURL ¶
func (ruo *RepositoryUpdateOne) SetHooksURL(s string) *RepositoryUpdateOne
SetHooksURL sets the "hooks_url" field.
func (*RepositoryUpdateOne) SetIsTemplate ¶
func (ruo *RepositoryUpdateOne) SetIsTemplate(b bool) *RepositoryUpdateOne
SetIsTemplate sets the "is_template" field.
func (*RepositoryUpdateOne) SetIssueCommentURL ¶
func (ruo *RepositoryUpdateOne) SetIssueCommentURL(s string) *RepositoryUpdateOne
SetIssueCommentURL sets the "issue_comment_url" field.
func (*RepositoryUpdateOne) SetIssueEventsURL ¶
func (ruo *RepositoryUpdateOne) SetIssueEventsURL(s string) *RepositoryUpdateOne
SetIssueEventsURL sets the "issue_events_url" field.
func (*RepositoryUpdateOne) SetIssuesURL ¶
func (ruo *RepositoryUpdateOne) SetIssuesURL(s string) *RepositoryUpdateOne
SetIssuesURL sets the "issues_url" field.
func (*RepositoryUpdateOne) SetKeysURL ¶
func (ruo *RepositoryUpdateOne) SetKeysURL(s string) *RepositoryUpdateOne
SetKeysURL sets the "keys_url" field.
func (*RepositoryUpdateOne) SetLabelsURL ¶
func (ruo *RepositoryUpdateOne) SetLabelsURL(s string) *RepositoryUpdateOne
SetLabelsURL sets the "labels_url" field.
func (*RepositoryUpdateOne) SetLanguage ¶
func (ruo *RepositoryUpdateOne) SetLanguage(s string) *RepositoryUpdateOne
SetLanguage sets the "language" field.
func (*RepositoryUpdateOne) SetLanguagesURL ¶
func (ruo *RepositoryUpdateOne) SetLanguagesURL(s string) *RepositoryUpdateOne
SetLanguagesURL sets the "languages_url" field.
func (*RepositoryUpdateOne) SetLicense ¶
func (ruo *RepositoryUpdateOne) SetLicense(m *model.License) *RepositoryUpdateOne
SetLicense sets the "license" field.
func (*RepositoryUpdateOne) SetMergesURL ¶
func (ruo *RepositoryUpdateOne) SetMergesURL(s string) *RepositoryUpdateOne
SetMergesURL sets the "merges_url" field.
func (*RepositoryUpdateOne) SetMilestonesURL ¶
func (ruo *RepositoryUpdateOne) SetMilestonesURL(s string) *RepositoryUpdateOne
SetMilestonesURL sets the "milestones_url" field.
func (*RepositoryUpdateOne) SetMirrorURL ¶
func (ruo *RepositoryUpdateOne) SetMirrorURL(s string) *RepositoryUpdateOne
SetMirrorURL sets the "mirror_url" field.
func (*RepositoryUpdateOne) SetName ¶
func (ruo *RepositoryUpdateOne) SetName(s string) *RepositoryUpdateOne
SetName sets the "name" field.
func (*RepositoryUpdateOne) SetNetworkCount ¶
func (ruo *RepositoryUpdateOne) SetNetworkCount(i int64) *RepositoryUpdateOne
SetNetworkCount sets the "network_count" field.
func (*RepositoryUpdateOne) SetNillableArchiveURL ¶
func (ruo *RepositoryUpdateOne) SetNillableArchiveURL(s *string) *RepositoryUpdateOne
SetNillableArchiveURL sets the "archive_url" field if the given value is not nil.
func (*RepositoryUpdateOne) SetNillableArchived ¶
func (ruo *RepositoryUpdateOne) SetNillableArchived(b *bool) *RepositoryUpdateOne
SetNillableArchived sets the "archived" field if the given value is not nil.
func (*RepositoryUpdateOne) SetNillableAssigneesURL ¶
func (ruo *RepositoryUpdateOne) SetNillableAssigneesURL(s *string) *RepositoryUpdateOne
SetNillableAssigneesURL sets the "assignees_url" field if the given value is not nil.
func (*RepositoryUpdateOne) SetNillableBlobsURL ¶
func (ruo *RepositoryUpdateOne) SetNillableBlobsURL(s *string) *RepositoryUpdateOne
SetNillableBlobsURL sets the "blobs_url" field if the given value is not nil.
func (*RepositoryUpdateOne) SetNillableBranchesURL ¶
func (ruo *RepositoryUpdateOne) SetNillableBranchesURL(s *string) *RepositoryUpdateOne
SetNillableBranchesURL sets the "branches_url" field if the given value is not nil.
func (*RepositoryUpdateOne) SetNillableCloneURL ¶
func (ruo *RepositoryUpdateOne) SetNillableCloneURL(s *string) *RepositoryUpdateOne
SetNillableCloneURL sets the "clone_url" field if the given value is not nil.
func (*RepositoryUpdateOne) SetNillableCollaboratorsURL ¶
func (ruo *RepositoryUpdateOne) SetNillableCollaboratorsURL(s *string) *RepositoryUpdateOne
SetNillableCollaboratorsURL sets the "collaborators_url" field if the given value is not nil.
func (*RepositoryUpdateOne) SetNillableCommentsURL ¶
func (ruo *RepositoryUpdateOne) SetNillableCommentsURL(s *string) *RepositoryUpdateOne
SetNillableCommentsURL sets the "comments_url" field if the given value is not nil.
func (*RepositoryUpdateOne) SetNillableCommitsURL ¶
func (ruo *RepositoryUpdateOne) SetNillableCommitsURL(s *string) *RepositoryUpdateOne
SetNillableCommitsURL sets the "commits_url" field if the given value is not nil.
func (*RepositoryUpdateOne) SetNillableCompareURL ¶
func (ruo *RepositoryUpdateOne) SetNillableCompareURL(s *string) *RepositoryUpdateOne
SetNillableCompareURL sets the "compare_url" field if the given value is not nil.
func (*RepositoryUpdateOne) SetNillableContentsURL ¶
func (ruo *RepositoryUpdateOne) SetNillableContentsURL(s *string) *RepositoryUpdateOne
SetNillableContentsURL sets the "contents_url" field if the given value is not nil.
func (*RepositoryUpdateOne) SetNillableContributorsURL ¶
func (ruo *RepositoryUpdateOne) SetNillableContributorsURL(s *string) *RepositoryUpdateOne
SetNillableContributorsURL sets the "contributors_url" field if the given value is not nil.
func (*RepositoryUpdateOne) SetNillableCreatedAt ¶
func (ruo *RepositoryUpdateOne) SetNillableCreatedAt(t *time.Time) *RepositoryUpdateOne
SetNillableCreatedAt sets the "created_at" field if the given value is not nil.
func (*RepositoryUpdateOne) SetNillableDefaultBranch ¶
func (ruo *RepositoryUpdateOne) SetNillableDefaultBranch(s *string) *RepositoryUpdateOne
SetNillableDefaultBranch sets the "default_branch" field if the given value is not nil.
func (*RepositoryUpdateOne) SetNillableDeploymentsURL ¶
func (ruo *RepositoryUpdateOne) SetNillableDeploymentsURL(s *string) *RepositoryUpdateOne
SetNillableDeploymentsURL sets the "deployments_url" field if the given value is not nil.
func (*RepositoryUpdateOne) SetNillableDescription ¶
func (ruo *RepositoryUpdateOne) SetNillableDescription(s *string) *RepositoryUpdateOne
SetNillableDescription sets the "description" field if the given value is not nil.
func (*RepositoryUpdateOne) SetNillableDisabled ¶
func (ruo *RepositoryUpdateOne) SetNillableDisabled(b *bool) *RepositoryUpdateOne
SetNillableDisabled sets the "disabled" field if the given value is not nil.
func (*RepositoryUpdateOne) SetNillableDownloadsURL ¶
func (ruo *RepositoryUpdateOne) SetNillableDownloadsURL(s *string) *RepositoryUpdateOne
SetNillableDownloadsURL sets the "downloads_url" field if the given value is not nil.
func (*RepositoryUpdateOne) SetNillableEventsURL ¶
func (ruo *RepositoryUpdateOne) SetNillableEventsURL(s *string) *RepositoryUpdateOne
SetNillableEventsURL sets the "events_url" field if the given value is not nil.
func (*RepositoryUpdateOne) SetNillableFork ¶
func (ruo *RepositoryUpdateOne) SetNillableFork(b *bool) *RepositoryUpdateOne
SetNillableFork sets the "fork" field if the given value is not nil.
func (*RepositoryUpdateOne) SetNillableForks ¶
func (ruo *RepositoryUpdateOne) SetNillableForks(i *int64) *RepositoryUpdateOne
SetNillableForks sets the "forks" field if the given value is not nil.
func (*RepositoryUpdateOne) SetNillableForksCount ¶
func (ruo *RepositoryUpdateOne) SetNillableForksCount(i *int64) *RepositoryUpdateOne
SetNillableForksCount sets the "forks_count" field if the given value is not nil.
func (*RepositoryUpdateOne) SetNillableForksURL ¶
func (ruo *RepositoryUpdateOne) SetNillableForksURL(s *string) *RepositoryUpdateOne
SetNillableForksURL sets the "forks_url" field if the given value is not nil.
func (*RepositoryUpdateOne) SetNillableFullName ¶
func (ruo *RepositoryUpdateOne) SetNillableFullName(s *string) *RepositoryUpdateOne
SetNillableFullName sets the "full_name" field if the given value is not nil.
func (*RepositoryUpdateOne) SetNillableGitCommitsURL ¶
func (ruo *RepositoryUpdateOne) SetNillableGitCommitsURL(s *string) *RepositoryUpdateOne
SetNillableGitCommitsURL sets the "git_commits_url" field if the given value is not nil.
func (*RepositoryUpdateOne) SetNillableGitRefsURL ¶
func (ruo *RepositoryUpdateOne) SetNillableGitRefsURL(s *string) *RepositoryUpdateOne
SetNillableGitRefsURL sets the "git_refs_url" field if the given value is not nil.
func (*RepositoryUpdateOne) SetNillableGitTagsURL ¶
func (ruo *RepositoryUpdateOne) SetNillableGitTagsURL(s *string) *RepositoryUpdateOne
SetNillableGitTagsURL sets the "git_tags_url" field if the given value is not nil.
func (*RepositoryUpdateOne) SetNillableGitURL ¶
func (ruo *RepositoryUpdateOne) SetNillableGitURL(s *string) *RepositoryUpdateOne
SetNillableGitURL sets the "git_url" field if the given value is not nil.
func (*RepositoryUpdateOne) SetNillableHTMLURL ¶
func (ruo *RepositoryUpdateOne) SetNillableHTMLURL(s *string) *RepositoryUpdateOne
SetNillableHTMLURL sets the "html_url" field if the given value is not nil.
func (*RepositoryUpdateOne) SetNillableHasDiscussions ¶
func (ruo *RepositoryUpdateOne) SetNillableHasDiscussions(b *bool) *RepositoryUpdateOne
SetNillableHasDiscussions sets the "has_discussions" field if the given value is not nil.
func (*RepositoryUpdateOne) SetNillableHasDownloads ¶
func (ruo *RepositoryUpdateOne) SetNillableHasDownloads(b *bool) *RepositoryUpdateOne
SetNillableHasDownloads sets the "has_downloads" field if the given value is not nil.
func (*RepositoryUpdateOne) SetNillableHasIssuesEnabled ¶
func (ruo *RepositoryUpdateOne) SetNillableHasIssuesEnabled(b *bool) *RepositoryUpdateOne
SetNillableHasIssuesEnabled sets the "has_issues_enabled" field if the given value is not nil.
func (*RepositoryUpdateOne) SetNillableHasPages ¶
func (ruo *RepositoryUpdateOne) SetNillableHasPages(b *bool) *RepositoryUpdateOne
SetNillableHasPages sets the "has_pages" field if the given value is not nil.
func (*RepositoryUpdateOne) SetNillableHasProjects ¶
func (ruo *RepositoryUpdateOne) SetNillableHasProjects(b *bool) *RepositoryUpdateOne
SetNillableHasProjects sets the "has_projects" field if the given value is not nil.
func (*RepositoryUpdateOne) SetNillableHasWiki ¶
func (ruo *RepositoryUpdateOne) SetNillableHasWiki(b *bool) *RepositoryUpdateOne
SetNillableHasWiki sets the "has_wiki" field if the given value is not nil.
func (*RepositoryUpdateOne) SetNillableHomepage ¶
func (ruo *RepositoryUpdateOne) SetNillableHomepage(s *string) *RepositoryUpdateOne
SetNillableHomepage sets the "homepage" field if the given value is not nil.
func (*RepositoryUpdateOne) SetNillableHooksURL ¶
func (ruo *RepositoryUpdateOne) SetNillableHooksURL(s *string) *RepositoryUpdateOne
SetNillableHooksURL sets the "hooks_url" field if the given value is not nil.
func (*RepositoryUpdateOne) SetNillableIsTemplate ¶
func (ruo *RepositoryUpdateOne) SetNillableIsTemplate(b *bool) *RepositoryUpdateOne
SetNillableIsTemplate sets the "is_template" field if the given value is not nil.
func (*RepositoryUpdateOne) SetNillableIssueCommentURL ¶
func (ruo *RepositoryUpdateOne) SetNillableIssueCommentURL(s *string) *RepositoryUpdateOne
SetNillableIssueCommentURL sets the "issue_comment_url" field if the given value is not nil.
func (*RepositoryUpdateOne) SetNillableIssueEventsURL ¶
func (ruo *RepositoryUpdateOne) SetNillableIssueEventsURL(s *string) *RepositoryUpdateOne
SetNillableIssueEventsURL sets the "issue_events_url" field if the given value is not nil.
func (*RepositoryUpdateOne) SetNillableIssuesURL ¶
func (ruo *RepositoryUpdateOne) SetNillableIssuesURL(s *string) *RepositoryUpdateOne
SetNillableIssuesURL sets the "issues_url" field if the given value is not nil.
func (*RepositoryUpdateOne) SetNillableKeysURL ¶
func (ruo *RepositoryUpdateOne) SetNillableKeysURL(s *string) *RepositoryUpdateOne
SetNillableKeysURL sets the "keys_url" field if the given value is not nil.
func (*RepositoryUpdateOne) SetNillableLabelsURL ¶
func (ruo *RepositoryUpdateOne) SetNillableLabelsURL(s *string) *RepositoryUpdateOne
SetNillableLabelsURL sets the "labels_url" field if the given value is not nil.
func (*RepositoryUpdateOne) SetNillableLanguage ¶
func (ruo *RepositoryUpdateOne) SetNillableLanguage(s *string) *RepositoryUpdateOne
SetNillableLanguage sets the "language" field if the given value is not nil.
func (*RepositoryUpdateOne) SetNillableLanguagesURL ¶
func (ruo *RepositoryUpdateOne) SetNillableLanguagesURL(s *string) *RepositoryUpdateOne
SetNillableLanguagesURL sets the "languages_url" field if the given value is not nil.
func (*RepositoryUpdateOne) SetNillableMergesURL ¶
func (ruo *RepositoryUpdateOne) SetNillableMergesURL(s *string) *RepositoryUpdateOne
SetNillableMergesURL sets the "merges_url" field if the given value is not nil.
func (*RepositoryUpdateOne) SetNillableMilestonesURL ¶
func (ruo *RepositoryUpdateOne) SetNillableMilestonesURL(s *string) *RepositoryUpdateOne
SetNillableMilestonesURL sets the "milestones_url" field if the given value is not nil.
func (*RepositoryUpdateOne) SetNillableMirrorURL ¶
func (ruo *RepositoryUpdateOne) SetNillableMirrorURL(s *string) *RepositoryUpdateOne
SetNillableMirrorURL sets the "mirror_url" field if the given value is not nil.
func (*RepositoryUpdateOne) SetNillableName ¶
func (ruo *RepositoryUpdateOne) SetNillableName(s *string) *RepositoryUpdateOne
SetNillableName sets the "name" field if the given value is not nil.
func (*RepositoryUpdateOne) SetNillableNetworkCount ¶
func (ruo *RepositoryUpdateOne) SetNillableNetworkCount(i *int64) *RepositoryUpdateOne
SetNillableNetworkCount sets the "network_count" field if the given value is not nil.
func (*RepositoryUpdateOne) SetNillableNodeID ¶
func (ruo *RepositoryUpdateOne) SetNillableNodeID(s *string) *RepositoryUpdateOne
SetNillableNodeID sets the "node_id" field if the given value is not nil.
func (*RepositoryUpdateOne) SetNillableNotificationsURL ¶
func (ruo *RepositoryUpdateOne) SetNillableNotificationsURL(s *string) *RepositoryUpdateOne
SetNillableNotificationsURL sets the "notifications_url" field if the given value is not nil.
func (*RepositoryUpdateOne) SetNillableOpenIssues ¶
func (ruo *RepositoryUpdateOne) SetNillableOpenIssues(i *int64) *RepositoryUpdateOne
SetNillableOpenIssues sets the "open_issues" field if the given value is not nil.
func (*RepositoryUpdateOne) SetNillableOpenIssuesCount ¶
func (ruo *RepositoryUpdateOne) SetNillableOpenIssuesCount(i *int64) *RepositoryUpdateOne
SetNillableOpenIssuesCount sets the "open_issues_count" field if the given value is not nil.
func (*RepositoryUpdateOne) SetNillableOwnerID ¶
func (ruo *RepositoryUpdateOne) SetNillableOwnerID(id *int64) *RepositoryUpdateOne
SetNillableOwnerID sets the "owner" edge to the User entity by ID if the given value is not nil.
func (*RepositoryUpdateOne) SetNillablePrivate ¶
func (ruo *RepositoryUpdateOne) SetNillablePrivate(b *bool) *RepositoryUpdateOne
SetNillablePrivate sets the "private" field if the given value is not nil.
func (*RepositoryUpdateOne) SetNillablePullsURL ¶
func (ruo *RepositoryUpdateOne) SetNillablePullsURL(s *string) *RepositoryUpdateOne
SetNillablePullsURL sets the "pulls_url" field if the given value is not nil.
func (*RepositoryUpdateOne) SetNillablePushedAt ¶
func (ruo *RepositoryUpdateOne) SetNillablePushedAt(t *time.Time) *RepositoryUpdateOne
SetNillablePushedAt sets the "pushed_at" field if the given value is not nil.
func (*RepositoryUpdateOne) SetNillableReleasesURL ¶
func (ruo *RepositoryUpdateOne) SetNillableReleasesURL(s *string) *RepositoryUpdateOne
SetNillableReleasesURL sets the "releases_url" field if the given value is not nil.
func (*RepositoryUpdateOne) SetNillableSSHURL ¶
func (ruo *RepositoryUpdateOne) SetNillableSSHURL(s *string) *RepositoryUpdateOne
SetNillableSSHURL sets the "ssh_url" field if the given value is not nil.
func (*RepositoryUpdateOne) SetNillableSize ¶
func (ruo *RepositoryUpdateOne) SetNillableSize(i *int64) *RepositoryUpdateOne
SetNillableSize sets the "size" field if the given value is not nil.
func (*RepositoryUpdateOne) SetNillableStargazersCount ¶
func (ruo *RepositoryUpdateOne) SetNillableStargazersCount(i *int64) *RepositoryUpdateOne
SetNillableStargazersCount sets the "stargazers_count" field if the given value is not nil.
func (*RepositoryUpdateOne) SetNillableStargazersURL ¶
func (ruo *RepositoryUpdateOne) SetNillableStargazersURL(s *string) *RepositoryUpdateOne
SetNillableStargazersURL sets the "stargazers_url" field if the given value is not nil.
func (*RepositoryUpdateOne) SetNillableStatusesURL ¶
func (ruo *RepositoryUpdateOne) SetNillableStatusesURL(s *string) *RepositoryUpdateOne
SetNillableStatusesURL sets the "statuses_url" field if the given value is not nil.
func (*RepositoryUpdateOne) SetNillableSubscribersCount ¶
func (ruo *RepositoryUpdateOne) SetNillableSubscribersCount(i *int64) *RepositoryUpdateOne
SetNillableSubscribersCount sets the "subscribers_count" field if the given value is not nil.
func (*RepositoryUpdateOne) SetNillableSubscribersURL ¶
func (ruo *RepositoryUpdateOne) SetNillableSubscribersURL(s *string) *RepositoryUpdateOne
SetNillableSubscribersURL sets the "subscribers_url" field if the given value is not nil.
func (*RepositoryUpdateOne) SetNillableSubscriptionURL ¶
func (ruo *RepositoryUpdateOne) SetNillableSubscriptionURL(s *string) *RepositoryUpdateOne
SetNillableSubscriptionURL sets the "subscription_url" field if the given value is not nil.
func (*RepositoryUpdateOne) SetNillableSvnURL ¶
func (ruo *RepositoryUpdateOne) SetNillableSvnURL(s *string) *RepositoryUpdateOne
SetNillableSvnURL sets the "svn_url" field if the given value is not nil.
func (*RepositoryUpdateOne) SetNillableTagsURL ¶
func (ruo *RepositoryUpdateOne) SetNillableTagsURL(s *string) *RepositoryUpdateOne
SetNillableTagsURL sets the "tags_url" field if the given value is not nil.
func (*RepositoryUpdateOne) SetNillableTeamsURL ¶
func (ruo *RepositoryUpdateOne) SetNillableTeamsURL(s *string) *RepositoryUpdateOne
SetNillableTeamsURL sets the "teams_url" field if the given value is not nil.
func (*RepositoryUpdateOne) SetNillableTreesURL ¶
func (ruo *RepositoryUpdateOne) SetNillableTreesURL(s *string) *RepositoryUpdateOne
SetNillableTreesURL sets the "trees_url" field if the given value is not nil.
func (*RepositoryUpdateOne) SetNillableURL ¶
func (ruo *RepositoryUpdateOne) SetNillableURL(s *string) *RepositoryUpdateOne
SetNillableURL sets the "url" field if the given value is not nil.
func (*RepositoryUpdateOne) SetNillableUpdatedAt ¶
func (ruo *RepositoryUpdateOne) SetNillableUpdatedAt(t *time.Time) *RepositoryUpdateOne
SetNillableUpdatedAt sets the "updated_at" field if the given value is not nil.
func (*RepositoryUpdateOne) SetNillableVisibility ¶
func (ruo *RepositoryUpdateOne) SetNillableVisibility(r *repository.Visibility) *RepositoryUpdateOne
SetNillableVisibility sets the "visibility" field if the given value is not nil.
func (*RepositoryUpdateOne) SetNillableWatchers ¶
func (ruo *RepositoryUpdateOne) SetNillableWatchers(i *int64) *RepositoryUpdateOne
SetNillableWatchers sets the "watchers" field if the given value is not nil.
func (*RepositoryUpdateOne) SetNillableWatchersCount ¶
func (ruo *RepositoryUpdateOne) SetNillableWatchersCount(i *int64) *RepositoryUpdateOne
SetNillableWatchersCount sets the "watchers_count" field if the given value is not nil.
func (*RepositoryUpdateOne) SetNodeID ¶
func (ruo *RepositoryUpdateOne) SetNodeID(s string) *RepositoryUpdateOne
SetNodeID sets the "node_id" field.
func (*RepositoryUpdateOne) SetNotificationsURL ¶
func (ruo *RepositoryUpdateOne) SetNotificationsURL(s string) *RepositoryUpdateOne
SetNotificationsURL sets the "notifications_url" field.
func (*RepositoryUpdateOne) SetOpenIssues ¶
func (ruo *RepositoryUpdateOne) SetOpenIssues(i int64) *RepositoryUpdateOne
SetOpenIssues sets the "open_issues" field.
func (*RepositoryUpdateOne) SetOpenIssuesCount ¶
func (ruo *RepositoryUpdateOne) SetOpenIssuesCount(i int64) *RepositoryUpdateOne
SetOpenIssuesCount sets the "open_issues_count" field.
func (*RepositoryUpdateOne) SetOwner ¶
func (ruo *RepositoryUpdateOne) SetOwner(u *User) *RepositoryUpdateOne
SetOwner sets the "owner" edge to the User entity.
func (*RepositoryUpdateOne) SetOwnerID ¶
func (ruo *RepositoryUpdateOne) SetOwnerID(id int64) *RepositoryUpdateOne
SetOwnerID sets the "owner" edge to the User entity by ID.
func (*RepositoryUpdateOne) SetPrivate ¶
func (ruo *RepositoryUpdateOne) SetPrivate(b bool) *RepositoryUpdateOne
SetPrivate sets the "private" field.
func (*RepositoryUpdateOne) SetPullsURL ¶
func (ruo *RepositoryUpdateOne) SetPullsURL(s string) *RepositoryUpdateOne
SetPullsURL sets the "pulls_url" field.
func (*RepositoryUpdateOne) SetPushedAt ¶
func (ruo *RepositoryUpdateOne) SetPushedAt(t time.Time) *RepositoryUpdateOne
SetPushedAt sets the "pushed_at" field.
func (*RepositoryUpdateOne) SetReleasesURL ¶
func (ruo *RepositoryUpdateOne) SetReleasesURL(s string) *RepositoryUpdateOne
SetReleasesURL sets the "releases_url" field.
func (*RepositoryUpdateOne) SetSSHURL ¶
func (ruo *RepositoryUpdateOne) SetSSHURL(s string) *RepositoryUpdateOne
SetSSHURL sets the "ssh_url" field.
func (*RepositoryUpdateOne) SetSize ¶
func (ruo *RepositoryUpdateOne) SetSize(i int64) *RepositoryUpdateOne
SetSize sets the "size" field.
func (*RepositoryUpdateOne) SetStargazersCount ¶
func (ruo *RepositoryUpdateOne) SetStargazersCount(i int64) *RepositoryUpdateOne
SetStargazersCount sets the "stargazers_count" field.
func (*RepositoryUpdateOne) SetStargazersURL ¶
func (ruo *RepositoryUpdateOne) SetStargazersURL(s string) *RepositoryUpdateOne
SetStargazersURL sets the "stargazers_url" field.
func (*RepositoryUpdateOne) SetStatusesURL ¶
func (ruo *RepositoryUpdateOne) SetStatusesURL(s string) *RepositoryUpdateOne
SetStatusesURL sets the "statuses_url" field.
func (*RepositoryUpdateOne) SetSubscribersCount ¶
func (ruo *RepositoryUpdateOne) SetSubscribersCount(i int64) *RepositoryUpdateOne
SetSubscribersCount sets the "subscribers_count" field.
func (*RepositoryUpdateOne) SetSubscribersURL ¶
func (ruo *RepositoryUpdateOne) SetSubscribersURL(s string) *RepositoryUpdateOne
SetSubscribersURL sets the "subscribers_url" field.
func (*RepositoryUpdateOne) SetSubscriptionURL ¶
func (ruo *RepositoryUpdateOne) SetSubscriptionURL(s string) *RepositoryUpdateOne
SetSubscriptionURL sets the "subscription_url" field.
func (*RepositoryUpdateOne) SetSvnURL ¶
func (ruo *RepositoryUpdateOne) SetSvnURL(s string) *RepositoryUpdateOne
SetSvnURL sets the "svn_url" field.
func (*RepositoryUpdateOne) SetTagsURL ¶
func (ruo *RepositoryUpdateOne) SetTagsURL(s string) *RepositoryUpdateOne
SetTagsURL sets the "tags_url" field.
func (*RepositoryUpdateOne) SetTeamsURL ¶
func (ruo *RepositoryUpdateOne) SetTeamsURL(s string) *RepositoryUpdateOne
SetTeamsURL sets the "teams_url" field.
func (*RepositoryUpdateOne) SetTopics ¶
func (ruo *RepositoryUpdateOne) SetTopics(s []string) *RepositoryUpdateOne
SetTopics sets the "topics" field.
func (*RepositoryUpdateOne) SetTreesURL ¶
func (ruo *RepositoryUpdateOne) SetTreesURL(s string) *RepositoryUpdateOne
SetTreesURL sets the "trees_url" field.
func (*RepositoryUpdateOne) SetURL ¶
func (ruo *RepositoryUpdateOne) SetURL(s string) *RepositoryUpdateOne
SetURL sets the "url" field.
func (*RepositoryUpdateOne) SetUpdatedAt ¶
func (ruo *RepositoryUpdateOne) SetUpdatedAt(t time.Time) *RepositoryUpdateOne
SetUpdatedAt sets the "updated_at" field.
func (*RepositoryUpdateOne) SetVisibility ¶
func (ruo *RepositoryUpdateOne) SetVisibility(r repository.Visibility) *RepositoryUpdateOne
SetVisibility sets the "visibility" field.
func (*RepositoryUpdateOne) SetWatchers ¶
func (ruo *RepositoryUpdateOne) SetWatchers(i int64) *RepositoryUpdateOne
SetWatchers sets the "watchers" field.
func (*RepositoryUpdateOne) SetWatchersCount ¶
func (ruo *RepositoryUpdateOne) SetWatchersCount(i int64) *RepositoryUpdateOne
SetWatchersCount sets the "watchers_count" field.
func (*RepositoryUpdateOne) Where ¶
func (ruo *RepositoryUpdateOne) Where(ps ...predicate.Repository) *RepositoryUpdateOne
Where appends a list predicates to the RepositoryUpdate builder.
type RepositoryUpsert ¶
RepositoryUpsert is the "OnConflict" setter.
func (*RepositoryUpsert) AddForks ¶
func (u *RepositoryUpsert) AddForks(v int64) *RepositoryUpsert
AddForks adds v to the "forks" field.
func (*RepositoryUpsert) AddForksCount ¶
func (u *RepositoryUpsert) AddForksCount(v int64) *RepositoryUpsert
AddForksCount adds v to the "forks_count" field.
func (*RepositoryUpsert) AddNetworkCount ¶
func (u *RepositoryUpsert) AddNetworkCount(v int64) *RepositoryUpsert
AddNetworkCount adds v to the "network_count" field.
func (*RepositoryUpsert) AddOpenIssues ¶
func (u *RepositoryUpsert) AddOpenIssues(v int64) *RepositoryUpsert
AddOpenIssues adds v to the "open_issues" field.
func (*RepositoryUpsert) AddOpenIssuesCount ¶
func (u *RepositoryUpsert) AddOpenIssuesCount(v int64) *RepositoryUpsert
AddOpenIssuesCount adds v to the "open_issues_count" field.
func (*RepositoryUpsert) AddSize ¶
func (u *RepositoryUpsert) AddSize(v int64) *RepositoryUpsert
AddSize adds v to the "size" field.
func (*RepositoryUpsert) AddStargazersCount ¶
func (u *RepositoryUpsert) AddStargazersCount(v int64) *RepositoryUpsert
AddStargazersCount adds v to the "stargazers_count" field.
func (*RepositoryUpsert) AddSubscribersCount ¶
func (u *RepositoryUpsert) AddSubscribersCount(v int64) *RepositoryUpsert
AddSubscribersCount adds v to the "subscribers_count" field.
func (*RepositoryUpsert) AddWatchers ¶
func (u *RepositoryUpsert) AddWatchers(v int64) *RepositoryUpsert
AddWatchers adds v to the "watchers" field.
func (*RepositoryUpsert) AddWatchersCount ¶
func (u *RepositoryUpsert) AddWatchersCount(v int64) *RepositoryUpsert
AddWatchersCount adds v to the "watchers_count" field.
func (*RepositoryUpsert) ClearDescription ¶
func (u *RepositoryUpsert) ClearDescription() *RepositoryUpsert
ClearDescription clears the value of the "description" field.
func (*RepositoryUpsert) ClearHomepage ¶
func (u *RepositoryUpsert) ClearHomepage() *RepositoryUpsert
ClearHomepage clears the value of the "homepage" field.
func (*RepositoryUpsert) ClearLanguage ¶
func (u *RepositoryUpsert) ClearLanguage() *RepositoryUpsert
ClearLanguage clears the value of the "language" field.
func (*RepositoryUpsert) ClearLicense ¶
func (u *RepositoryUpsert) ClearLicense() *RepositoryUpsert
ClearLicense clears the value of the "license" field.
func (*RepositoryUpsert) ClearMirrorURL ¶
func (u *RepositoryUpsert) ClearMirrorURL() *RepositoryUpsert
ClearMirrorURL clears the value of the "mirror_url" field.
func (*RepositoryUpsert) ClearVisibility ¶
func (u *RepositoryUpsert) ClearVisibility() *RepositoryUpsert
ClearVisibility clears the value of the "visibility" field.
func (*RepositoryUpsert) SetArchiveURL ¶
func (u *RepositoryUpsert) SetArchiveURL(v string) *RepositoryUpsert
SetArchiveURL sets the "archive_url" field.
func (*RepositoryUpsert) SetArchived ¶
func (u *RepositoryUpsert) SetArchived(v bool) *RepositoryUpsert
SetArchived sets the "archived" field.
func (*RepositoryUpsert) SetAssigneesURL ¶
func (u *RepositoryUpsert) SetAssigneesURL(v string) *RepositoryUpsert
SetAssigneesURL sets the "assignees_url" field.
func (*RepositoryUpsert) SetBlobsURL ¶
func (u *RepositoryUpsert) SetBlobsURL(v string) *RepositoryUpsert
SetBlobsURL sets the "blobs_url" field.
func (*RepositoryUpsert) SetBranchesURL ¶
func (u *RepositoryUpsert) SetBranchesURL(v string) *RepositoryUpsert
SetBranchesURL sets the "branches_url" field.
func (*RepositoryUpsert) SetCloneURL ¶
func (u *RepositoryUpsert) SetCloneURL(v string) *RepositoryUpsert
SetCloneURL sets the "clone_url" field.
func (*RepositoryUpsert) SetCollaboratorsURL ¶
func (u *RepositoryUpsert) SetCollaboratorsURL(v string) *RepositoryUpsert
SetCollaboratorsURL sets the "collaborators_url" field.
func (*RepositoryUpsert) SetCommentsURL ¶
func (u *RepositoryUpsert) SetCommentsURL(v string) *RepositoryUpsert
SetCommentsURL sets the "comments_url" field.
func (*RepositoryUpsert) SetCommitsURL ¶
func (u *RepositoryUpsert) SetCommitsURL(v string) *RepositoryUpsert
SetCommitsURL sets the "commits_url" field.
func (*RepositoryUpsert) SetCompareURL ¶
func (u *RepositoryUpsert) SetCompareURL(v string) *RepositoryUpsert
SetCompareURL sets the "compare_url" field.
func (*RepositoryUpsert) SetContentsURL ¶
func (u *RepositoryUpsert) SetContentsURL(v string) *RepositoryUpsert
SetContentsURL sets the "contents_url" field.
func (*RepositoryUpsert) SetContributorsURL ¶
func (u *RepositoryUpsert) SetContributorsURL(v string) *RepositoryUpsert
SetContributorsURL sets the "contributors_url" field.
func (*RepositoryUpsert) SetCreatedAt ¶
func (u *RepositoryUpsert) SetCreatedAt(v time.Time) *RepositoryUpsert
SetCreatedAt sets the "created_at" field.
func (*RepositoryUpsert) SetDefaultBranch ¶
func (u *RepositoryUpsert) SetDefaultBranch(v string) *RepositoryUpsert
SetDefaultBranch sets the "default_branch" field.
func (*RepositoryUpsert) SetDeploymentsURL ¶
func (u *RepositoryUpsert) SetDeploymentsURL(v string) *RepositoryUpsert
SetDeploymentsURL sets the "deployments_url" field.
func (*RepositoryUpsert) SetDescription ¶
func (u *RepositoryUpsert) SetDescription(v string) *RepositoryUpsert
SetDescription sets the "description" field.
func (*RepositoryUpsert) SetDisabled ¶
func (u *RepositoryUpsert) SetDisabled(v bool) *RepositoryUpsert
SetDisabled sets the "disabled" field.
func (*RepositoryUpsert) SetDownloadsURL ¶
func (u *RepositoryUpsert) SetDownloadsURL(v string) *RepositoryUpsert
SetDownloadsURL sets the "downloads_url" field.
func (*RepositoryUpsert) SetEventsURL ¶
func (u *RepositoryUpsert) SetEventsURL(v string) *RepositoryUpsert
SetEventsURL sets the "events_url" field.
func (*RepositoryUpsert) SetFork ¶
func (u *RepositoryUpsert) SetFork(v bool) *RepositoryUpsert
SetFork sets the "fork" field.
func (*RepositoryUpsert) SetForks ¶
func (u *RepositoryUpsert) SetForks(v int64) *RepositoryUpsert
SetForks sets the "forks" field.
func (*RepositoryUpsert) SetForksCount ¶
func (u *RepositoryUpsert) SetForksCount(v int64) *RepositoryUpsert
SetForksCount sets the "forks_count" field.
func (*RepositoryUpsert) SetForksURL ¶
func (u *RepositoryUpsert) SetForksURL(v string) *RepositoryUpsert
SetForksURL sets the "forks_url" field.
func (*RepositoryUpsert) SetFullName ¶
func (u *RepositoryUpsert) SetFullName(v string) *RepositoryUpsert
SetFullName sets the "full_name" field.
func (*RepositoryUpsert) SetGitCommitsURL ¶
func (u *RepositoryUpsert) SetGitCommitsURL(v string) *RepositoryUpsert
SetGitCommitsURL sets the "git_commits_url" field.
func (*RepositoryUpsert) SetGitRefsURL ¶
func (u *RepositoryUpsert) SetGitRefsURL(v string) *RepositoryUpsert
SetGitRefsURL sets the "git_refs_url" field.
func (*RepositoryUpsert) SetGitTagsURL ¶
func (u *RepositoryUpsert) SetGitTagsURL(v string) *RepositoryUpsert
SetGitTagsURL sets the "git_tags_url" field.
func (*RepositoryUpsert) SetGitURL ¶
func (u *RepositoryUpsert) SetGitURL(v string) *RepositoryUpsert
SetGitURL sets the "git_url" field.
func (*RepositoryUpsert) SetHTMLURL ¶
func (u *RepositoryUpsert) SetHTMLURL(v string) *RepositoryUpsert
SetHTMLURL sets the "html_url" field.
func (*RepositoryUpsert) SetHasDiscussions ¶
func (u *RepositoryUpsert) SetHasDiscussions(v bool) *RepositoryUpsert
SetHasDiscussions sets the "has_discussions" field.
func (*RepositoryUpsert) SetHasDownloads ¶
func (u *RepositoryUpsert) SetHasDownloads(v bool) *RepositoryUpsert
SetHasDownloads sets the "has_downloads" field.
func (*RepositoryUpsert) SetHasIssuesEnabled ¶
func (u *RepositoryUpsert) SetHasIssuesEnabled(v bool) *RepositoryUpsert
SetHasIssuesEnabled sets the "has_issues_enabled" field.
func (*RepositoryUpsert) SetHasPages ¶
func (u *RepositoryUpsert) SetHasPages(v bool) *RepositoryUpsert
SetHasPages sets the "has_pages" field.
func (*RepositoryUpsert) SetHasProjects ¶
func (u *RepositoryUpsert) SetHasProjects(v bool) *RepositoryUpsert
SetHasProjects sets the "has_projects" field.
func (*RepositoryUpsert) SetHasWiki ¶
func (u *RepositoryUpsert) SetHasWiki(v bool) *RepositoryUpsert
SetHasWiki sets the "has_wiki" field.
func (*RepositoryUpsert) SetHomepage ¶
func (u *RepositoryUpsert) SetHomepage(v string) *RepositoryUpsert
SetHomepage sets the "homepage" field.
func (*RepositoryUpsert) SetHooksURL ¶
func (u *RepositoryUpsert) SetHooksURL(v string) *RepositoryUpsert
SetHooksURL sets the "hooks_url" field.
func (*RepositoryUpsert) SetIsTemplate ¶
func (u *RepositoryUpsert) SetIsTemplate(v bool) *RepositoryUpsert
SetIsTemplate sets the "is_template" field.
func (*RepositoryUpsert) SetIssueCommentURL ¶
func (u *RepositoryUpsert) SetIssueCommentURL(v string) *RepositoryUpsert
SetIssueCommentURL sets the "issue_comment_url" field.
func (*RepositoryUpsert) SetIssueEventsURL ¶
func (u *RepositoryUpsert) SetIssueEventsURL(v string) *RepositoryUpsert
SetIssueEventsURL sets the "issue_events_url" field.
func (*RepositoryUpsert) SetIssuesURL ¶
func (u *RepositoryUpsert) SetIssuesURL(v string) *RepositoryUpsert
SetIssuesURL sets the "issues_url" field.
func (*RepositoryUpsert) SetKeysURL ¶
func (u *RepositoryUpsert) SetKeysURL(v string) *RepositoryUpsert
SetKeysURL sets the "keys_url" field.
func (*RepositoryUpsert) SetLabelsURL ¶
func (u *RepositoryUpsert) SetLabelsURL(v string) *RepositoryUpsert
SetLabelsURL sets the "labels_url" field.
func (*RepositoryUpsert) SetLanguage ¶
func (u *RepositoryUpsert) SetLanguage(v string) *RepositoryUpsert
SetLanguage sets the "language" field.
func (*RepositoryUpsert) SetLanguagesURL ¶
func (u *RepositoryUpsert) SetLanguagesURL(v string) *RepositoryUpsert
SetLanguagesURL sets the "languages_url" field.
func (*RepositoryUpsert) SetLicense ¶
func (u *RepositoryUpsert) SetLicense(v *model.License) *RepositoryUpsert
SetLicense sets the "license" field.
func (*RepositoryUpsert) SetMergesURL ¶
func (u *RepositoryUpsert) SetMergesURL(v string) *RepositoryUpsert
SetMergesURL sets the "merges_url" field.
func (*RepositoryUpsert) SetMilestonesURL ¶
func (u *RepositoryUpsert) SetMilestonesURL(v string) *RepositoryUpsert
SetMilestonesURL sets the "milestones_url" field.
func (*RepositoryUpsert) SetMirrorURL ¶
func (u *RepositoryUpsert) SetMirrorURL(v string) *RepositoryUpsert
SetMirrorURL sets the "mirror_url" field.
func (*RepositoryUpsert) SetName ¶
func (u *RepositoryUpsert) SetName(v string) *RepositoryUpsert
SetName sets the "name" field.
func (*RepositoryUpsert) SetNetworkCount ¶
func (u *RepositoryUpsert) SetNetworkCount(v int64) *RepositoryUpsert
SetNetworkCount sets the "network_count" field.
func (*RepositoryUpsert) SetNodeID ¶
func (u *RepositoryUpsert) SetNodeID(v string) *RepositoryUpsert
SetNodeID sets the "node_id" field.
func (*RepositoryUpsert) SetNotificationsURL ¶
func (u *RepositoryUpsert) SetNotificationsURL(v string) *RepositoryUpsert
SetNotificationsURL sets the "notifications_url" field.
func (*RepositoryUpsert) SetOpenIssues ¶
func (u *RepositoryUpsert) SetOpenIssues(v int64) *RepositoryUpsert
SetOpenIssues sets the "open_issues" field.
func (*RepositoryUpsert) SetOpenIssuesCount ¶
func (u *RepositoryUpsert) SetOpenIssuesCount(v int64) *RepositoryUpsert
SetOpenIssuesCount sets the "open_issues_count" field.
func (*RepositoryUpsert) SetPrivate ¶
func (u *RepositoryUpsert) SetPrivate(v bool) *RepositoryUpsert
SetPrivate sets the "private" field.
func (*RepositoryUpsert) SetPullsURL ¶
func (u *RepositoryUpsert) SetPullsURL(v string) *RepositoryUpsert
SetPullsURL sets the "pulls_url" field.
func (*RepositoryUpsert) SetPushedAt ¶
func (u *RepositoryUpsert) SetPushedAt(v time.Time) *RepositoryUpsert
SetPushedAt sets the "pushed_at" field.
func (*RepositoryUpsert) SetReleasesURL ¶
func (u *RepositoryUpsert) SetReleasesURL(v string) *RepositoryUpsert
SetReleasesURL sets the "releases_url" field.
func (*RepositoryUpsert) SetSSHURL ¶
func (u *RepositoryUpsert) SetSSHURL(v string) *RepositoryUpsert
SetSSHURL sets the "ssh_url" field.
func (*RepositoryUpsert) SetSize ¶
func (u *RepositoryUpsert) SetSize(v int64) *RepositoryUpsert
SetSize sets the "size" field.
func (*RepositoryUpsert) SetStargazersCount ¶
func (u *RepositoryUpsert) SetStargazersCount(v int64) *RepositoryUpsert
SetStargazersCount sets the "stargazers_count" field.
func (*RepositoryUpsert) SetStargazersURL ¶
func (u *RepositoryUpsert) SetStargazersURL(v string) *RepositoryUpsert
SetStargazersURL sets the "stargazers_url" field.
func (*RepositoryUpsert) SetStatusesURL ¶
func (u *RepositoryUpsert) SetStatusesURL(v string) *RepositoryUpsert
SetStatusesURL sets the "statuses_url" field.
func (*RepositoryUpsert) SetSubscribersCount ¶
func (u *RepositoryUpsert) SetSubscribersCount(v int64) *RepositoryUpsert
SetSubscribersCount sets the "subscribers_count" field.
func (*RepositoryUpsert) SetSubscribersURL ¶
func (u *RepositoryUpsert) SetSubscribersURL(v string) *RepositoryUpsert
SetSubscribersURL sets the "subscribers_url" field.
func (*RepositoryUpsert) SetSubscriptionURL ¶
func (u *RepositoryUpsert) SetSubscriptionURL(v string) *RepositoryUpsert
SetSubscriptionURL sets the "subscription_url" field.
func (*RepositoryUpsert) SetSvnURL ¶
func (u *RepositoryUpsert) SetSvnURL(v string) *RepositoryUpsert
SetSvnURL sets the "svn_url" field.
func (*RepositoryUpsert) SetTagsURL ¶
func (u *RepositoryUpsert) SetTagsURL(v string) *RepositoryUpsert
SetTagsURL sets the "tags_url" field.
func (*RepositoryUpsert) SetTeamsURL ¶
func (u *RepositoryUpsert) SetTeamsURL(v string) *RepositoryUpsert
SetTeamsURL sets the "teams_url" field.
func (*RepositoryUpsert) SetTopics ¶
func (u *RepositoryUpsert) SetTopics(v []string) *RepositoryUpsert
SetTopics sets the "topics" field.
func (*RepositoryUpsert) SetTreesURL ¶
func (u *RepositoryUpsert) SetTreesURL(v string) *RepositoryUpsert
SetTreesURL sets the "trees_url" field.
func (*RepositoryUpsert) SetURL ¶
func (u *RepositoryUpsert) SetURL(v string) *RepositoryUpsert
SetURL sets the "url" field.
func (*RepositoryUpsert) SetUpdatedAt ¶
func (u *RepositoryUpsert) SetUpdatedAt(v time.Time) *RepositoryUpsert
SetUpdatedAt sets the "updated_at" field.
func (*RepositoryUpsert) SetVisibility ¶
func (u *RepositoryUpsert) SetVisibility(v repository.Visibility) *RepositoryUpsert
SetVisibility sets the "visibility" field.
func (*RepositoryUpsert) SetWatchers ¶
func (u *RepositoryUpsert) SetWatchers(v int64) *RepositoryUpsert
SetWatchers sets the "watchers" field.
func (*RepositoryUpsert) SetWatchersCount ¶
func (u *RepositoryUpsert) SetWatchersCount(v int64) *RepositoryUpsert
SetWatchersCount sets the "watchers_count" field.
func (*RepositoryUpsert) UpdateArchiveURL ¶
func (u *RepositoryUpsert) UpdateArchiveURL() *RepositoryUpsert
UpdateArchiveURL sets the "archive_url" field to the value that was provided on create.
func (*RepositoryUpsert) UpdateArchived ¶
func (u *RepositoryUpsert) UpdateArchived() *RepositoryUpsert
UpdateArchived sets the "archived" field to the value that was provided on create.
func (*RepositoryUpsert) UpdateAssigneesURL ¶
func (u *RepositoryUpsert) UpdateAssigneesURL() *RepositoryUpsert
UpdateAssigneesURL sets the "assignees_url" field to the value that was provided on create.
func (*RepositoryUpsert) UpdateBlobsURL ¶
func (u *RepositoryUpsert) UpdateBlobsURL() *RepositoryUpsert
UpdateBlobsURL sets the "blobs_url" field to the value that was provided on create.
func (*RepositoryUpsert) UpdateBranchesURL ¶
func (u *RepositoryUpsert) UpdateBranchesURL() *RepositoryUpsert
UpdateBranchesURL sets the "branches_url" field to the value that was provided on create.
func (*RepositoryUpsert) UpdateCloneURL ¶
func (u *RepositoryUpsert) UpdateCloneURL() *RepositoryUpsert
UpdateCloneURL sets the "clone_url" field to the value that was provided on create.
func (*RepositoryUpsert) UpdateCollaboratorsURL ¶
func (u *RepositoryUpsert) UpdateCollaboratorsURL() *RepositoryUpsert
UpdateCollaboratorsURL sets the "collaborators_url" field to the value that was provided on create.
func (*RepositoryUpsert) UpdateCommentsURL ¶
func (u *RepositoryUpsert) UpdateCommentsURL() *RepositoryUpsert
UpdateCommentsURL sets the "comments_url" field to the value that was provided on create.
func (*RepositoryUpsert) UpdateCommitsURL ¶
func (u *RepositoryUpsert) UpdateCommitsURL() *RepositoryUpsert
UpdateCommitsURL sets the "commits_url" field to the value that was provided on create.
func (*RepositoryUpsert) UpdateCompareURL ¶
func (u *RepositoryUpsert) UpdateCompareURL() *RepositoryUpsert
UpdateCompareURL sets the "compare_url" field to the value that was provided on create.
func (*RepositoryUpsert) UpdateContentsURL ¶
func (u *RepositoryUpsert) UpdateContentsURL() *RepositoryUpsert
UpdateContentsURL sets the "contents_url" field to the value that was provided on create.
func (*RepositoryUpsert) UpdateContributorsURL ¶
func (u *RepositoryUpsert) UpdateContributorsURL() *RepositoryUpsert
UpdateContributorsURL sets the "contributors_url" field to the value that was provided on create.
func (*RepositoryUpsert) UpdateCreatedAt ¶
func (u *RepositoryUpsert) UpdateCreatedAt() *RepositoryUpsert
UpdateCreatedAt sets the "created_at" field to the value that was provided on create.
func (*RepositoryUpsert) UpdateDefaultBranch ¶
func (u *RepositoryUpsert) UpdateDefaultBranch() *RepositoryUpsert
UpdateDefaultBranch sets the "default_branch" field to the value that was provided on create.
func (*RepositoryUpsert) UpdateDeploymentsURL ¶
func (u *RepositoryUpsert) UpdateDeploymentsURL() *RepositoryUpsert
UpdateDeploymentsURL sets the "deployments_url" field to the value that was provided on create.
func (*RepositoryUpsert) UpdateDescription ¶
func (u *RepositoryUpsert) UpdateDescription() *RepositoryUpsert
UpdateDescription sets the "description" field to the value that was provided on create.
func (*RepositoryUpsert) UpdateDisabled ¶
func (u *RepositoryUpsert) UpdateDisabled() *RepositoryUpsert
UpdateDisabled sets the "disabled" field to the value that was provided on create.
func (*RepositoryUpsert) UpdateDownloadsURL ¶
func (u *RepositoryUpsert) UpdateDownloadsURL() *RepositoryUpsert
UpdateDownloadsURL sets the "downloads_url" field to the value that was provided on create.
func (*RepositoryUpsert) UpdateEventsURL ¶
func (u *RepositoryUpsert) UpdateEventsURL() *RepositoryUpsert
UpdateEventsURL sets the "events_url" field to the value that was provided on create.
func (*RepositoryUpsert) UpdateFork ¶
func (u *RepositoryUpsert) UpdateFork() *RepositoryUpsert
UpdateFork sets the "fork" field to the value that was provided on create.
func (*RepositoryUpsert) UpdateForks ¶
func (u *RepositoryUpsert) UpdateForks() *RepositoryUpsert
UpdateForks sets the "forks" field to the value that was provided on create.
func (*RepositoryUpsert) UpdateForksCount ¶
func (u *RepositoryUpsert) UpdateForksCount() *RepositoryUpsert
UpdateForksCount sets the "forks_count" field to the value that was provided on create.
func (*RepositoryUpsert) UpdateForksURL ¶
func (u *RepositoryUpsert) UpdateForksURL() *RepositoryUpsert
UpdateForksURL sets the "forks_url" field to the value that was provided on create.
func (*RepositoryUpsert) UpdateFullName ¶
func (u *RepositoryUpsert) UpdateFullName() *RepositoryUpsert
UpdateFullName sets the "full_name" field to the value that was provided on create.
func (*RepositoryUpsert) UpdateGitCommitsURL ¶
func (u *RepositoryUpsert) UpdateGitCommitsURL() *RepositoryUpsert
UpdateGitCommitsURL sets the "git_commits_url" field to the value that was provided on create.
func (*RepositoryUpsert) UpdateGitRefsURL ¶
func (u *RepositoryUpsert) UpdateGitRefsURL() *RepositoryUpsert
UpdateGitRefsURL sets the "git_refs_url" field to the value that was provided on create.
func (*RepositoryUpsert) UpdateGitTagsURL ¶
func (u *RepositoryUpsert) UpdateGitTagsURL() *RepositoryUpsert
UpdateGitTagsURL sets the "git_tags_url" field to the value that was provided on create.
func (*RepositoryUpsert) UpdateGitURL ¶
func (u *RepositoryUpsert) UpdateGitURL() *RepositoryUpsert
UpdateGitURL sets the "git_url" field to the value that was provided on create.
func (*RepositoryUpsert) UpdateHTMLURL ¶
func (u *RepositoryUpsert) UpdateHTMLURL() *RepositoryUpsert
UpdateHTMLURL sets the "html_url" field to the value that was provided on create.
func (*RepositoryUpsert) UpdateHasDiscussions ¶
func (u *RepositoryUpsert) UpdateHasDiscussions() *RepositoryUpsert
UpdateHasDiscussions sets the "has_discussions" field to the value that was provided on create.
func (*RepositoryUpsert) UpdateHasDownloads ¶
func (u *RepositoryUpsert) UpdateHasDownloads() *RepositoryUpsert
UpdateHasDownloads sets the "has_downloads" field to the value that was provided on create.
func (*RepositoryUpsert) UpdateHasIssuesEnabled ¶
func (u *RepositoryUpsert) UpdateHasIssuesEnabled() *RepositoryUpsert
UpdateHasIssuesEnabled sets the "has_issues_enabled" field to the value that was provided on create.
func (*RepositoryUpsert) UpdateHasPages ¶
func (u *RepositoryUpsert) UpdateHasPages() *RepositoryUpsert
UpdateHasPages sets the "has_pages" field to the value that was provided on create.
func (*RepositoryUpsert) UpdateHasProjects ¶
func (u *RepositoryUpsert) UpdateHasProjects() *RepositoryUpsert
UpdateHasProjects sets the "has_projects" field to the value that was provided on create.
func (*RepositoryUpsert) UpdateHasWiki ¶
func (u *RepositoryUpsert) UpdateHasWiki() *RepositoryUpsert
UpdateHasWiki sets the "has_wiki" field to the value that was provided on create.
func (*RepositoryUpsert) UpdateHomepage ¶
func (u *RepositoryUpsert) UpdateHomepage() *RepositoryUpsert
UpdateHomepage sets the "homepage" field to the value that was provided on create.
func (*RepositoryUpsert) UpdateHooksURL ¶
func (u *RepositoryUpsert) UpdateHooksURL() *RepositoryUpsert
UpdateHooksURL sets the "hooks_url" field to the value that was provided on create.
func (*RepositoryUpsert) UpdateIsTemplate ¶
func (u *RepositoryUpsert) UpdateIsTemplate() *RepositoryUpsert
UpdateIsTemplate sets the "is_template" field to the value that was provided on create.
func (*RepositoryUpsert) UpdateIssueCommentURL ¶
func (u *RepositoryUpsert) UpdateIssueCommentURL() *RepositoryUpsert
UpdateIssueCommentURL sets the "issue_comment_url" field to the value that was provided on create.
func (*RepositoryUpsert) UpdateIssueEventsURL ¶
func (u *RepositoryUpsert) UpdateIssueEventsURL() *RepositoryUpsert
UpdateIssueEventsURL sets the "issue_events_url" field to the value that was provided on create.
func (*RepositoryUpsert) UpdateIssuesURL ¶
func (u *RepositoryUpsert) UpdateIssuesURL() *RepositoryUpsert
UpdateIssuesURL sets the "issues_url" field to the value that was provided on create.
func (*RepositoryUpsert) UpdateKeysURL ¶
func (u *RepositoryUpsert) UpdateKeysURL() *RepositoryUpsert
UpdateKeysURL sets the "keys_url" field to the value that was provided on create.
func (*RepositoryUpsert) UpdateLabelsURL ¶
func (u *RepositoryUpsert) UpdateLabelsURL() *RepositoryUpsert
UpdateLabelsURL sets the "labels_url" field to the value that was provided on create.
func (*RepositoryUpsert) UpdateLanguage ¶
func (u *RepositoryUpsert) UpdateLanguage() *RepositoryUpsert
UpdateLanguage sets the "language" field to the value that was provided on create.
func (*RepositoryUpsert) UpdateLanguagesURL ¶
func (u *RepositoryUpsert) UpdateLanguagesURL() *RepositoryUpsert
UpdateLanguagesURL sets the "languages_url" field to the value that was provided on create.
func (*RepositoryUpsert) UpdateLicense ¶
func (u *RepositoryUpsert) UpdateLicense() *RepositoryUpsert
UpdateLicense sets the "license" field to the value that was provided on create.
func (*RepositoryUpsert) UpdateMergesURL ¶
func (u *RepositoryUpsert) UpdateMergesURL() *RepositoryUpsert
UpdateMergesURL sets the "merges_url" field to the value that was provided on create.
func (*RepositoryUpsert) UpdateMilestonesURL ¶
func (u *RepositoryUpsert) UpdateMilestonesURL() *RepositoryUpsert
UpdateMilestonesURL sets the "milestones_url" field to the value that was provided on create.
func (*RepositoryUpsert) UpdateMirrorURL ¶
func (u *RepositoryUpsert) UpdateMirrorURL() *RepositoryUpsert
UpdateMirrorURL sets the "mirror_url" field to the value that was provided on create.
func (*RepositoryUpsert) UpdateName ¶
func (u *RepositoryUpsert) UpdateName() *RepositoryUpsert
UpdateName sets the "name" field to the value that was provided on create.
func (*RepositoryUpsert) UpdateNetworkCount ¶
func (u *RepositoryUpsert) UpdateNetworkCount() *RepositoryUpsert
UpdateNetworkCount sets the "network_count" field to the value that was provided on create.
func (*RepositoryUpsert) UpdateNodeID ¶
func (u *RepositoryUpsert) UpdateNodeID() *RepositoryUpsert
UpdateNodeID sets the "node_id" field to the value that was provided on create.
func (*RepositoryUpsert) UpdateNotificationsURL ¶
func (u *RepositoryUpsert) UpdateNotificationsURL() *RepositoryUpsert
UpdateNotificationsURL sets the "notifications_url" field to the value that was provided on create.
func (*RepositoryUpsert) UpdateOpenIssues ¶
func (u *RepositoryUpsert) UpdateOpenIssues() *RepositoryUpsert
UpdateOpenIssues sets the "open_issues" field to the value that was provided on create.
func (*RepositoryUpsert) UpdateOpenIssuesCount ¶
func (u *RepositoryUpsert) UpdateOpenIssuesCount() *RepositoryUpsert
UpdateOpenIssuesCount sets the "open_issues_count" field to the value that was provided on create.
func (*RepositoryUpsert) UpdatePrivate ¶
func (u *RepositoryUpsert) UpdatePrivate() *RepositoryUpsert
UpdatePrivate sets the "private" field to the value that was provided on create.
func (*RepositoryUpsert) UpdatePullsURL ¶
func (u *RepositoryUpsert) UpdatePullsURL() *RepositoryUpsert
UpdatePullsURL sets the "pulls_url" field to the value that was provided on create.
func (*RepositoryUpsert) UpdatePushedAt ¶
func (u *RepositoryUpsert) UpdatePushedAt() *RepositoryUpsert
UpdatePushedAt sets the "pushed_at" field to the value that was provided on create.
func (*RepositoryUpsert) UpdateReleasesURL ¶
func (u *RepositoryUpsert) UpdateReleasesURL() *RepositoryUpsert
UpdateReleasesURL sets the "releases_url" field to the value that was provided on create.
func (*RepositoryUpsert) UpdateSSHURL ¶
func (u *RepositoryUpsert) UpdateSSHURL() *RepositoryUpsert
UpdateSSHURL sets the "ssh_url" field to the value that was provided on create.
func (*RepositoryUpsert) UpdateSize ¶
func (u *RepositoryUpsert) UpdateSize() *RepositoryUpsert
UpdateSize sets the "size" field to the value that was provided on create.
func (*RepositoryUpsert) UpdateStargazersCount ¶
func (u *RepositoryUpsert) UpdateStargazersCount() *RepositoryUpsert
UpdateStargazersCount sets the "stargazers_count" field to the value that was provided on create.
func (*RepositoryUpsert) UpdateStargazersURL ¶
func (u *RepositoryUpsert) UpdateStargazersURL() *RepositoryUpsert
UpdateStargazersURL sets the "stargazers_url" field to the value that was provided on create.
func (*RepositoryUpsert) UpdateStatusesURL ¶
func (u *RepositoryUpsert) UpdateStatusesURL() *RepositoryUpsert
UpdateStatusesURL sets the "statuses_url" field to the value that was provided on create.
func (*RepositoryUpsert) UpdateSubscribersCount ¶
func (u *RepositoryUpsert) UpdateSubscribersCount() *RepositoryUpsert
UpdateSubscribersCount sets the "subscribers_count" field to the value that was provided on create.
func (*RepositoryUpsert) UpdateSubscribersURL ¶
func (u *RepositoryUpsert) UpdateSubscribersURL() *RepositoryUpsert
UpdateSubscribersURL sets the "subscribers_url" field to the value that was provided on create.
func (*RepositoryUpsert) UpdateSubscriptionURL ¶
func (u *RepositoryUpsert) UpdateSubscriptionURL() *RepositoryUpsert
UpdateSubscriptionURL sets the "subscription_url" field to the value that was provided on create.
func (*RepositoryUpsert) UpdateSvnURL ¶
func (u *RepositoryUpsert) UpdateSvnURL() *RepositoryUpsert
UpdateSvnURL sets the "svn_url" field to the value that was provided on create.
func (*RepositoryUpsert) UpdateTagsURL ¶
func (u *RepositoryUpsert) UpdateTagsURL() *RepositoryUpsert
UpdateTagsURL sets the "tags_url" field to the value that was provided on create.
func (*RepositoryUpsert) UpdateTeamsURL ¶
func (u *RepositoryUpsert) UpdateTeamsURL() *RepositoryUpsert
UpdateTeamsURL sets the "teams_url" field to the value that was provided on create.
func (*RepositoryUpsert) UpdateTopics ¶
func (u *RepositoryUpsert) UpdateTopics() *RepositoryUpsert
UpdateTopics sets the "topics" field to the value that was provided on create.
func (*RepositoryUpsert) UpdateTreesURL ¶
func (u *RepositoryUpsert) UpdateTreesURL() *RepositoryUpsert
UpdateTreesURL sets the "trees_url" field to the value that was provided on create.
func (*RepositoryUpsert) UpdateURL ¶
func (u *RepositoryUpsert) UpdateURL() *RepositoryUpsert
UpdateURL sets the "url" field to the value that was provided on create.
func (*RepositoryUpsert) UpdateUpdatedAt ¶
func (u *RepositoryUpsert) UpdateUpdatedAt() *RepositoryUpsert
UpdateUpdatedAt sets the "updated_at" field to the value that was provided on create.
func (*RepositoryUpsert) UpdateVisibility ¶
func (u *RepositoryUpsert) UpdateVisibility() *RepositoryUpsert
UpdateVisibility sets the "visibility" field to the value that was provided on create.
func (*RepositoryUpsert) UpdateWatchers ¶
func (u *RepositoryUpsert) UpdateWatchers() *RepositoryUpsert
UpdateWatchers sets the "watchers" field to the value that was provided on create.
func (*RepositoryUpsert) UpdateWatchersCount ¶
func (u *RepositoryUpsert) UpdateWatchersCount() *RepositoryUpsert
UpdateWatchersCount sets the "watchers_count" field to the value that was provided on create.
type RepositoryUpsertBulk ¶
type RepositoryUpsertBulk struct {
// contains filtered or unexported fields
}
RepositoryUpsertBulk is the builder for "upsert"-ing a bulk of Repository nodes.
func (*RepositoryUpsertBulk) AddForks ¶
func (u *RepositoryUpsertBulk) AddForks(v int64) *RepositoryUpsertBulk
AddForks adds v to the "forks" field.
func (*RepositoryUpsertBulk) AddForksCount ¶
func (u *RepositoryUpsertBulk) AddForksCount(v int64) *RepositoryUpsertBulk
AddForksCount adds v to the "forks_count" field.
func (*RepositoryUpsertBulk) AddNetworkCount ¶
func (u *RepositoryUpsertBulk) AddNetworkCount(v int64) *RepositoryUpsertBulk
AddNetworkCount adds v to the "network_count" field.
func (*RepositoryUpsertBulk) AddOpenIssues ¶
func (u *RepositoryUpsertBulk) AddOpenIssues(v int64) *RepositoryUpsertBulk
AddOpenIssues adds v to the "open_issues" field.
func (*RepositoryUpsertBulk) AddOpenIssuesCount ¶
func (u *RepositoryUpsertBulk) AddOpenIssuesCount(v int64) *RepositoryUpsertBulk
AddOpenIssuesCount adds v to the "open_issues_count" field.
func (*RepositoryUpsertBulk) AddSize ¶
func (u *RepositoryUpsertBulk) AddSize(v int64) *RepositoryUpsertBulk
AddSize adds v to the "size" field.
func (*RepositoryUpsertBulk) AddStargazersCount ¶
func (u *RepositoryUpsertBulk) AddStargazersCount(v int64) *RepositoryUpsertBulk
AddStargazersCount adds v to the "stargazers_count" field.
func (*RepositoryUpsertBulk) AddSubscribersCount ¶
func (u *RepositoryUpsertBulk) AddSubscribersCount(v int64) *RepositoryUpsertBulk
AddSubscribersCount adds v to the "subscribers_count" field.
func (*RepositoryUpsertBulk) AddWatchers ¶
func (u *RepositoryUpsertBulk) AddWatchers(v int64) *RepositoryUpsertBulk
AddWatchers adds v to the "watchers" field.
func (*RepositoryUpsertBulk) AddWatchersCount ¶
func (u *RepositoryUpsertBulk) AddWatchersCount(v int64) *RepositoryUpsertBulk
AddWatchersCount adds v to the "watchers_count" field.
func (*RepositoryUpsertBulk) ClearDescription ¶
func (u *RepositoryUpsertBulk) ClearDescription() *RepositoryUpsertBulk
ClearDescription clears the value of the "description" field.
func (*RepositoryUpsertBulk) ClearHomepage ¶
func (u *RepositoryUpsertBulk) ClearHomepage() *RepositoryUpsertBulk
ClearHomepage clears the value of the "homepage" field.
func (*RepositoryUpsertBulk) ClearLanguage ¶
func (u *RepositoryUpsertBulk) ClearLanguage() *RepositoryUpsertBulk
ClearLanguage clears the value of the "language" field.
func (*RepositoryUpsertBulk) ClearLicense ¶
func (u *RepositoryUpsertBulk) ClearLicense() *RepositoryUpsertBulk
ClearLicense clears the value of the "license" field.
func (*RepositoryUpsertBulk) ClearMirrorURL ¶
func (u *RepositoryUpsertBulk) ClearMirrorURL() *RepositoryUpsertBulk
ClearMirrorURL clears the value of the "mirror_url" field.
func (*RepositoryUpsertBulk) ClearVisibility ¶
func (u *RepositoryUpsertBulk) ClearVisibility() *RepositoryUpsertBulk
ClearVisibility clears the value of the "visibility" field.
func (*RepositoryUpsertBulk) DoNothing ¶
func (u *RepositoryUpsertBulk) DoNothing() *RepositoryUpsertBulk
DoNothing configures the conflict_action to `DO NOTHING`. Supported only by SQLite and PostgreSQL.
func (*RepositoryUpsertBulk) Exec ¶
func (u *RepositoryUpsertBulk) Exec(ctx context.Context) error
Exec executes the query.
func (*RepositoryUpsertBulk) ExecX ¶
func (u *RepositoryUpsertBulk) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*RepositoryUpsertBulk) Ignore ¶
func (u *RepositoryUpsertBulk) Ignore() *RepositoryUpsertBulk
Ignore sets each column to itself in case of conflict. Using this option is equivalent to using:
client.Repository.Create(). OnConflict(sql.ResolveWithIgnore()). Exec(ctx)
func (*RepositoryUpsertBulk) SetArchiveURL ¶
func (u *RepositoryUpsertBulk) SetArchiveURL(v string) *RepositoryUpsertBulk
SetArchiveURL sets the "archive_url" field.
func (*RepositoryUpsertBulk) SetArchived ¶
func (u *RepositoryUpsertBulk) SetArchived(v bool) *RepositoryUpsertBulk
SetArchived sets the "archived" field.
func (*RepositoryUpsertBulk) SetAssigneesURL ¶
func (u *RepositoryUpsertBulk) SetAssigneesURL(v string) *RepositoryUpsertBulk
SetAssigneesURL sets the "assignees_url" field.
func (*RepositoryUpsertBulk) SetBlobsURL ¶
func (u *RepositoryUpsertBulk) SetBlobsURL(v string) *RepositoryUpsertBulk
SetBlobsURL sets the "blobs_url" field.
func (*RepositoryUpsertBulk) SetBranchesURL ¶
func (u *RepositoryUpsertBulk) SetBranchesURL(v string) *RepositoryUpsertBulk
SetBranchesURL sets the "branches_url" field.
func (*RepositoryUpsertBulk) SetCloneURL ¶
func (u *RepositoryUpsertBulk) SetCloneURL(v string) *RepositoryUpsertBulk
SetCloneURL sets the "clone_url" field.
func (*RepositoryUpsertBulk) SetCollaboratorsURL ¶
func (u *RepositoryUpsertBulk) SetCollaboratorsURL(v string) *RepositoryUpsertBulk
SetCollaboratorsURL sets the "collaborators_url" field.
func (*RepositoryUpsertBulk) SetCommentsURL ¶
func (u *RepositoryUpsertBulk) SetCommentsURL(v string) *RepositoryUpsertBulk
SetCommentsURL sets the "comments_url" field.
func (*RepositoryUpsertBulk) SetCommitsURL ¶
func (u *RepositoryUpsertBulk) SetCommitsURL(v string) *RepositoryUpsertBulk
SetCommitsURL sets the "commits_url" field.
func (*RepositoryUpsertBulk) SetCompareURL ¶
func (u *RepositoryUpsertBulk) SetCompareURL(v string) *RepositoryUpsertBulk
SetCompareURL sets the "compare_url" field.
func (*RepositoryUpsertBulk) SetContentsURL ¶
func (u *RepositoryUpsertBulk) SetContentsURL(v string) *RepositoryUpsertBulk
SetContentsURL sets the "contents_url" field.
func (*RepositoryUpsertBulk) SetContributorsURL ¶
func (u *RepositoryUpsertBulk) SetContributorsURL(v string) *RepositoryUpsertBulk
SetContributorsURL sets the "contributors_url" field.
func (*RepositoryUpsertBulk) SetCreatedAt ¶
func (u *RepositoryUpsertBulk) SetCreatedAt(v time.Time) *RepositoryUpsertBulk
SetCreatedAt sets the "created_at" field.
func (*RepositoryUpsertBulk) SetDefaultBranch ¶
func (u *RepositoryUpsertBulk) SetDefaultBranch(v string) *RepositoryUpsertBulk
SetDefaultBranch sets the "default_branch" field.
func (*RepositoryUpsertBulk) SetDeploymentsURL ¶
func (u *RepositoryUpsertBulk) SetDeploymentsURL(v string) *RepositoryUpsertBulk
SetDeploymentsURL sets the "deployments_url" field.
func (*RepositoryUpsertBulk) SetDescription ¶
func (u *RepositoryUpsertBulk) SetDescription(v string) *RepositoryUpsertBulk
SetDescription sets the "description" field.
func (*RepositoryUpsertBulk) SetDisabled ¶
func (u *RepositoryUpsertBulk) SetDisabled(v bool) *RepositoryUpsertBulk
SetDisabled sets the "disabled" field.
func (*RepositoryUpsertBulk) SetDownloadsURL ¶
func (u *RepositoryUpsertBulk) SetDownloadsURL(v string) *RepositoryUpsertBulk
SetDownloadsURL sets the "downloads_url" field.
func (*RepositoryUpsertBulk) SetEventsURL ¶
func (u *RepositoryUpsertBulk) SetEventsURL(v string) *RepositoryUpsertBulk
SetEventsURL sets the "events_url" field.
func (*RepositoryUpsertBulk) SetFork ¶
func (u *RepositoryUpsertBulk) SetFork(v bool) *RepositoryUpsertBulk
SetFork sets the "fork" field.
func (*RepositoryUpsertBulk) SetForks ¶
func (u *RepositoryUpsertBulk) SetForks(v int64) *RepositoryUpsertBulk
SetForks sets the "forks" field.
func (*RepositoryUpsertBulk) SetForksCount ¶
func (u *RepositoryUpsertBulk) SetForksCount(v int64) *RepositoryUpsertBulk
SetForksCount sets the "forks_count" field.
func (*RepositoryUpsertBulk) SetForksURL ¶
func (u *RepositoryUpsertBulk) SetForksURL(v string) *RepositoryUpsertBulk
SetForksURL sets the "forks_url" field.
func (*RepositoryUpsertBulk) SetFullName ¶
func (u *RepositoryUpsertBulk) SetFullName(v string) *RepositoryUpsertBulk
SetFullName sets the "full_name" field.
func (*RepositoryUpsertBulk) SetGitCommitsURL ¶
func (u *RepositoryUpsertBulk) SetGitCommitsURL(v string) *RepositoryUpsertBulk
SetGitCommitsURL sets the "git_commits_url" field.
func (*RepositoryUpsertBulk) SetGitRefsURL ¶
func (u *RepositoryUpsertBulk) SetGitRefsURL(v string) *RepositoryUpsertBulk
SetGitRefsURL sets the "git_refs_url" field.
func (*RepositoryUpsertBulk) SetGitTagsURL ¶
func (u *RepositoryUpsertBulk) SetGitTagsURL(v string) *RepositoryUpsertBulk
SetGitTagsURL sets the "git_tags_url" field.
func (*RepositoryUpsertBulk) SetGitURL ¶
func (u *RepositoryUpsertBulk) SetGitURL(v string) *RepositoryUpsertBulk
SetGitURL sets the "git_url" field.
func (*RepositoryUpsertBulk) SetHTMLURL ¶
func (u *RepositoryUpsertBulk) SetHTMLURL(v string) *RepositoryUpsertBulk
SetHTMLURL sets the "html_url" field.
func (*RepositoryUpsertBulk) SetHasDiscussions ¶
func (u *RepositoryUpsertBulk) SetHasDiscussions(v bool) *RepositoryUpsertBulk
SetHasDiscussions sets the "has_discussions" field.
func (*RepositoryUpsertBulk) SetHasDownloads ¶
func (u *RepositoryUpsertBulk) SetHasDownloads(v bool) *RepositoryUpsertBulk
SetHasDownloads sets the "has_downloads" field.
func (*RepositoryUpsertBulk) SetHasIssuesEnabled ¶
func (u *RepositoryUpsertBulk) SetHasIssuesEnabled(v bool) *RepositoryUpsertBulk
SetHasIssuesEnabled sets the "has_issues_enabled" field.
func (*RepositoryUpsertBulk) SetHasPages ¶
func (u *RepositoryUpsertBulk) SetHasPages(v bool) *RepositoryUpsertBulk
SetHasPages sets the "has_pages" field.
func (*RepositoryUpsertBulk) SetHasProjects ¶
func (u *RepositoryUpsertBulk) SetHasProjects(v bool) *RepositoryUpsertBulk
SetHasProjects sets the "has_projects" field.
func (*RepositoryUpsertBulk) SetHasWiki ¶
func (u *RepositoryUpsertBulk) SetHasWiki(v bool) *RepositoryUpsertBulk
SetHasWiki sets the "has_wiki" field.
func (*RepositoryUpsertBulk) SetHomepage ¶
func (u *RepositoryUpsertBulk) SetHomepage(v string) *RepositoryUpsertBulk
SetHomepage sets the "homepage" field.
func (*RepositoryUpsertBulk) SetHooksURL ¶
func (u *RepositoryUpsertBulk) SetHooksURL(v string) *RepositoryUpsertBulk
SetHooksURL sets the "hooks_url" field.
func (*RepositoryUpsertBulk) SetIsTemplate ¶
func (u *RepositoryUpsertBulk) SetIsTemplate(v bool) *RepositoryUpsertBulk
SetIsTemplate sets the "is_template" field.
func (*RepositoryUpsertBulk) SetIssueCommentURL ¶
func (u *RepositoryUpsertBulk) SetIssueCommentURL(v string) *RepositoryUpsertBulk
SetIssueCommentURL sets the "issue_comment_url" field.
func (*RepositoryUpsertBulk) SetIssueEventsURL ¶
func (u *RepositoryUpsertBulk) SetIssueEventsURL(v string) *RepositoryUpsertBulk
SetIssueEventsURL sets the "issue_events_url" field.
func (*RepositoryUpsertBulk) SetIssuesURL ¶
func (u *RepositoryUpsertBulk) SetIssuesURL(v string) *RepositoryUpsertBulk
SetIssuesURL sets the "issues_url" field.
func (*RepositoryUpsertBulk) SetKeysURL ¶
func (u *RepositoryUpsertBulk) SetKeysURL(v string) *RepositoryUpsertBulk
SetKeysURL sets the "keys_url" field.
func (*RepositoryUpsertBulk) SetLabelsURL ¶
func (u *RepositoryUpsertBulk) SetLabelsURL(v string) *RepositoryUpsertBulk
SetLabelsURL sets the "labels_url" field.
func (*RepositoryUpsertBulk) SetLanguage ¶
func (u *RepositoryUpsertBulk) SetLanguage(v string) *RepositoryUpsertBulk
SetLanguage sets the "language" field.
func (*RepositoryUpsertBulk) SetLanguagesURL ¶
func (u *RepositoryUpsertBulk) SetLanguagesURL(v string) *RepositoryUpsertBulk
SetLanguagesURL sets the "languages_url" field.
func (*RepositoryUpsertBulk) SetLicense ¶
func (u *RepositoryUpsertBulk) SetLicense(v *model.License) *RepositoryUpsertBulk
SetLicense sets the "license" field.
func (*RepositoryUpsertBulk) SetMergesURL ¶
func (u *RepositoryUpsertBulk) SetMergesURL(v string) *RepositoryUpsertBulk
SetMergesURL sets the "merges_url" field.
func (*RepositoryUpsertBulk) SetMilestonesURL ¶
func (u *RepositoryUpsertBulk) SetMilestonesURL(v string) *RepositoryUpsertBulk
SetMilestonesURL sets the "milestones_url" field.
func (*RepositoryUpsertBulk) SetMirrorURL ¶
func (u *RepositoryUpsertBulk) SetMirrorURL(v string) *RepositoryUpsertBulk
SetMirrorURL sets the "mirror_url" field.
func (*RepositoryUpsertBulk) SetName ¶
func (u *RepositoryUpsertBulk) SetName(v string) *RepositoryUpsertBulk
SetName sets the "name" field.
func (*RepositoryUpsertBulk) SetNetworkCount ¶
func (u *RepositoryUpsertBulk) SetNetworkCount(v int64) *RepositoryUpsertBulk
SetNetworkCount sets the "network_count" field.
func (*RepositoryUpsertBulk) SetNodeID ¶
func (u *RepositoryUpsertBulk) SetNodeID(v string) *RepositoryUpsertBulk
SetNodeID sets the "node_id" field.
func (*RepositoryUpsertBulk) SetNotificationsURL ¶
func (u *RepositoryUpsertBulk) SetNotificationsURL(v string) *RepositoryUpsertBulk
SetNotificationsURL sets the "notifications_url" field.
func (*RepositoryUpsertBulk) SetOpenIssues ¶
func (u *RepositoryUpsertBulk) SetOpenIssues(v int64) *RepositoryUpsertBulk
SetOpenIssues sets the "open_issues" field.
func (*RepositoryUpsertBulk) SetOpenIssuesCount ¶
func (u *RepositoryUpsertBulk) SetOpenIssuesCount(v int64) *RepositoryUpsertBulk
SetOpenIssuesCount sets the "open_issues_count" field.
func (*RepositoryUpsertBulk) SetPrivate ¶
func (u *RepositoryUpsertBulk) SetPrivate(v bool) *RepositoryUpsertBulk
SetPrivate sets the "private" field.
func (*RepositoryUpsertBulk) SetPullsURL ¶
func (u *RepositoryUpsertBulk) SetPullsURL(v string) *RepositoryUpsertBulk
SetPullsURL sets the "pulls_url" field.
func (*RepositoryUpsertBulk) SetPushedAt ¶
func (u *RepositoryUpsertBulk) SetPushedAt(v time.Time) *RepositoryUpsertBulk
SetPushedAt sets the "pushed_at" field.
func (*RepositoryUpsertBulk) SetReleasesURL ¶
func (u *RepositoryUpsertBulk) SetReleasesURL(v string) *RepositoryUpsertBulk
SetReleasesURL sets the "releases_url" field.
func (*RepositoryUpsertBulk) SetSSHURL ¶
func (u *RepositoryUpsertBulk) SetSSHURL(v string) *RepositoryUpsertBulk
SetSSHURL sets the "ssh_url" field.
func (*RepositoryUpsertBulk) SetSize ¶
func (u *RepositoryUpsertBulk) SetSize(v int64) *RepositoryUpsertBulk
SetSize sets the "size" field.
func (*RepositoryUpsertBulk) SetStargazersCount ¶
func (u *RepositoryUpsertBulk) SetStargazersCount(v int64) *RepositoryUpsertBulk
SetStargazersCount sets the "stargazers_count" field.
func (*RepositoryUpsertBulk) SetStargazersURL ¶
func (u *RepositoryUpsertBulk) SetStargazersURL(v string) *RepositoryUpsertBulk
SetStargazersURL sets the "stargazers_url" field.
func (*RepositoryUpsertBulk) SetStatusesURL ¶
func (u *RepositoryUpsertBulk) SetStatusesURL(v string) *RepositoryUpsertBulk
SetStatusesURL sets the "statuses_url" field.
func (*RepositoryUpsertBulk) SetSubscribersCount ¶
func (u *RepositoryUpsertBulk) SetSubscribersCount(v int64) *RepositoryUpsertBulk
SetSubscribersCount sets the "subscribers_count" field.
func (*RepositoryUpsertBulk) SetSubscribersURL ¶
func (u *RepositoryUpsertBulk) SetSubscribersURL(v string) *RepositoryUpsertBulk
SetSubscribersURL sets the "subscribers_url" field.
func (*RepositoryUpsertBulk) SetSubscriptionURL ¶
func (u *RepositoryUpsertBulk) SetSubscriptionURL(v string) *RepositoryUpsertBulk
SetSubscriptionURL sets the "subscription_url" field.
func (*RepositoryUpsertBulk) SetSvnURL ¶
func (u *RepositoryUpsertBulk) SetSvnURL(v string) *RepositoryUpsertBulk
SetSvnURL sets the "svn_url" field.
func (*RepositoryUpsertBulk) SetTagsURL ¶
func (u *RepositoryUpsertBulk) SetTagsURL(v string) *RepositoryUpsertBulk
SetTagsURL sets the "tags_url" field.
func (*RepositoryUpsertBulk) SetTeamsURL ¶
func (u *RepositoryUpsertBulk) SetTeamsURL(v string) *RepositoryUpsertBulk
SetTeamsURL sets the "teams_url" field.
func (*RepositoryUpsertBulk) SetTopics ¶
func (u *RepositoryUpsertBulk) SetTopics(v []string) *RepositoryUpsertBulk
SetTopics sets the "topics" field.
func (*RepositoryUpsertBulk) SetTreesURL ¶
func (u *RepositoryUpsertBulk) SetTreesURL(v string) *RepositoryUpsertBulk
SetTreesURL sets the "trees_url" field.
func (*RepositoryUpsertBulk) SetURL ¶
func (u *RepositoryUpsertBulk) SetURL(v string) *RepositoryUpsertBulk
SetURL sets the "url" field.
func (*RepositoryUpsertBulk) SetUpdatedAt ¶
func (u *RepositoryUpsertBulk) SetUpdatedAt(v time.Time) *RepositoryUpsertBulk
SetUpdatedAt sets the "updated_at" field.
func (*RepositoryUpsertBulk) SetVisibility ¶
func (u *RepositoryUpsertBulk) SetVisibility(v repository.Visibility) *RepositoryUpsertBulk
SetVisibility sets the "visibility" field.
func (*RepositoryUpsertBulk) SetWatchers ¶
func (u *RepositoryUpsertBulk) SetWatchers(v int64) *RepositoryUpsertBulk
SetWatchers sets the "watchers" field.
func (*RepositoryUpsertBulk) SetWatchersCount ¶
func (u *RepositoryUpsertBulk) SetWatchersCount(v int64) *RepositoryUpsertBulk
SetWatchersCount sets the "watchers_count" field.
func (*RepositoryUpsertBulk) Update ¶
func (u *RepositoryUpsertBulk) Update(set func(*RepositoryUpsert)) *RepositoryUpsertBulk
Update allows overriding fields `UPDATE` values. See the RepositoryCreateBulk.OnConflict documentation for more info.
func (*RepositoryUpsertBulk) UpdateArchiveURL ¶
func (u *RepositoryUpsertBulk) UpdateArchiveURL() *RepositoryUpsertBulk
UpdateArchiveURL sets the "archive_url" field to the value that was provided on create.
func (*RepositoryUpsertBulk) UpdateArchived ¶
func (u *RepositoryUpsertBulk) UpdateArchived() *RepositoryUpsertBulk
UpdateArchived sets the "archived" field to the value that was provided on create.
func (*RepositoryUpsertBulk) UpdateAssigneesURL ¶
func (u *RepositoryUpsertBulk) UpdateAssigneesURL() *RepositoryUpsertBulk
UpdateAssigneesURL sets the "assignees_url" field to the value that was provided on create.
func (*RepositoryUpsertBulk) UpdateBlobsURL ¶
func (u *RepositoryUpsertBulk) UpdateBlobsURL() *RepositoryUpsertBulk
UpdateBlobsURL sets the "blobs_url" field to the value that was provided on create.
func (*RepositoryUpsertBulk) UpdateBranchesURL ¶
func (u *RepositoryUpsertBulk) UpdateBranchesURL() *RepositoryUpsertBulk
UpdateBranchesURL sets the "branches_url" field to the value that was provided on create.
func (*RepositoryUpsertBulk) UpdateCloneURL ¶
func (u *RepositoryUpsertBulk) UpdateCloneURL() *RepositoryUpsertBulk
UpdateCloneURL sets the "clone_url" field to the value that was provided on create.
func (*RepositoryUpsertBulk) UpdateCollaboratorsURL ¶
func (u *RepositoryUpsertBulk) UpdateCollaboratorsURL() *RepositoryUpsertBulk
UpdateCollaboratorsURL sets the "collaborators_url" field to the value that was provided on create.
func (*RepositoryUpsertBulk) UpdateCommentsURL ¶
func (u *RepositoryUpsertBulk) UpdateCommentsURL() *RepositoryUpsertBulk
UpdateCommentsURL sets the "comments_url" field to the value that was provided on create.
func (*RepositoryUpsertBulk) UpdateCommitsURL ¶
func (u *RepositoryUpsertBulk) UpdateCommitsURL() *RepositoryUpsertBulk
UpdateCommitsURL sets the "commits_url" field to the value that was provided on create.
func (*RepositoryUpsertBulk) UpdateCompareURL ¶
func (u *RepositoryUpsertBulk) UpdateCompareURL() *RepositoryUpsertBulk
UpdateCompareURL sets the "compare_url" field to the value that was provided on create.
func (*RepositoryUpsertBulk) UpdateContentsURL ¶
func (u *RepositoryUpsertBulk) UpdateContentsURL() *RepositoryUpsertBulk
UpdateContentsURL sets the "contents_url" field to the value that was provided on create.
func (*RepositoryUpsertBulk) UpdateContributorsURL ¶
func (u *RepositoryUpsertBulk) UpdateContributorsURL() *RepositoryUpsertBulk
UpdateContributorsURL sets the "contributors_url" field to the value that was provided on create.
func (*RepositoryUpsertBulk) UpdateCreatedAt ¶
func (u *RepositoryUpsertBulk) UpdateCreatedAt() *RepositoryUpsertBulk
UpdateCreatedAt sets the "created_at" field to the value that was provided on create.
func (*RepositoryUpsertBulk) UpdateDefaultBranch ¶
func (u *RepositoryUpsertBulk) UpdateDefaultBranch() *RepositoryUpsertBulk
UpdateDefaultBranch sets the "default_branch" field to the value that was provided on create.
func (*RepositoryUpsertBulk) UpdateDeploymentsURL ¶
func (u *RepositoryUpsertBulk) UpdateDeploymentsURL() *RepositoryUpsertBulk
UpdateDeploymentsURL sets the "deployments_url" field to the value that was provided on create.
func (*RepositoryUpsertBulk) UpdateDescription ¶
func (u *RepositoryUpsertBulk) UpdateDescription() *RepositoryUpsertBulk
UpdateDescription sets the "description" field to the value that was provided on create.
func (*RepositoryUpsertBulk) UpdateDisabled ¶
func (u *RepositoryUpsertBulk) UpdateDisabled() *RepositoryUpsertBulk
UpdateDisabled sets the "disabled" field to the value that was provided on create.
func (*RepositoryUpsertBulk) UpdateDownloadsURL ¶
func (u *RepositoryUpsertBulk) UpdateDownloadsURL() *RepositoryUpsertBulk
UpdateDownloadsURL sets the "downloads_url" field to the value that was provided on create.
func (*RepositoryUpsertBulk) UpdateEventsURL ¶
func (u *RepositoryUpsertBulk) UpdateEventsURL() *RepositoryUpsertBulk
UpdateEventsURL sets the "events_url" field to the value that was provided on create.
func (*RepositoryUpsertBulk) UpdateFork ¶
func (u *RepositoryUpsertBulk) UpdateFork() *RepositoryUpsertBulk
UpdateFork sets the "fork" field to the value that was provided on create.
func (*RepositoryUpsertBulk) UpdateForks ¶
func (u *RepositoryUpsertBulk) UpdateForks() *RepositoryUpsertBulk
UpdateForks sets the "forks" field to the value that was provided on create.
func (*RepositoryUpsertBulk) UpdateForksCount ¶
func (u *RepositoryUpsertBulk) UpdateForksCount() *RepositoryUpsertBulk
UpdateForksCount sets the "forks_count" field to the value that was provided on create.
func (*RepositoryUpsertBulk) UpdateForksURL ¶
func (u *RepositoryUpsertBulk) UpdateForksURL() *RepositoryUpsertBulk
UpdateForksURL sets the "forks_url" field to the value that was provided on create.
func (*RepositoryUpsertBulk) UpdateFullName ¶
func (u *RepositoryUpsertBulk) UpdateFullName() *RepositoryUpsertBulk
UpdateFullName sets the "full_name" field to the value that was provided on create.
func (*RepositoryUpsertBulk) UpdateGitCommitsURL ¶
func (u *RepositoryUpsertBulk) UpdateGitCommitsURL() *RepositoryUpsertBulk
UpdateGitCommitsURL sets the "git_commits_url" field to the value that was provided on create.
func (*RepositoryUpsertBulk) UpdateGitRefsURL ¶
func (u *RepositoryUpsertBulk) UpdateGitRefsURL() *RepositoryUpsertBulk
UpdateGitRefsURL sets the "git_refs_url" field to the value that was provided on create.
func (*RepositoryUpsertBulk) UpdateGitTagsURL ¶
func (u *RepositoryUpsertBulk) UpdateGitTagsURL() *RepositoryUpsertBulk
UpdateGitTagsURL sets the "git_tags_url" field to the value that was provided on create.
func (*RepositoryUpsertBulk) UpdateGitURL ¶
func (u *RepositoryUpsertBulk) UpdateGitURL() *RepositoryUpsertBulk
UpdateGitURL sets the "git_url" field to the value that was provided on create.
func (*RepositoryUpsertBulk) UpdateHTMLURL ¶
func (u *RepositoryUpsertBulk) UpdateHTMLURL() *RepositoryUpsertBulk
UpdateHTMLURL sets the "html_url" field to the value that was provided on create.
func (*RepositoryUpsertBulk) UpdateHasDiscussions ¶
func (u *RepositoryUpsertBulk) UpdateHasDiscussions() *RepositoryUpsertBulk
UpdateHasDiscussions sets the "has_discussions" field to the value that was provided on create.
func (*RepositoryUpsertBulk) UpdateHasDownloads ¶
func (u *RepositoryUpsertBulk) UpdateHasDownloads() *RepositoryUpsertBulk
UpdateHasDownloads sets the "has_downloads" field to the value that was provided on create.
func (*RepositoryUpsertBulk) UpdateHasIssuesEnabled ¶
func (u *RepositoryUpsertBulk) UpdateHasIssuesEnabled() *RepositoryUpsertBulk
UpdateHasIssuesEnabled sets the "has_issues_enabled" field to the value that was provided on create.
func (*RepositoryUpsertBulk) UpdateHasPages ¶
func (u *RepositoryUpsertBulk) UpdateHasPages() *RepositoryUpsertBulk
UpdateHasPages sets the "has_pages" field to the value that was provided on create.
func (*RepositoryUpsertBulk) UpdateHasProjects ¶
func (u *RepositoryUpsertBulk) UpdateHasProjects() *RepositoryUpsertBulk
UpdateHasProjects sets the "has_projects" field to the value that was provided on create.
func (*RepositoryUpsertBulk) UpdateHasWiki ¶
func (u *RepositoryUpsertBulk) UpdateHasWiki() *RepositoryUpsertBulk
UpdateHasWiki sets the "has_wiki" field to the value that was provided on create.
func (*RepositoryUpsertBulk) UpdateHomepage ¶
func (u *RepositoryUpsertBulk) UpdateHomepage() *RepositoryUpsertBulk
UpdateHomepage sets the "homepage" field to the value that was provided on create.
func (*RepositoryUpsertBulk) UpdateHooksURL ¶
func (u *RepositoryUpsertBulk) UpdateHooksURL() *RepositoryUpsertBulk
UpdateHooksURL sets the "hooks_url" field to the value that was provided on create.
func (*RepositoryUpsertBulk) UpdateIsTemplate ¶
func (u *RepositoryUpsertBulk) UpdateIsTemplate() *RepositoryUpsertBulk
UpdateIsTemplate sets the "is_template" field to the value that was provided on create.
func (*RepositoryUpsertBulk) UpdateIssueCommentURL ¶
func (u *RepositoryUpsertBulk) UpdateIssueCommentURL() *RepositoryUpsertBulk
UpdateIssueCommentURL sets the "issue_comment_url" field to the value that was provided on create.
func (*RepositoryUpsertBulk) UpdateIssueEventsURL ¶
func (u *RepositoryUpsertBulk) UpdateIssueEventsURL() *RepositoryUpsertBulk
UpdateIssueEventsURL sets the "issue_events_url" field to the value that was provided on create.
func (*RepositoryUpsertBulk) UpdateIssuesURL ¶
func (u *RepositoryUpsertBulk) UpdateIssuesURL() *RepositoryUpsertBulk
UpdateIssuesURL sets the "issues_url" field to the value that was provided on create.
func (*RepositoryUpsertBulk) UpdateKeysURL ¶
func (u *RepositoryUpsertBulk) UpdateKeysURL() *RepositoryUpsertBulk
UpdateKeysURL sets the "keys_url" field to the value that was provided on create.
func (*RepositoryUpsertBulk) UpdateLabelsURL ¶
func (u *RepositoryUpsertBulk) UpdateLabelsURL() *RepositoryUpsertBulk
UpdateLabelsURL sets the "labels_url" field to the value that was provided on create.
func (*RepositoryUpsertBulk) UpdateLanguage ¶
func (u *RepositoryUpsertBulk) UpdateLanguage() *RepositoryUpsertBulk
UpdateLanguage sets the "language" field to the value that was provided on create.
func (*RepositoryUpsertBulk) UpdateLanguagesURL ¶
func (u *RepositoryUpsertBulk) UpdateLanguagesURL() *RepositoryUpsertBulk
UpdateLanguagesURL sets the "languages_url" field to the value that was provided on create.
func (*RepositoryUpsertBulk) UpdateLicense ¶
func (u *RepositoryUpsertBulk) UpdateLicense() *RepositoryUpsertBulk
UpdateLicense sets the "license" field to the value that was provided on create.
func (*RepositoryUpsertBulk) UpdateMergesURL ¶
func (u *RepositoryUpsertBulk) UpdateMergesURL() *RepositoryUpsertBulk
UpdateMergesURL sets the "merges_url" field to the value that was provided on create.
func (*RepositoryUpsertBulk) UpdateMilestonesURL ¶
func (u *RepositoryUpsertBulk) UpdateMilestonesURL() *RepositoryUpsertBulk
UpdateMilestonesURL sets the "milestones_url" field to the value that was provided on create.
func (*RepositoryUpsertBulk) UpdateMirrorURL ¶
func (u *RepositoryUpsertBulk) UpdateMirrorURL() *RepositoryUpsertBulk
UpdateMirrorURL sets the "mirror_url" field to the value that was provided on create.
func (*RepositoryUpsertBulk) UpdateName ¶
func (u *RepositoryUpsertBulk) UpdateName() *RepositoryUpsertBulk
UpdateName sets the "name" field to the value that was provided on create.
func (*RepositoryUpsertBulk) UpdateNetworkCount ¶
func (u *RepositoryUpsertBulk) UpdateNetworkCount() *RepositoryUpsertBulk
UpdateNetworkCount sets the "network_count" field to the value that was provided on create.
func (*RepositoryUpsertBulk) UpdateNewValues ¶
func (u *RepositoryUpsertBulk) UpdateNewValues() *RepositoryUpsertBulk
UpdateNewValues updates the mutable fields using the new values that were set on create. Using this option is equivalent to using:
client.Repository.Create(). OnConflict( sql.ResolveWithNewValues(), sql.ResolveWith(func(u *sql.UpdateSet) { u.SetIgnore(repository.FieldID) }), ). Exec(ctx)
func (*RepositoryUpsertBulk) UpdateNodeID ¶
func (u *RepositoryUpsertBulk) UpdateNodeID() *RepositoryUpsertBulk
UpdateNodeID sets the "node_id" field to the value that was provided on create.
func (*RepositoryUpsertBulk) UpdateNotificationsURL ¶
func (u *RepositoryUpsertBulk) UpdateNotificationsURL() *RepositoryUpsertBulk
UpdateNotificationsURL sets the "notifications_url" field to the value that was provided on create.
func (*RepositoryUpsertBulk) UpdateOpenIssues ¶
func (u *RepositoryUpsertBulk) UpdateOpenIssues() *RepositoryUpsertBulk
UpdateOpenIssues sets the "open_issues" field to the value that was provided on create.
func (*RepositoryUpsertBulk) UpdateOpenIssuesCount ¶
func (u *RepositoryUpsertBulk) UpdateOpenIssuesCount() *RepositoryUpsertBulk
UpdateOpenIssuesCount sets the "open_issues_count" field to the value that was provided on create.
func (*RepositoryUpsertBulk) UpdatePrivate ¶
func (u *RepositoryUpsertBulk) UpdatePrivate() *RepositoryUpsertBulk
UpdatePrivate sets the "private" field to the value that was provided on create.
func (*RepositoryUpsertBulk) UpdatePullsURL ¶
func (u *RepositoryUpsertBulk) UpdatePullsURL() *RepositoryUpsertBulk
UpdatePullsURL sets the "pulls_url" field to the value that was provided on create.
func (*RepositoryUpsertBulk) UpdatePushedAt ¶
func (u *RepositoryUpsertBulk) UpdatePushedAt() *RepositoryUpsertBulk
UpdatePushedAt sets the "pushed_at" field to the value that was provided on create.
func (*RepositoryUpsertBulk) UpdateReleasesURL ¶
func (u *RepositoryUpsertBulk) UpdateReleasesURL() *RepositoryUpsertBulk
UpdateReleasesURL sets the "releases_url" field to the value that was provided on create.
func (*RepositoryUpsertBulk) UpdateSSHURL ¶
func (u *RepositoryUpsertBulk) UpdateSSHURL() *RepositoryUpsertBulk
UpdateSSHURL sets the "ssh_url" field to the value that was provided on create.
func (*RepositoryUpsertBulk) UpdateSize ¶
func (u *RepositoryUpsertBulk) UpdateSize() *RepositoryUpsertBulk
UpdateSize sets the "size" field to the value that was provided on create.
func (*RepositoryUpsertBulk) UpdateStargazersCount ¶
func (u *RepositoryUpsertBulk) UpdateStargazersCount() *RepositoryUpsertBulk
UpdateStargazersCount sets the "stargazers_count" field to the value that was provided on create.
func (*RepositoryUpsertBulk) UpdateStargazersURL ¶
func (u *RepositoryUpsertBulk) UpdateStargazersURL() *RepositoryUpsertBulk
UpdateStargazersURL sets the "stargazers_url" field to the value that was provided on create.
func (*RepositoryUpsertBulk) UpdateStatusesURL ¶
func (u *RepositoryUpsertBulk) UpdateStatusesURL() *RepositoryUpsertBulk
UpdateStatusesURL sets the "statuses_url" field to the value that was provided on create.
func (*RepositoryUpsertBulk) UpdateSubscribersCount ¶
func (u *RepositoryUpsertBulk) UpdateSubscribersCount() *RepositoryUpsertBulk
UpdateSubscribersCount sets the "subscribers_count" field to the value that was provided on create.
func (*RepositoryUpsertBulk) UpdateSubscribersURL ¶
func (u *RepositoryUpsertBulk) UpdateSubscribersURL() *RepositoryUpsertBulk
UpdateSubscribersURL sets the "subscribers_url" field to the value that was provided on create.
func (*RepositoryUpsertBulk) UpdateSubscriptionURL ¶
func (u *RepositoryUpsertBulk) UpdateSubscriptionURL() *RepositoryUpsertBulk
UpdateSubscriptionURL sets the "subscription_url" field to the value that was provided on create.
func (*RepositoryUpsertBulk) UpdateSvnURL ¶
func (u *RepositoryUpsertBulk) UpdateSvnURL() *RepositoryUpsertBulk
UpdateSvnURL sets the "svn_url" field to the value that was provided on create.
func (*RepositoryUpsertBulk) UpdateTagsURL ¶
func (u *RepositoryUpsertBulk) UpdateTagsURL() *RepositoryUpsertBulk
UpdateTagsURL sets the "tags_url" field to the value that was provided on create.
func (*RepositoryUpsertBulk) UpdateTeamsURL ¶
func (u *RepositoryUpsertBulk) UpdateTeamsURL() *RepositoryUpsertBulk
UpdateTeamsURL sets the "teams_url" field to the value that was provided on create.
func (*RepositoryUpsertBulk) UpdateTopics ¶
func (u *RepositoryUpsertBulk) UpdateTopics() *RepositoryUpsertBulk
UpdateTopics sets the "topics" field to the value that was provided on create.
func (*RepositoryUpsertBulk) UpdateTreesURL ¶
func (u *RepositoryUpsertBulk) UpdateTreesURL() *RepositoryUpsertBulk
UpdateTreesURL sets the "trees_url" field to the value that was provided on create.
func (*RepositoryUpsertBulk) UpdateURL ¶
func (u *RepositoryUpsertBulk) UpdateURL() *RepositoryUpsertBulk
UpdateURL sets the "url" field to the value that was provided on create.
func (*RepositoryUpsertBulk) UpdateUpdatedAt ¶
func (u *RepositoryUpsertBulk) UpdateUpdatedAt() *RepositoryUpsertBulk
UpdateUpdatedAt sets the "updated_at" field to the value that was provided on create.
func (*RepositoryUpsertBulk) UpdateVisibility ¶
func (u *RepositoryUpsertBulk) UpdateVisibility() *RepositoryUpsertBulk
UpdateVisibility sets the "visibility" field to the value that was provided on create.
func (*RepositoryUpsertBulk) UpdateWatchers ¶
func (u *RepositoryUpsertBulk) UpdateWatchers() *RepositoryUpsertBulk
UpdateWatchers sets the "watchers" field to the value that was provided on create.
func (*RepositoryUpsertBulk) UpdateWatchersCount ¶
func (u *RepositoryUpsertBulk) UpdateWatchersCount() *RepositoryUpsertBulk
UpdateWatchersCount sets the "watchers_count" field to the value that was provided on create.
type RepositoryUpsertOne ¶
type RepositoryUpsertOne struct {
// contains filtered or unexported fields
}
RepositoryUpsertOne is the builder for "upsert"-ing
one Repository node.
func (*RepositoryUpsertOne) AddForks ¶
func (u *RepositoryUpsertOne) AddForks(v int64) *RepositoryUpsertOne
AddForks adds v to the "forks" field.
func (*RepositoryUpsertOne) AddForksCount ¶
func (u *RepositoryUpsertOne) AddForksCount(v int64) *RepositoryUpsertOne
AddForksCount adds v to the "forks_count" field.
func (*RepositoryUpsertOne) AddNetworkCount ¶
func (u *RepositoryUpsertOne) AddNetworkCount(v int64) *RepositoryUpsertOne
AddNetworkCount adds v to the "network_count" field.
func (*RepositoryUpsertOne) AddOpenIssues ¶
func (u *RepositoryUpsertOne) AddOpenIssues(v int64) *RepositoryUpsertOne
AddOpenIssues adds v to the "open_issues" field.
func (*RepositoryUpsertOne) AddOpenIssuesCount ¶
func (u *RepositoryUpsertOne) AddOpenIssuesCount(v int64) *RepositoryUpsertOne
AddOpenIssuesCount adds v to the "open_issues_count" field.
func (*RepositoryUpsertOne) AddSize ¶
func (u *RepositoryUpsertOne) AddSize(v int64) *RepositoryUpsertOne
AddSize adds v to the "size" field.
func (*RepositoryUpsertOne) AddStargazersCount ¶
func (u *RepositoryUpsertOne) AddStargazersCount(v int64) *RepositoryUpsertOne
AddStargazersCount adds v to the "stargazers_count" field.
func (*RepositoryUpsertOne) AddSubscribersCount ¶
func (u *RepositoryUpsertOne) AddSubscribersCount(v int64) *RepositoryUpsertOne
AddSubscribersCount adds v to the "subscribers_count" field.
func (*RepositoryUpsertOne) AddWatchers ¶
func (u *RepositoryUpsertOne) AddWatchers(v int64) *RepositoryUpsertOne
AddWatchers adds v to the "watchers" field.
func (*RepositoryUpsertOne) AddWatchersCount ¶
func (u *RepositoryUpsertOne) AddWatchersCount(v int64) *RepositoryUpsertOne
AddWatchersCount adds v to the "watchers_count" field.
func (*RepositoryUpsertOne) ClearDescription ¶
func (u *RepositoryUpsertOne) ClearDescription() *RepositoryUpsertOne
ClearDescription clears the value of the "description" field.
func (*RepositoryUpsertOne) ClearHomepage ¶
func (u *RepositoryUpsertOne) ClearHomepage() *RepositoryUpsertOne
ClearHomepage clears the value of the "homepage" field.
func (*RepositoryUpsertOne) ClearLanguage ¶
func (u *RepositoryUpsertOne) ClearLanguage() *RepositoryUpsertOne
ClearLanguage clears the value of the "language" field.
func (*RepositoryUpsertOne) ClearLicense ¶
func (u *RepositoryUpsertOne) ClearLicense() *RepositoryUpsertOne
ClearLicense clears the value of the "license" field.
func (*RepositoryUpsertOne) ClearMirrorURL ¶
func (u *RepositoryUpsertOne) ClearMirrorURL() *RepositoryUpsertOne
ClearMirrorURL clears the value of the "mirror_url" field.
func (*RepositoryUpsertOne) ClearVisibility ¶
func (u *RepositoryUpsertOne) ClearVisibility() *RepositoryUpsertOne
ClearVisibility clears the value of the "visibility" field.
func (*RepositoryUpsertOne) DoNothing ¶
func (u *RepositoryUpsertOne) DoNothing() *RepositoryUpsertOne
DoNothing configures the conflict_action to `DO NOTHING`. Supported only by SQLite and PostgreSQL.
func (*RepositoryUpsertOne) Exec ¶
func (u *RepositoryUpsertOne) Exec(ctx context.Context) error
Exec executes the query.
func (*RepositoryUpsertOne) ExecX ¶
func (u *RepositoryUpsertOne) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*RepositoryUpsertOne) ID ¶
func (u *RepositoryUpsertOne) ID(ctx context.Context) (id int64, err error)
Exec executes the UPSERT query and returns the inserted/updated ID.
func (*RepositoryUpsertOne) IDX ¶
func (u *RepositoryUpsertOne) IDX(ctx context.Context) int64
IDX is like ID, but panics if an error occurs.
func (*RepositoryUpsertOne) Ignore ¶
func (u *RepositoryUpsertOne) Ignore() *RepositoryUpsertOne
Ignore sets each column to itself in case of conflict. Using this option is equivalent to using:
client.Repository.Create(). OnConflict(sql.ResolveWithIgnore()). Exec(ctx)
func (*RepositoryUpsertOne) SetArchiveURL ¶
func (u *RepositoryUpsertOne) SetArchiveURL(v string) *RepositoryUpsertOne
SetArchiveURL sets the "archive_url" field.
func (*RepositoryUpsertOne) SetArchived ¶
func (u *RepositoryUpsertOne) SetArchived(v bool) *RepositoryUpsertOne
SetArchived sets the "archived" field.
func (*RepositoryUpsertOne) SetAssigneesURL ¶
func (u *RepositoryUpsertOne) SetAssigneesURL(v string) *RepositoryUpsertOne
SetAssigneesURL sets the "assignees_url" field.
func (*RepositoryUpsertOne) SetBlobsURL ¶
func (u *RepositoryUpsertOne) SetBlobsURL(v string) *RepositoryUpsertOne
SetBlobsURL sets the "blobs_url" field.
func (*RepositoryUpsertOne) SetBranchesURL ¶
func (u *RepositoryUpsertOne) SetBranchesURL(v string) *RepositoryUpsertOne
SetBranchesURL sets the "branches_url" field.
func (*RepositoryUpsertOne) SetCloneURL ¶
func (u *RepositoryUpsertOne) SetCloneURL(v string) *RepositoryUpsertOne
SetCloneURL sets the "clone_url" field.
func (*RepositoryUpsertOne) SetCollaboratorsURL ¶
func (u *RepositoryUpsertOne) SetCollaboratorsURL(v string) *RepositoryUpsertOne
SetCollaboratorsURL sets the "collaborators_url" field.
func (*RepositoryUpsertOne) SetCommentsURL ¶
func (u *RepositoryUpsertOne) SetCommentsURL(v string) *RepositoryUpsertOne
SetCommentsURL sets the "comments_url" field.
func (*RepositoryUpsertOne) SetCommitsURL ¶
func (u *RepositoryUpsertOne) SetCommitsURL(v string) *RepositoryUpsertOne
SetCommitsURL sets the "commits_url" field.
func (*RepositoryUpsertOne) SetCompareURL ¶
func (u *RepositoryUpsertOne) SetCompareURL(v string) *RepositoryUpsertOne
SetCompareURL sets the "compare_url" field.
func (*RepositoryUpsertOne) SetContentsURL ¶
func (u *RepositoryUpsertOne) SetContentsURL(v string) *RepositoryUpsertOne
SetContentsURL sets the "contents_url" field.
func (*RepositoryUpsertOne) SetContributorsURL ¶
func (u *RepositoryUpsertOne) SetContributorsURL(v string) *RepositoryUpsertOne
SetContributorsURL sets the "contributors_url" field.
func (*RepositoryUpsertOne) SetCreatedAt ¶
func (u *RepositoryUpsertOne) SetCreatedAt(v time.Time) *RepositoryUpsertOne
SetCreatedAt sets the "created_at" field.
func (*RepositoryUpsertOne) SetDefaultBranch ¶
func (u *RepositoryUpsertOne) SetDefaultBranch(v string) *RepositoryUpsertOne
SetDefaultBranch sets the "default_branch" field.
func (*RepositoryUpsertOne) SetDeploymentsURL ¶
func (u *RepositoryUpsertOne) SetDeploymentsURL(v string) *RepositoryUpsertOne
SetDeploymentsURL sets the "deployments_url" field.
func (*RepositoryUpsertOne) SetDescription ¶
func (u *RepositoryUpsertOne) SetDescription(v string) *RepositoryUpsertOne
SetDescription sets the "description" field.
func (*RepositoryUpsertOne) SetDisabled ¶
func (u *RepositoryUpsertOne) SetDisabled(v bool) *RepositoryUpsertOne
SetDisabled sets the "disabled" field.
func (*RepositoryUpsertOne) SetDownloadsURL ¶
func (u *RepositoryUpsertOne) SetDownloadsURL(v string) *RepositoryUpsertOne
SetDownloadsURL sets the "downloads_url" field.
func (*RepositoryUpsertOne) SetEventsURL ¶
func (u *RepositoryUpsertOne) SetEventsURL(v string) *RepositoryUpsertOne
SetEventsURL sets the "events_url" field.
func (*RepositoryUpsertOne) SetFork ¶
func (u *RepositoryUpsertOne) SetFork(v bool) *RepositoryUpsertOne
SetFork sets the "fork" field.
func (*RepositoryUpsertOne) SetForks ¶
func (u *RepositoryUpsertOne) SetForks(v int64) *RepositoryUpsertOne
SetForks sets the "forks" field.
func (*RepositoryUpsertOne) SetForksCount ¶
func (u *RepositoryUpsertOne) SetForksCount(v int64) *RepositoryUpsertOne
SetForksCount sets the "forks_count" field.
func (*RepositoryUpsertOne) SetForksURL ¶
func (u *RepositoryUpsertOne) SetForksURL(v string) *RepositoryUpsertOne
SetForksURL sets the "forks_url" field.
func (*RepositoryUpsertOne) SetFullName ¶
func (u *RepositoryUpsertOne) SetFullName(v string) *RepositoryUpsertOne
SetFullName sets the "full_name" field.
func (*RepositoryUpsertOne) SetGitCommitsURL ¶
func (u *RepositoryUpsertOne) SetGitCommitsURL(v string) *RepositoryUpsertOne
SetGitCommitsURL sets the "git_commits_url" field.
func (*RepositoryUpsertOne) SetGitRefsURL ¶
func (u *RepositoryUpsertOne) SetGitRefsURL(v string) *RepositoryUpsertOne
SetGitRefsURL sets the "git_refs_url" field.
func (*RepositoryUpsertOne) SetGitTagsURL ¶
func (u *RepositoryUpsertOne) SetGitTagsURL(v string) *RepositoryUpsertOne
SetGitTagsURL sets the "git_tags_url" field.
func (*RepositoryUpsertOne) SetGitURL ¶
func (u *RepositoryUpsertOne) SetGitURL(v string) *RepositoryUpsertOne
SetGitURL sets the "git_url" field.
func (*RepositoryUpsertOne) SetHTMLURL ¶
func (u *RepositoryUpsertOne) SetHTMLURL(v string) *RepositoryUpsertOne
SetHTMLURL sets the "html_url" field.
func (*RepositoryUpsertOne) SetHasDiscussions ¶
func (u *RepositoryUpsertOne) SetHasDiscussions(v bool) *RepositoryUpsertOne
SetHasDiscussions sets the "has_discussions" field.
func (*RepositoryUpsertOne) SetHasDownloads ¶
func (u *RepositoryUpsertOne) SetHasDownloads(v bool) *RepositoryUpsertOne
SetHasDownloads sets the "has_downloads" field.
func (*RepositoryUpsertOne) SetHasIssuesEnabled ¶
func (u *RepositoryUpsertOne) SetHasIssuesEnabled(v bool) *RepositoryUpsertOne
SetHasIssuesEnabled sets the "has_issues_enabled" field.
func (*RepositoryUpsertOne) SetHasPages ¶
func (u *RepositoryUpsertOne) SetHasPages(v bool) *RepositoryUpsertOne
SetHasPages sets the "has_pages" field.
func (*RepositoryUpsertOne) SetHasProjects ¶
func (u *RepositoryUpsertOne) SetHasProjects(v bool) *RepositoryUpsertOne
SetHasProjects sets the "has_projects" field.
func (*RepositoryUpsertOne) SetHasWiki ¶
func (u *RepositoryUpsertOne) SetHasWiki(v bool) *RepositoryUpsertOne
SetHasWiki sets the "has_wiki" field.
func (*RepositoryUpsertOne) SetHomepage ¶
func (u *RepositoryUpsertOne) SetHomepage(v string) *RepositoryUpsertOne
SetHomepage sets the "homepage" field.
func (*RepositoryUpsertOne) SetHooksURL ¶
func (u *RepositoryUpsertOne) SetHooksURL(v string) *RepositoryUpsertOne
SetHooksURL sets the "hooks_url" field.
func (*RepositoryUpsertOne) SetIsTemplate ¶
func (u *RepositoryUpsertOne) SetIsTemplate(v bool) *RepositoryUpsertOne
SetIsTemplate sets the "is_template" field.
func (*RepositoryUpsertOne) SetIssueCommentURL ¶
func (u *RepositoryUpsertOne) SetIssueCommentURL(v string) *RepositoryUpsertOne
SetIssueCommentURL sets the "issue_comment_url" field.
func (*RepositoryUpsertOne) SetIssueEventsURL ¶
func (u *RepositoryUpsertOne) SetIssueEventsURL(v string) *RepositoryUpsertOne
SetIssueEventsURL sets the "issue_events_url" field.
func (*RepositoryUpsertOne) SetIssuesURL ¶
func (u *RepositoryUpsertOne) SetIssuesURL(v string) *RepositoryUpsertOne
SetIssuesURL sets the "issues_url" field.
func (*RepositoryUpsertOne) SetKeysURL ¶
func (u *RepositoryUpsertOne) SetKeysURL(v string) *RepositoryUpsertOne
SetKeysURL sets the "keys_url" field.
func (*RepositoryUpsertOne) SetLabelsURL ¶
func (u *RepositoryUpsertOne) SetLabelsURL(v string) *RepositoryUpsertOne
SetLabelsURL sets the "labels_url" field.
func (*RepositoryUpsertOne) SetLanguage ¶
func (u *RepositoryUpsertOne) SetLanguage(v string) *RepositoryUpsertOne
SetLanguage sets the "language" field.
func (*RepositoryUpsertOne) SetLanguagesURL ¶
func (u *RepositoryUpsertOne) SetLanguagesURL(v string) *RepositoryUpsertOne
SetLanguagesURL sets the "languages_url" field.
func (*RepositoryUpsertOne) SetLicense ¶
func (u *RepositoryUpsertOne) SetLicense(v *model.License) *RepositoryUpsertOne
SetLicense sets the "license" field.
func (*RepositoryUpsertOne) SetMergesURL ¶
func (u *RepositoryUpsertOne) SetMergesURL(v string) *RepositoryUpsertOne
SetMergesURL sets the "merges_url" field.
func (*RepositoryUpsertOne) SetMilestonesURL ¶
func (u *RepositoryUpsertOne) SetMilestonesURL(v string) *RepositoryUpsertOne
SetMilestonesURL sets the "milestones_url" field.
func (*RepositoryUpsertOne) SetMirrorURL ¶
func (u *RepositoryUpsertOne) SetMirrorURL(v string) *RepositoryUpsertOne
SetMirrorURL sets the "mirror_url" field.
func (*RepositoryUpsertOne) SetName ¶
func (u *RepositoryUpsertOne) SetName(v string) *RepositoryUpsertOne
SetName sets the "name" field.
func (*RepositoryUpsertOne) SetNetworkCount ¶
func (u *RepositoryUpsertOne) SetNetworkCount(v int64) *RepositoryUpsertOne
SetNetworkCount sets the "network_count" field.
func (*RepositoryUpsertOne) SetNodeID ¶
func (u *RepositoryUpsertOne) SetNodeID(v string) *RepositoryUpsertOne
SetNodeID sets the "node_id" field.
func (*RepositoryUpsertOne) SetNotificationsURL ¶
func (u *RepositoryUpsertOne) SetNotificationsURL(v string) *RepositoryUpsertOne
SetNotificationsURL sets the "notifications_url" field.
func (*RepositoryUpsertOne) SetOpenIssues ¶
func (u *RepositoryUpsertOne) SetOpenIssues(v int64) *RepositoryUpsertOne
SetOpenIssues sets the "open_issues" field.
func (*RepositoryUpsertOne) SetOpenIssuesCount ¶
func (u *RepositoryUpsertOne) SetOpenIssuesCount(v int64) *RepositoryUpsertOne
SetOpenIssuesCount sets the "open_issues_count" field.
func (*RepositoryUpsertOne) SetPrivate ¶
func (u *RepositoryUpsertOne) SetPrivate(v bool) *RepositoryUpsertOne
SetPrivate sets the "private" field.
func (*RepositoryUpsertOne) SetPullsURL ¶
func (u *RepositoryUpsertOne) SetPullsURL(v string) *RepositoryUpsertOne
SetPullsURL sets the "pulls_url" field.
func (*RepositoryUpsertOne) SetPushedAt ¶
func (u *RepositoryUpsertOne) SetPushedAt(v time.Time) *RepositoryUpsertOne
SetPushedAt sets the "pushed_at" field.
func (*RepositoryUpsertOne) SetReleasesURL ¶
func (u *RepositoryUpsertOne) SetReleasesURL(v string) *RepositoryUpsertOne
SetReleasesURL sets the "releases_url" field.
func (*RepositoryUpsertOne) SetSSHURL ¶
func (u *RepositoryUpsertOne) SetSSHURL(v string) *RepositoryUpsertOne
SetSSHURL sets the "ssh_url" field.
func (*RepositoryUpsertOne) SetSize ¶
func (u *RepositoryUpsertOne) SetSize(v int64) *RepositoryUpsertOne
SetSize sets the "size" field.
func (*RepositoryUpsertOne) SetStargazersCount ¶
func (u *RepositoryUpsertOne) SetStargazersCount(v int64) *RepositoryUpsertOne
SetStargazersCount sets the "stargazers_count" field.
func (*RepositoryUpsertOne) SetStargazersURL ¶
func (u *RepositoryUpsertOne) SetStargazersURL(v string) *RepositoryUpsertOne
SetStargazersURL sets the "stargazers_url" field.
func (*RepositoryUpsertOne) SetStatusesURL ¶
func (u *RepositoryUpsertOne) SetStatusesURL(v string) *RepositoryUpsertOne
SetStatusesURL sets the "statuses_url" field.
func (*RepositoryUpsertOne) SetSubscribersCount ¶
func (u *RepositoryUpsertOne) SetSubscribersCount(v int64) *RepositoryUpsertOne
SetSubscribersCount sets the "subscribers_count" field.
func (*RepositoryUpsertOne) SetSubscribersURL ¶
func (u *RepositoryUpsertOne) SetSubscribersURL(v string) *RepositoryUpsertOne
SetSubscribersURL sets the "subscribers_url" field.
func (*RepositoryUpsertOne) SetSubscriptionURL ¶
func (u *RepositoryUpsertOne) SetSubscriptionURL(v string) *RepositoryUpsertOne
SetSubscriptionURL sets the "subscription_url" field.
func (*RepositoryUpsertOne) SetSvnURL ¶
func (u *RepositoryUpsertOne) SetSvnURL(v string) *RepositoryUpsertOne
SetSvnURL sets the "svn_url" field.
func (*RepositoryUpsertOne) SetTagsURL ¶
func (u *RepositoryUpsertOne) SetTagsURL(v string) *RepositoryUpsertOne
SetTagsURL sets the "tags_url" field.
func (*RepositoryUpsertOne) SetTeamsURL ¶
func (u *RepositoryUpsertOne) SetTeamsURL(v string) *RepositoryUpsertOne
SetTeamsURL sets the "teams_url" field.
func (*RepositoryUpsertOne) SetTopics ¶
func (u *RepositoryUpsertOne) SetTopics(v []string) *RepositoryUpsertOne
SetTopics sets the "topics" field.
func (*RepositoryUpsertOne) SetTreesURL ¶
func (u *RepositoryUpsertOne) SetTreesURL(v string) *RepositoryUpsertOne
SetTreesURL sets the "trees_url" field.
func (*RepositoryUpsertOne) SetURL ¶
func (u *RepositoryUpsertOne) SetURL(v string) *RepositoryUpsertOne
SetURL sets the "url" field.
func (*RepositoryUpsertOne) SetUpdatedAt ¶
func (u *RepositoryUpsertOne) SetUpdatedAt(v time.Time) *RepositoryUpsertOne
SetUpdatedAt sets the "updated_at" field.
func (*RepositoryUpsertOne) SetVisibility ¶
func (u *RepositoryUpsertOne) SetVisibility(v repository.Visibility) *RepositoryUpsertOne
SetVisibility sets the "visibility" field.
func (*RepositoryUpsertOne) SetWatchers ¶
func (u *RepositoryUpsertOne) SetWatchers(v int64) *RepositoryUpsertOne
SetWatchers sets the "watchers" field.
func (*RepositoryUpsertOne) SetWatchersCount ¶
func (u *RepositoryUpsertOne) SetWatchersCount(v int64) *RepositoryUpsertOne
SetWatchersCount sets the "watchers_count" field.
func (*RepositoryUpsertOne) Update ¶
func (u *RepositoryUpsertOne) Update(set func(*RepositoryUpsert)) *RepositoryUpsertOne
Update allows overriding fields `UPDATE` values. See the RepositoryCreate.OnConflict documentation for more info.
func (*RepositoryUpsertOne) UpdateArchiveURL ¶
func (u *RepositoryUpsertOne) UpdateArchiveURL() *RepositoryUpsertOne
UpdateArchiveURL sets the "archive_url" field to the value that was provided on create.
func (*RepositoryUpsertOne) UpdateArchived ¶
func (u *RepositoryUpsertOne) UpdateArchived() *RepositoryUpsertOne
UpdateArchived sets the "archived" field to the value that was provided on create.
func (*RepositoryUpsertOne) UpdateAssigneesURL ¶
func (u *RepositoryUpsertOne) UpdateAssigneesURL() *RepositoryUpsertOne
UpdateAssigneesURL sets the "assignees_url" field to the value that was provided on create.
func (*RepositoryUpsertOne) UpdateBlobsURL ¶
func (u *RepositoryUpsertOne) UpdateBlobsURL() *RepositoryUpsertOne
UpdateBlobsURL sets the "blobs_url" field to the value that was provided on create.
func (*RepositoryUpsertOne) UpdateBranchesURL ¶
func (u *RepositoryUpsertOne) UpdateBranchesURL() *RepositoryUpsertOne
UpdateBranchesURL sets the "branches_url" field to the value that was provided on create.
func (*RepositoryUpsertOne) UpdateCloneURL ¶
func (u *RepositoryUpsertOne) UpdateCloneURL() *RepositoryUpsertOne
UpdateCloneURL sets the "clone_url" field to the value that was provided on create.
func (*RepositoryUpsertOne) UpdateCollaboratorsURL ¶
func (u *RepositoryUpsertOne) UpdateCollaboratorsURL() *RepositoryUpsertOne
UpdateCollaboratorsURL sets the "collaborators_url" field to the value that was provided on create.
func (*RepositoryUpsertOne) UpdateCommentsURL ¶
func (u *RepositoryUpsertOne) UpdateCommentsURL() *RepositoryUpsertOne
UpdateCommentsURL sets the "comments_url" field to the value that was provided on create.
func (*RepositoryUpsertOne) UpdateCommitsURL ¶
func (u *RepositoryUpsertOne) UpdateCommitsURL() *RepositoryUpsertOne
UpdateCommitsURL sets the "commits_url" field to the value that was provided on create.
func (*RepositoryUpsertOne) UpdateCompareURL ¶
func (u *RepositoryUpsertOne) UpdateCompareURL() *RepositoryUpsertOne
UpdateCompareURL sets the "compare_url" field to the value that was provided on create.
func (*RepositoryUpsertOne) UpdateContentsURL ¶
func (u *RepositoryUpsertOne) UpdateContentsURL() *RepositoryUpsertOne
UpdateContentsURL sets the "contents_url" field to the value that was provided on create.
func (*RepositoryUpsertOne) UpdateContributorsURL ¶
func (u *RepositoryUpsertOne) UpdateContributorsURL() *RepositoryUpsertOne
UpdateContributorsURL sets the "contributors_url" field to the value that was provided on create.
func (*RepositoryUpsertOne) UpdateCreatedAt ¶
func (u *RepositoryUpsertOne) UpdateCreatedAt() *RepositoryUpsertOne
UpdateCreatedAt sets the "created_at" field to the value that was provided on create.
func (*RepositoryUpsertOne) UpdateDefaultBranch ¶
func (u *RepositoryUpsertOne) UpdateDefaultBranch() *RepositoryUpsertOne
UpdateDefaultBranch sets the "default_branch" field to the value that was provided on create.
func (*RepositoryUpsertOne) UpdateDeploymentsURL ¶
func (u *RepositoryUpsertOne) UpdateDeploymentsURL() *RepositoryUpsertOne
UpdateDeploymentsURL sets the "deployments_url" field to the value that was provided on create.
func (*RepositoryUpsertOne) UpdateDescription ¶
func (u *RepositoryUpsertOne) UpdateDescription() *RepositoryUpsertOne
UpdateDescription sets the "description" field to the value that was provided on create.
func (*RepositoryUpsertOne) UpdateDisabled ¶
func (u *RepositoryUpsertOne) UpdateDisabled() *RepositoryUpsertOne
UpdateDisabled sets the "disabled" field to the value that was provided on create.
func (*RepositoryUpsertOne) UpdateDownloadsURL ¶
func (u *RepositoryUpsertOne) UpdateDownloadsURL() *RepositoryUpsertOne
UpdateDownloadsURL sets the "downloads_url" field to the value that was provided on create.
func (*RepositoryUpsertOne) UpdateEventsURL ¶
func (u *RepositoryUpsertOne) UpdateEventsURL() *RepositoryUpsertOne
UpdateEventsURL sets the "events_url" field to the value that was provided on create.
func (*RepositoryUpsertOne) UpdateFork ¶
func (u *RepositoryUpsertOne) UpdateFork() *RepositoryUpsertOne
UpdateFork sets the "fork" field to the value that was provided on create.
func (*RepositoryUpsertOne) UpdateForks ¶
func (u *RepositoryUpsertOne) UpdateForks() *RepositoryUpsertOne
UpdateForks sets the "forks" field to the value that was provided on create.
func (*RepositoryUpsertOne) UpdateForksCount ¶
func (u *RepositoryUpsertOne) UpdateForksCount() *RepositoryUpsertOne
UpdateForksCount sets the "forks_count" field to the value that was provided on create.
func (*RepositoryUpsertOne) UpdateForksURL ¶
func (u *RepositoryUpsertOne) UpdateForksURL() *RepositoryUpsertOne
UpdateForksURL sets the "forks_url" field to the value that was provided on create.
func (*RepositoryUpsertOne) UpdateFullName ¶
func (u *RepositoryUpsertOne) UpdateFullName() *RepositoryUpsertOne
UpdateFullName sets the "full_name" field to the value that was provided on create.
func (*RepositoryUpsertOne) UpdateGitCommitsURL ¶
func (u *RepositoryUpsertOne) UpdateGitCommitsURL() *RepositoryUpsertOne
UpdateGitCommitsURL sets the "git_commits_url" field to the value that was provided on create.
func (*RepositoryUpsertOne) UpdateGitRefsURL ¶
func (u *RepositoryUpsertOne) UpdateGitRefsURL() *RepositoryUpsertOne
UpdateGitRefsURL sets the "git_refs_url" field to the value that was provided on create.
func (*RepositoryUpsertOne) UpdateGitTagsURL ¶
func (u *RepositoryUpsertOne) UpdateGitTagsURL() *RepositoryUpsertOne
UpdateGitTagsURL sets the "git_tags_url" field to the value that was provided on create.
func (*RepositoryUpsertOne) UpdateGitURL ¶
func (u *RepositoryUpsertOne) UpdateGitURL() *RepositoryUpsertOne
UpdateGitURL sets the "git_url" field to the value that was provided on create.
func (*RepositoryUpsertOne) UpdateHTMLURL ¶
func (u *RepositoryUpsertOne) UpdateHTMLURL() *RepositoryUpsertOne
UpdateHTMLURL sets the "html_url" field to the value that was provided on create.
func (*RepositoryUpsertOne) UpdateHasDiscussions ¶
func (u *RepositoryUpsertOne) UpdateHasDiscussions() *RepositoryUpsertOne
UpdateHasDiscussions sets the "has_discussions" field to the value that was provided on create.
func (*RepositoryUpsertOne) UpdateHasDownloads ¶
func (u *RepositoryUpsertOne) UpdateHasDownloads() *RepositoryUpsertOne
UpdateHasDownloads sets the "has_downloads" field to the value that was provided on create.
func (*RepositoryUpsertOne) UpdateHasIssuesEnabled ¶
func (u *RepositoryUpsertOne) UpdateHasIssuesEnabled() *RepositoryUpsertOne
UpdateHasIssuesEnabled sets the "has_issues_enabled" field to the value that was provided on create.
func (*RepositoryUpsertOne) UpdateHasPages ¶
func (u *RepositoryUpsertOne) UpdateHasPages() *RepositoryUpsertOne
UpdateHasPages sets the "has_pages" field to the value that was provided on create.
func (*RepositoryUpsertOne) UpdateHasProjects ¶
func (u *RepositoryUpsertOne) UpdateHasProjects() *RepositoryUpsertOne
UpdateHasProjects sets the "has_projects" field to the value that was provided on create.
func (*RepositoryUpsertOne) UpdateHasWiki ¶
func (u *RepositoryUpsertOne) UpdateHasWiki() *RepositoryUpsertOne
UpdateHasWiki sets the "has_wiki" field to the value that was provided on create.
func (*RepositoryUpsertOne) UpdateHomepage ¶
func (u *RepositoryUpsertOne) UpdateHomepage() *RepositoryUpsertOne
UpdateHomepage sets the "homepage" field to the value that was provided on create.
func (*RepositoryUpsertOne) UpdateHooksURL ¶
func (u *RepositoryUpsertOne) UpdateHooksURL() *RepositoryUpsertOne
UpdateHooksURL sets the "hooks_url" field to the value that was provided on create.
func (*RepositoryUpsertOne) UpdateIsTemplate ¶
func (u *RepositoryUpsertOne) UpdateIsTemplate() *RepositoryUpsertOne
UpdateIsTemplate sets the "is_template" field to the value that was provided on create.
func (*RepositoryUpsertOne) UpdateIssueCommentURL ¶
func (u *RepositoryUpsertOne) UpdateIssueCommentURL() *RepositoryUpsertOne
UpdateIssueCommentURL sets the "issue_comment_url" field to the value that was provided on create.
func (*RepositoryUpsertOne) UpdateIssueEventsURL ¶
func (u *RepositoryUpsertOne) UpdateIssueEventsURL() *RepositoryUpsertOne
UpdateIssueEventsURL sets the "issue_events_url" field to the value that was provided on create.
func (*RepositoryUpsertOne) UpdateIssuesURL ¶
func (u *RepositoryUpsertOne) UpdateIssuesURL() *RepositoryUpsertOne
UpdateIssuesURL sets the "issues_url" field to the value that was provided on create.
func (*RepositoryUpsertOne) UpdateKeysURL ¶
func (u *RepositoryUpsertOne) UpdateKeysURL() *RepositoryUpsertOne
UpdateKeysURL sets the "keys_url" field to the value that was provided on create.
func (*RepositoryUpsertOne) UpdateLabelsURL ¶
func (u *RepositoryUpsertOne) UpdateLabelsURL() *RepositoryUpsertOne
UpdateLabelsURL sets the "labels_url" field to the value that was provided on create.
func (*RepositoryUpsertOne) UpdateLanguage ¶
func (u *RepositoryUpsertOne) UpdateLanguage() *RepositoryUpsertOne
UpdateLanguage sets the "language" field to the value that was provided on create.
func (*RepositoryUpsertOne) UpdateLanguagesURL ¶
func (u *RepositoryUpsertOne) UpdateLanguagesURL() *RepositoryUpsertOne
UpdateLanguagesURL sets the "languages_url" field to the value that was provided on create.
func (*RepositoryUpsertOne) UpdateLicense ¶
func (u *RepositoryUpsertOne) UpdateLicense() *RepositoryUpsertOne
UpdateLicense sets the "license" field to the value that was provided on create.
func (*RepositoryUpsertOne) UpdateMergesURL ¶
func (u *RepositoryUpsertOne) UpdateMergesURL() *RepositoryUpsertOne
UpdateMergesURL sets the "merges_url" field to the value that was provided on create.
func (*RepositoryUpsertOne) UpdateMilestonesURL ¶
func (u *RepositoryUpsertOne) UpdateMilestonesURL() *RepositoryUpsertOne
UpdateMilestonesURL sets the "milestones_url" field to the value that was provided on create.
func (*RepositoryUpsertOne) UpdateMirrorURL ¶
func (u *RepositoryUpsertOne) UpdateMirrorURL() *RepositoryUpsertOne
UpdateMirrorURL sets the "mirror_url" field to the value that was provided on create.
func (*RepositoryUpsertOne) UpdateName ¶
func (u *RepositoryUpsertOne) UpdateName() *RepositoryUpsertOne
UpdateName sets the "name" field to the value that was provided on create.
func (*RepositoryUpsertOne) UpdateNetworkCount ¶
func (u *RepositoryUpsertOne) UpdateNetworkCount() *RepositoryUpsertOne
UpdateNetworkCount sets the "network_count" field to the value that was provided on create.
func (*RepositoryUpsertOne) UpdateNewValues ¶
func (u *RepositoryUpsertOne) UpdateNewValues() *RepositoryUpsertOne
UpdateNewValues updates the mutable fields using the new values that were set on create except the ID field. Using this option is equivalent to using:
client.Repository.Create(). OnConflict( sql.ResolveWithNewValues(), sql.ResolveWith(func(u *sql.UpdateSet) { u.SetIgnore(repository.FieldID) }), ). Exec(ctx)
func (*RepositoryUpsertOne) UpdateNodeID ¶
func (u *RepositoryUpsertOne) UpdateNodeID() *RepositoryUpsertOne
UpdateNodeID sets the "node_id" field to the value that was provided on create.
func (*RepositoryUpsertOne) UpdateNotificationsURL ¶
func (u *RepositoryUpsertOne) UpdateNotificationsURL() *RepositoryUpsertOne
UpdateNotificationsURL sets the "notifications_url" field to the value that was provided on create.
func (*RepositoryUpsertOne) UpdateOpenIssues ¶
func (u *RepositoryUpsertOne) UpdateOpenIssues() *RepositoryUpsertOne
UpdateOpenIssues sets the "open_issues" field to the value that was provided on create.
func (*RepositoryUpsertOne) UpdateOpenIssuesCount ¶
func (u *RepositoryUpsertOne) UpdateOpenIssuesCount() *RepositoryUpsertOne
UpdateOpenIssuesCount sets the "open_issues_count" field to the value that was provided on create.
func (*RepositoryUpsertOne) UpdatePrivate ¶
func (u *RepositoryUpsertOne) UpdatePrivate() *RepositoryUpsertOne
UpdatePrivate sets the "private" field to the value that was provided on create.
func (*RepositoryUpsertOne) UpdatePullsURL ¶
func (u *RepositoryUpsertOne) UpdatePullsURL() *RepositoryUpsertOne
UpdatePullsURL sets the "pulls_url" field to the value that was provided on create.
func (*RepositoryUpsertOne) UpdatePushedAt ¶
func (u *RepositoryUpsertOne) UpdatePushedAt() *RepositoryUpsertOne
UpdatePushedAt sets the "pushed_at" field to the value that was provided on create.
func (*RepositoryUpsertOne) UpdateReleasesURL ¶
func (u *RepositoryUpsertOne) UpdateReleasesURL() *RepositoryUpsertOne
UpdateReleasesURL sets the "releases_url" field to the value that was provided on create.
func (*RepositoryUpsertOne) UpdateSSHURL ¶
func (u *RepositoryUpsertOne) UpdateSSHURL() *RepositoryUpsertOne
UpdateSSHURL sets the "ssh_url" field to the value that was provided on create.
func (*RepositoryUpsertOne) UpdateSize ¶
func (u *RepositoryUpsertOne) UpdateSize() *RepositoryUpsertOne
UpdateSize sets the "size" field to the value that was provided on create.
func (*RepositoryUpsertOne) UpdateStargazersCount ¶
func (u *RepositoryUpsertOne) UpdateStargazersCount() *RepositoryUpsertOne
UpdateStargazersCount sets the "stargazers_count" field to the value that was provided on create.
func (*RepositoryUpsertOne) UpdateStargazersURL ¶
func (u *RepositoryUpsertOne) UpdateStargazersURL() *RepositoryUpsertOne
UpdateStargazersURL sets the "stargazers_url" field to the value that was provided on create.
func (*RepositoryUpsertOne) UpdateStatusesURL ¶
func (u *RepositoryUpsertOne) UpdateStatusesURL() *RepositoryUpsertOne
UpdateStatusesURL sets the "statuses_url" field to the value that was provided on create.
func (*RepositoryUpsertOne) UpdateSubscribersCount ¶
func (u *RepositoryUpsertOne) UpdateSubscribersCount() *RepositoryUpsertOne
UpdateSubscribersCount sets the "subscribers_count" field to the value that was provided on create.
func (*RepositoryUpsertOne) UpdateSubscribersURL ¶
func (u *RepositoryUpsertOne) UpdateSubscribersURL() *RepositoryUpsertOne
UpdateSubscribersURL sets the "subscribers_url" field to the value that was provided on create.
func (*RepositoryUpsertOne) UpdateSubscriptionURL ¶
func (u *RepositoryUpsertOne) UpdateSubscriptionURL() *RepositoryUpsertOne
UpdateSubscriptionURL sets the "subscription_url" field to the value that was provided on create.
func (*RepositoryUpsertOne) UpdateSvnURL ¶
func (u *RepositoryUpsertOne) UpdateSvnURL() *RepositoryUpsertOne
UpdateSvnURL sets the "svn_url" field to the value that was provided on create.
func (*RepositoryUpsertOne) UpdateTagsURL ¶
func (u *RepositoryUpsertOne) UpdateTagsURL() *RepositoryUpsertOne
UpdateTagsURL sets the "tags_url" field to the value that was provided on create.
func (*RepositoryUpsertOne) UpdateTeamsURL ¶
func (u *RepositoryUpsertOne) UpdateTeamsURL() *RepositoryUpsertOne
UpdateTeamsURL sets the "teams_url" field to the value that was provided on create.
func (*RepositoryUpsertOne) UpdateTopics ¶
func (u *RepositoryUpsertOne) UpdateTopics() *RepositoryUpsertOne
UpdateTopics sets the "topics" field to the value that was provided on create.
func (*RepositoryUpsertOne) UpdateTreesURL ¶
func (u *RepositoryUpsertOne) UpdateTreesURL() *RepositoryUpsertOne
UpdateTreesURL sets the "trees_url" field to the value that was provided on create.
func (*RepositoryUpsertOne) UpdateURL ¶
func (u *RepositoryUpsertOne) UpdateURL() *RepositoryUpsertOne
UpdateURL sets the "url" field to the value that was provided on create.
func (*RepositoryUpsertOne) UpdateUpdatedAt ¶
func (u *RepositoryUpsertOne) UpdateUpdatedAt() *RepositoryUpsertOne
UpdateUpdatedAt sets the "updated_at" field to the value that was provided on create.
func (*RepositoryUpsertOne) UpdateVisibility ¶
func (u *RepositoryUpsertOne) UpdateVisibility() *RepositoryUpsertOne
UpdateVisibility sets the "visibility" field to the value that was provided on create.
func (*RepositoryUpsertOne) UpdateWatchers ¶
func (u *RepositoryUpsertOne) UpdateWatchers() *RepositoryUpsertOne
UpdateWatchers sets the "watchers" field to the value that was provided on create.
func (*RepositoryUpsertOne) UpdateWatchersCount ¶
func (u *RepositoryUpsertOne) UpdateWatchersCount() *RepositoryUpsertOne
UpdateWatchersCount sets the "watchers_count" field to the value that was provided on create.
type RollbackFunc ¶
The RollbackFunc type is an adapter to allow the use of ordinary function as a Rollbacker. If f is a function with the appropriate signature, RollbackFunc(f) is a Rollbacker that calls f.
type RollbackHook ¶
type RollbackHook func(Rollbacker) Rollbacker
RollbackHook defines the "rollback middleware". A function that gets a Rollbacker and returns a Rollbacker. For example:
hook := func(next ent.Rollbacker) ent.Rollbacker { return ent.RollbackFunc(func(ctx context.Context, tx *ent.Tx) error { // Do some stuff before. if err := next.Rollback(ctx, tx); err != nil { return err } // Do some stuff after. return nil }) }
type Rollbacker ¶
Rollbacker is the interface that wraps the Rollback method.
type TraverseFunc ¶
type TraverseFunc = ent.TraverseFunc
ent aliases to avoid import conflicts in user's code.
type Tx ¶
type Tx struct { // Issue is the client for interacting with the Issue builders. Issue *IssueClient // IssueComment is the client for interacting with the IssueComment builders. IssueComment *IssueCommentClient // Repository is the client for interacting with the Repository builders. Repository *RepositoryClient // User is the client for interacting with the User builders. User *UserClient // contains filtered or unexported fields }
Tx is a transactional client that is created by calling Client.Tx().
func TxFromContext ¶
TxFromContext returns a Tx stored inside a context, or nil if there isn't one.
func (*Tx) OnRollback ¶
func (tx *Tx) OnRollback(f RollbackHook)
OnRollback adds a hook to call on rollback.
type User ¶
type User struct { // ID of the ent. ID int64 `json:"id,omitempty"` // Login holds the value of the "login" field. Login string `json:"login"` // NodeID holds the value of the "node_id" field. NodeID string `json:"node_id"` // AvatarURL holds the value of the "avatar_url" field. AvatarURL string `json:"avatar_url"` // GravatarID holds the value of the "gravatar_id" field. GravatarID string `json:"gravatar_id"` // URL holds the value of the "url" field. URL string `json:"url"` // HTMLURL holds the value of the "html_url" field. HTMLURL string `json:"html_url"` // FollowersURL holds the value of the "followers_url" field. FollowersURL string `json:"followers_url"` // FollowingURL holds the value of the "following_url" field. FollowingURL string `json:"following_url"` // GistsURL holds the value of the "gists_url" field. GistsURL string `json:"gists_url"` // StarredURL holds the value of the "starred_url" field. StarredURL string `json:"starred_url"` // SubscriptionsURL holds the value of the "subscriptions_url" field. SubscriptionsURL string `json:"subscriptions_url"` // OrganizationsURL holds the value of the "organizations_url" field. OrganizationsURL string `json:"organizations_url"` // ReposURL holds the value of the "repos_url" field. ReposURL string `json:"repos_url"` // EventsURL holds the value of the "events_url" field. EventsURL string `json:"events_url"` // ReceivedEventsURL holds the value of the "received_events_url" field. ReceivedEventsURL string `json:"received_events_url"` // Type holds the value of the "type" field. Type string `json:"type"` // SiteAdmin holds the value of the "site_admin" field. SiteAdmin bool `json:"site_admin"` // Name holds the value of the "name" field. Name string `json:"name"` // Company holds the value of the "company" field. Company string `json:"company"` // Blog holds the value of the "blog" field. Blog string `json:"blog"` // Location holds the value of the "location" field. Location string `json:"location"` // Email holds the value of the "email" field. Email string `json:"email"` // Hireable holds the value of the "hireable" field. Hireable bool `json:"hireable"` // Bio holds the value of the "bio" field. Bio string `json:"bio"` // PublicRepos holds the value of the "public_repos" field. PublicRepos int64 `json:"public_repos"` // PublicGists holds the value of the "public_gists" field. PublicGists int64 `json:"public_gists"` // Followers holds the value of the "followers" field. Followers int64 `json:"followers"` // Following holds the value of the "following" field. Following int64 `json:"following"` // CreatedAt holds the value of the "created_at" field. CreatedAt time.Time `json:"created_at"` // UpdatedAt holds the value of the "updated_at" field. UpdatedAt time.Time `json:"updated_at"` // Edges holds the relations/edges for other nodes in the graph. // The values are being populated by the UserQuery when eager-loading is set. Edges UserEdges `json:"-"` // contains filtered or unexported fields }
User is the model entity for the User schema.
func (*User) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface.
func (*User) QueryCommentsCreated ¶
func (u *User) QueryCommentsCreated() *IssueCommentQuery
QueryCommentsCreated queries the "comments_created" edge of the User entity.
func (*User) QueryIssuesAssigned ¶
func (u *User) QueryIssuesAssigned() *IssueQuery
QueryIssuesAssigned queries the "issues_assigned" edge of the User entity.
func (*User) QueryIssuesClosed ¶
func (u *User) QueryIssuesClosed() *IssueQuery
QueryIssuesClosed queries the "issues_closed" edge of the User entity.
func (*User) QueryIssuesCreated ¶
func (u *User) QueryIssuesCreated() *IssueQuery
QueryIssuesCreated queries the "issues_created" edge of the User entity.
func (*User) QueryRepositories ¶
func (u *User) QueryRepositories() *RepositoryQuery
QueryRepositories queries the "repositories" edge of the User entity.
func (*User) Unwrap ¶
Unwrap unwraps the User entity that was returned from a transaction after it was closed, so that all future queries will be executed through the driver which created the transaction.
func (*User) Update ¶
func (u *User) Update() *UserUpdateOne
Update returns a builder for updating this User. Note that you need to call User.Unwrap() before calling this method if this User was returned from a transaction, and the transaction was committed or rolled back.
type UserClient ¶
type UserClient struct {
// contains filtered or unexported fields
}
UserClient is a client for the User schema.
func NewUserClient ¶
func NewUserClient(c config) *UserClient
NewUserClient returns a client for the User from the given config.
func (*UserClient) Create ¶
func (c *UserClient) Create() *UserCreate
Create returns a builder for creating a User entity.
func (*UserClient) CreateBulk ¶
func (c *UserClient) CreateBulk(builders ...*UserCreate) *UserCreateBulk
CreateBulk returns a builder for creating a bulk of User entities.
func (*UserClient) Delete ¶
func (c *UserClient) Delete() *UserDelete
Delete returns a delete builder for User.
func (*UserClient) DeleteOne ¶
func (c *UserClient) DeleteOne(u *User) *UserDeleteOne
DeleteOne returns a builder for deleting the given entity.
func (*UserClient) DeleteOneID ¶
func (c *UserClient) DeleteOneID(id int64) *UserDeleteOne
DeleteOneID returns a builder for deleting the given entity by its id.
func (*UserClient) GetX ¶
func (c *UserClient) GetX(ctx context.Context, id int64) *User
GetX is like Get, but panics if an error occurs.
func (*UserClient) Intercept ¶
func (c *UserClient) Intercept(interceptors ...Interceptor)
Intercept adds a list of query interceptors to the interceptors stack. A call to `Intercept(f, g, h)` equals to `user.Intercept(f(g(h())))`.
func (*UserClient) Interceptors ¶
func (c *UserClient) Interceptors() []Interceptor
Interceptors returns the client interceptors.
func (*UserClient) MapCreateBulk ¶
func (c *UserClient) MapCreateBulk(slice any, setFunc func(*UserCreate, int)) *UserCreateBulk
MapCreateBulk creates a bulk creation builder from the given slice. For each item in the slice, the function creates a builder and applies setFunc on it.
func (*UserClient) Query ¶
func (c *UserClient) Query() *UserQuery
Query returns a query builder for User.
func (*UserClient) QueryCommentsCreated ¶
func (c *UserClient) QueryCommentsCreated(u *User) *IssueCommentQuery
QueryCommentsCreated queries the comments_created edge of a User.
func (*UserClient) QueryIssuesAssigned ¶
func (c *UserClient) QueryIssuesAssigned(u *User) *IssueQuery
QueryIssuesAssigned queries the issues_assigned edge of a User.
func (*UserClient) QueryIssuesClosed ¶
func (c *UserClient) QueryIssuesClosed(u *User) *IssueQuery
QueryIssuesClosed queries the issues_closed edge of a User.
func (*UserClient) QueryIssuesCreated ¶
func (c *UserClient) QueryIssuesCreated(u *User) *IssueQuery
QueryIssuesCreated queries the issues_created edge of a User.
func (*UserClient) QueryRepositories ¶
func (c *UserClient) QueryRepositories(u *User) *RepositoryQuery
QueryRepositories queries the repositories edge of a User.
func (*UserClient) Update ¶
func (c *UserClient) Update() *UserUpdate
Update returns an update builder for User.
func (*UserClient) UpdateOne ¶
func (c *UserClient) UpdateOne(u *User) *UserUpdateOne
UpdateOne returns an update builder for the given entity.
func (*UserClient) UpdateOneID ¶
func (c *UserClient) UpdateOneID(id int64) *UserUpdateOne
UpdateOneID returns an update builder for the given id.
func (*UserClient) Use ¶
func (c *UserClient) Use(hooks ...Hook)
Use adds a list of mutation hooks to the hooks stack. A call to `Use(f, g, h)` equals to `user.Hooks(f(g(h())))`.
type UserCreate ¶
type UserCreate struct {
// contains filtered or unexported fields
}
UserCreate is the builder for creating a User entity.
func (*UserCreate) AddCommentsCreated ¶
func (uc *UserCreate) AddCommentsCreated(i ...*IssueComment) *UserCreate
AddCommentsCreated adds the "comments_created" edges to the IssueComment entity.
func (*UserCreate) AddCommentsCreatedIDs ¶
func (uc *UserCreate) AddCommentsCreatedIDs(ids ...int64) *UserCreate
AddCommentsCreatedIDs adds the "comments_created" edge to the IssueComment entity by IDs.
func (*UserCreate) AddIssuesAssigned ¶
func (uc *UserCreate) AddIssuesAssigned(i ...*Issue) *UserCreate
AddIssuesAssigned adds the "issues_assigned" edges to the Issue entity.
func (*UserCreate) AddIssuesAssignedIDs ¶
func (uc *UserCreate) AddIssuesAssignedIDs(ids ...int64) *UserCreate
AddIssuesAssignedIDs adds the "issues_assigned" edge to the Issue entity by IDs.
func (*UserCreate) AddIssuesClosed ¶
func (uc *UserCreate) AddIssuesClosed(i ...*Issue) *UserCreate
AddIssuesClosed adds the "issues_closed" edges to the Issue entity.
func (*UserCreate) AddIssuesClosedIDs ¶
func (uc *UserCreate) AddIssuesClosedIDs(ids ...int64) *UserCreate
AddIssuesClosedIDs adds the "issues_closed" edge to the Issue entity by IDs.
func (*UserCreate) AddIssuesCreated ¶
func (uc *UserCreate) AddIssuesCreated(i ...*Issue) *UserCreate
AddIssuesCreated adds the "issues_created" edges to the Issue entity.
func (*UserCreate) AddIssuesCreatedIDs ¶
func (uc *UserCreate) AddIssuesCreatedIDs(ids ...int64) *UserCreate
AddIssuesCreatedIDs adds the "issues_created" edge to the Issue entity by IDs.
func (*UserCreate) AddRepositories ¶
func (uc *UserCreate) AddRepositories(r ...*Repository) *UserCreate
AddRepositories adds the "repositories" edges to the Repository entity.
func (*UserCreate) AddRepositoryIDs ¶
func (uc *UserCreate) AddRepositoryIDs(ids ...int64) *UserCreate
AddRepositoryIDs adds the "repositories" edge to the Repository entity by IDs.
func (*UserCreate) CopyUser ¶
func (uc *UserCreate) CopyUser(input *User) *UserCreate
CopyUser allows to create a new User copying the existing values of input.
func (*UserCreate) Exec ¶
func (uc *UserCreate) Exec(ctx context.Context) error
Exec executes the query.
func (*UserCreate) ExecX ¶
func (uc *UserCreate) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*UserCreate) Mutation ¶
func (uc *UserCreate) Mutation() *UserMutation
Mutation returns the UserMutation object of the builder.
func (*UserCreate) OnConflict ¶
func (uc *UserCreate) OnConflict(opts ...sql.ConflictOption) *UserUpsertOne
OnConflict allows configuring the `ON CONFLICT` / `ON DUPLICATE KEY` clause of the `INSERT` statement. For example:
client.User.Create(). SetLogin(v). OnConflict( // Update the row with the new values // the was proposed for insertion. sql.ResolveWithNewValues(), ). // Override some of the fields with custom // update values. Update(func(u *ent.UserUpsert) { SetLogin(v+v). }). Exec(ctx)
func (*UserCreate) OnConflictColumns ¶
func (uc *UserCreate) OnConflictColumns(columns ...string) *UserUpsertOne
OnConflictColumns calls `OnConflict` and configures the columns as conflict target. Using this option is equivalent to using:
client.User.Create(). OnConflict(sql.ConflictColumns(columns...)). Exec(ctx)
func (*UserCreate) Save ¶
func (uc *UserCreate) Save(ctx context.Context) (*User, error)
Save creates the User in the database.
func (*UserCreate) SaveX ¶
func (uc *UserCreate) SaveX(ctx context.Context) *User
SaveX calls Save and panics if Save returns an error.
func (*UserCreate) SetAvatarURL ¶
func (uc *UserCreate) SetAvatarURL(s string) *UserCreate
SetAvatarURL sets the "avatar_url" field.
func (*UserCreate) SetBio ¶
func (uc *UserCreate) SetBio(s string) *UserCreate
SetBio sets the "bio" field.
func (*UserCreate) SetBlog ¶
func (uc *UserCreate) SetBlog(s string) *UserCreate
SetBlog sets the "blog" field.
func (*UserCreate) SetCompany ¶
func (uc *UserCreate) SetCompany(s string) *UserCreate
SetCompany sets the "company" field.
func (*UserCreate) SetCreatedAt ¶
func (uc *UserCreate) SetCreatedAt(t time.Time) *UserCreate
SetCreatedAt sets the "created_at" field.
func (*UserCreate) SetEmail ¶
func (uc *UserCreate) SetEmail(s string) *UserCreate
SetEmail sets the "email" field.
func (*UserCreate) SetEventsURL ¶
func (uc *UserCreate) SetEventsURL(s string) *UserCreate
SetEventsURL sets the "events_url" field.
func (*UserCreate) SetFollowers ¶
func (uc *UserCreate) SetFollowers(i int64) *UserCreate
SetFollowers sets the "followers" field.
func (*UserCreate) SetFollowersURL ¶
func (uc *UserCreate) SetFollowersURL(s string) *UserCreate
SetFollowersURL sets the "followers_url" field.
func (*UserCreate) SetFollowing ¶
func (uc *UserCreate) SetFollowing(i int64) *UserCreate
SetFollowing sets the "following" field.
func (*UserCreate) SetFollowingURL ¶
func (uc *UserCreate) SetFollowingURL(s string) *UserCreate
SetFollowingURL sets the "following_url" field.
func (*UserCreate) SetGistsURL ¶
func (uc *UserCreate) SetGistsURL(s string) *UserCreate
SetGistsURL sets the "gists_url" field.
func (*UserCreate) SetGravatarID ¶
func (uc *UserCreate) SetGravatarID(s string) *UserCreate
SetGravatarID sets the "gravatar_id" field.
func (*UserCreate) SetHTMLURL ¶
func (uc *UserCreate) SetHTMLURL(s string) *UserCreate
SetHTMLURL sets the "html_url" field.
func (*UserCreate) SetHireable ¶
func (uc *UserCreate) SetHireable(b bool) *UserCreate
SetHireable sets the "hireable" field.
func (*UserCreate) SetID ¶
func (uc *UserCreate) SetID(i int64) *UserCreate
SetID sets the "id" field.
func (*UserCreate) SetLocation ¶
func (uc *UserCreate) SetLocation(s string) *UserCreate
SetLocation sets the "location" field.
func (*UserCreate) SetLogin ¶
func (uc *UserCreate) SetLogin(s string) *UserCreate
SetLogin sets the "login" field.
func (*UserCreate) SetName ¶
func (uc *UserCreate) SetName(s string) *UserCreate
SetName sets the "name" field.
func (*UserCreate) SetNillableBio ¶
func (uc *UserCreate) SetNillableBio(s *string) *UserCreate
SetNillableBio sets the "bio" field if the given value is not nil.
func (*UserCreate) SetNillableBlog ¶
func (uc *UserCreate) SetNillableBlog(s *string) *UserCreate
SetNillableBlog sets the "blog" field if the given value is not nil.
func (*UserCreate) SetNillableCompany ¶
func (uc *UserCreate) SetNillableCompany(s *string) *UserCreate
SetNillableCompany sets the "company" field if the given value is not nil.
func (*UserCreate) SetNillableEmail ¶
func (uc *UserCreate) SetNillableEmail(s *string) *UserCreate
SetNillableEmail sets the "email" field if the given value is not nil.
func (*UserCreate) SetNillableGravatarID ¶
func (uc *UserCreate) SetNillableGravatarID(s *string) *UserCreate
SetNillableGravatarID sets the "gravatar_id" field if the given value is not nil.
func (*UserCreate) SetNillableHireable ¶
func (uc *UserCreate) SetNillableHireable(b *bool) *UserCreate
SetNillableHireable sets the "hireable" field if the given value is not nil.
func (*UserCreate) SetNillableLocation ¶
func (uc *UserCreate) SetNillableLocation(s *string) *UserCreate
SetNillableLocation sets the "location" field if the given value is not nil.
func (*UserCreate) SetNillableName ¶
func (uc *UserCreate) SetNillableName(s *string) *UserCreate
SetNillableName sets the "name" field if the given value is not nil.
func (*UserCreate) SetNodeID ¶
func (uc *UserCreate) SetNodeID(s string) *UserCreate
SetNodeID sets the "node_id" field.
func (*UserCreate) SetOrganizationsURL ¶
func (uc *UserCreate) SetOrganizationsURL(s string) *UserCreate
SetOrganizationsURL sets the "organizations_url" field.
func (*UserCreate) SetPublicGists ¶
func (uc *UserCreate) SetPublicGists(i int64) *UserCreate
SetPublicGists sets the "public_gists" field.
func (*UserCreate) SetPublicRepos ¶
func (uc *UserCreate) SetPublicRepos(i int64) *UserCreate
SetPublicRepos sets the "public_repos" field.
func (*UserCreate) SetReceivedEventsURL ¶
func (uc *UserCreate) SetReceivedEventsURL(s string) *UserCreate
SetReceivedEventsURL sets the "received_events_url" field.
func (*UserCreate) SetReposURL ¶
func (uc *UserCreate) SetReposURL(s string) *UserCreate
SetReposURL sets the "repos_url" field.
func (*UserCreate) SetSiteAdmin ¶
func (uc *UserCreate) SetSiteAdmin(b bool) *UserCreate
SetSiteAdmin sets the "site_admin" field.
func (*UserCreate) SetStarredURL ¶
func (uc *UserCreate) SetStarredURL(s string) *UserCreate
SetStarredURL sets the "starred_url" field.
func (*UserCreate) SetSubscriptionsURL ¶
func (uc *UserCreate) SetSubscriptionsURL(s string) *UserCreate
SetSubscriptionsURL sets the "subscriptions_url" field.
func (*UserCreate) SetType ¶
func (uc *UserCreate) SetType(s string) *UserCreate
SetType sets the "type" field.
func (*UserCreate) SetURL ¶
func (uc *UserCreate) SetURL(s string) *UserCreate
SetURL sets the "url" field.
func (*UserCreate) SetUpdatedAt ¶
func (uc *UserCreate) SetUpdatedAt(t time.Time) *UserCreate
SetUpdatedAt sets the "updated_at" field.
type UserCreateBulk ¶
type UserCreateBulk struct {
// contains filtered or unexported fields
}
UserCreateBulk is the builder for creating many User entities in bulk.
func (*UserCreateBulk) Exec ¶
func (ucb *UserCreateBulk) Exec(ctx context.Context) error
Exec executes the query.
func (*UserCreateBulk) ExecX ¶
func (ucb *UserCreateBulk) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*UserCreateBulk) OnConflict ¶
func (ucb *UserCreateBulk) OnConflict(opts ...sql.ConflictOption) *UserUpsertBulk
OnConflict allows configuring the `ON CONFLICT` / `ON DUPLICATE KEY` clause of the `INSERT` statement. For example:
client.User.CreateBulk(builders...). OnConflict( // Update the row with the new values // the was proposed for insertion. sql.ResolveWithNewValues(), ). // Override some of the fields with custom // update values. Update(func(u *ent.UserUpsert) { SetLogin(v+v). }). Exec(ctx)
func (*UserCreateBulk) OnConflictColumns ¶
func (ucb *UserCreateBulk) OnConflictColumns(columns ...string) *UserUpsertBulk
OnConflictColumns calls `OnConflict` and configures the columns as conflict target. Using this option is equivalent to using:
client.User.Create(). OnConflict(sql.ConflictColumns(columns...)). Exec(ctx)
type UserDelete ¶
type UserDelete struct {
// contains filtered or unexported fields
}
UserDelete is the builder for deleting a User entity.
func (*UserDelete) Exec ¶
func (ud *UserDelete) Exec(ctx context.Context) (int, error)
Exec executes the deletion query and returns how many vertices were deleted.
func (*UserDelete) ExecX ¶
func (ud *UserDelete) ExecX(ctx context.Context) int
ExecX is like Exec, but panics if an error occurs.
func (*UserDelete) Where ¶
func (ud *UserDelete) Where(ps ...predicate.User) *UserDelete
Where appends a list predicates to the UserDelete builder.
type UserDeleteOne ¶
type UserDeleteOne struct {
// contains filtered or unexported fields
}
UserDeleteOne is the builder for deleting a single User entity.
func (*UserDeleteOne) Exec ¶
func (udo *UserDeleteOne) Exec(ctx context.Context) error
Exec executes the deletion query.
func (*UserDeleteOne) ExecX ¶
func (udo *UserDeleteOne) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*UserDeleteOne) Where ¶
func (udo *UserDeleteOne) Where(ps ...predicate.User) *UserDeleteOne
Where appends a list predicates to the UserDelete builder.
type UserEdges ¶
type UserEdges struct { // Repositories holds the value of the repositories edge. Repositories []*Repository `json:"repositories,omitempty"` // IssuesCreated holds the value of the issues_created edge. IssuesCreated []*Issue `json:"issues_created,omitempty"` // CommentsCreated holds the value of the comments_created edge. CommentsCreated []*IssueComment `json:"comments_created,omitempty"` // IssuesAssigned holds the value of the issues_assigned edge. IssuesAssigned []*Issue `json:"issues_assigned,omitempty"` // IssuesClosed holds the value of the issues_closed edge. IssuesClosed []*Issue `json:"issues_closed,omitempty"` // contains filtered or unexported fields }
UserEdges holds the relations/edges for other nodes in the graph.
func (UserEdges) CommentsCreatedOrErr ¶
func (e UserEdges) CommentsCreatedOrErr() ([]*IssueComment, error)
CommentsCreatedOrErr returns the CommentsCreated value or an error if the edge was not loaded in eager-loading.
func (UserEdges) IssuesAssignedOrErr ¶
IssuesAssignedOrErr returns the IssuesAssigned value or an error if the edge was not loaded in eager-loading.
func (UserEdges) IssuesClosedOrErr ¶
IssuesClosedOrErr returns the IssuesClosed value or an error if the edge was not loaded in eager-loading.
func (UserEdges) IssuesCreatedOrErr ¶
IssuesCreatedOrErr returns the IssuesCreated value or an error if the edge was not loaded in eager-loading.
func (UserEdges) RepositoriesOrErr ¶
func (e UserEdges) RepositoriesOrErr() ([]*Repository, error)
RepositoriesOrErr returns the Repositories value or an error if the edge was not loaded in eager-loading.
type UserGroupBy ¶
type UserGroupBy struct {
// contains filtered or unexported fields
}
UserGroupBy is the group-by builder for User entities.
func (*UserGroupBy) Aggregate ¶
func (ugb *UserGroupBy) Aggregate(fns ...AggregateFunc) *UserGroupBy
Aggregate adds the given aggregation functions to the group-by query.
func (*UserGroupBy) Bool ¶
Bool returns a single bool from a selector. It is only allowed when selecting one field.
func (*UserGroupBy) Bools ¶
Bools returns list of bools from a selector. It is only allowed when selecting one field.
func (*UserGroupBy) Float64 ¶
Float64 returns a single float64 from a selector. It is only allowed when selecting one field.
func (*UserGroupBy) Float64s ¶
Float64s returns list of float64s from a selector. It is only allowed when selecting one field.
func (*UserGroupBy) Int ¶
Int returns a single int from a selector. It is only allowed when selecting one field.
func (*UserGroupBy) Ints ¶
Ints returns list of ints from a selector. It is only allowed when selecting one field.
func (*UserGroupBy) Scan ¶
func (ugb *UserGroupBy) Scan(ctx context.Context, v any) error
Scan applies the selector query and scans the result into the given value.
func (*UserGroupBy) String ¶
String returns a single string from a selector. It is only allowed when selecting one field.
type UserMutation ¶
type UserMutation struct {
// contains filtered or unexported fields
}
UserMutation represents an operation that mutates the User nodes in the graph.
func (*UserMutation) AddCommentsCreatedIDs ¶
func (m *UserMutation) AddCommentsCreatedIDs(ids ...int64)
AddCommentsCreatedIDs adds the "comments_created" edge to the IssueComment entity by ids.
func (*UserMutation) AddField ¶
func (m *UserMutation) AddField(name string, value ent.Value) error
AddField adds the value to the field with the given name. It returns an error if the field is not defined in the schema, or if the type mismatched the field type.
func (*UserMutation) AddFollowers ¶
func (m *UserMutation) AddFollowers(i int64)
AddFollowers adds i to the "followers" field.
func (*UserMutation) AddFollowing ¶
func (m *UserMutation) AddFollowing(i int64)
AddFollowing adds i to the "following" field.
func (*UserMutation) AddIssuesAssignedIDs ¶
func (m *UserMutation) AddIssuesAssignedIDs(ids ...int64)
AddIssuesAssignedIDs adds the "issues_assigned" edge to the Issue entity by ids.
func (*UserMutation) AddIssuesClosedIDs ¶
func (m *UserMutation) AddIssuesClosedIDs(ids ...int64)
AddIssuesClosedIDs adds the "issues_closed" edge to the Issue entity by ids.
func (*UserMutation) AddIssuesCreatedIDs ¶
func (m *UserMutation) AddIssuesCreatedIDs(ids ...int64)
AddIssuesCreatedIDs adds the "issues_created" edge to the Issue entity by ids.
func (*UserMutation) AddPublicGists ¶
func (m *UserMutation) AddPublicGists(i int64)
AddPublicGists adds i to the "public_gists" field.
func (*UserMutation) AddPublicRepos ¶
func (m *UserMutation) AddPublicRepos(i int64)
AddPublicRepos adds i to the "public_repos" field.
func (*UserMutation) AddRepositoryIDs ¶
func (m *UserMutation) AddRepositoryIDs(ids ...int64)
AddRepositoryIDs adds the "repositories" edge to the Repository entity by ids.
func (*UserMutation) AddedEdges ¶
func (m *UserMutation) AddedEdges() []string
AddedEdges returns all edge names that were set/added in this mutation.
func (*UserMutation) AddedField ¶
func (m *UserMutation) AddedField(name string) (ent.Value, bool)
AddedField returns the numeric value that was incremented/decremented on a field with the given name. The second boolean return value indicates that this field was not set, or was not defined in the schema.
func (*UserMutation) AddedFields ¶
func (m *UserMutation) AddedFields() []string
AddedFields returns all numeric fields that were incremented/decremented during this mutation.
func (*UserMutation) AddedFollowers ¶
func (m *UserMutation) AddedFollowers() (r int64, exists bool)
AddedFollowers returns the value that was added to the "followers" field in this mutation.
func (*UserMutation) AddedFollowing ¶
func (m *UserMutation) AddedFollowing() (r int64, exists bool)
AddedFollowing returns the value that was added to the "following" field in this mutation.
func (*UserMutation) AddedIDs ¶
func (m *UserMutation) AddedIDs(name string) []ent.Value
AddedIDs returns all IDs (to other nodes) that were added for the given edge name in this mutation.
func (*UserMutation) AddedPublicGists ¶
func (m *UserMutation) AddedPublicGists() (r int64, exists bool)
AddedPublicGists returns the value that was added to the "public_gists" field in this mutation.
func (*UserMutation) AddedPublicRepos ¶
func (m *UserMutation) AddedPublicRepos() (r int64, exists bool)
AddedPublicRepos returns the value that was added to the "public_repos" field in this mutation.
func (*UserMutation) AvatarURL ¶
func (m *UserMutation) AvatarURL() (r string, exists bool)
AvatarURL returns the value of the "avatar_url" field in the mutation.
func (*UserMutation) Bio ¶
func (m *UserMutation) Bio() (r string, exists bool)
Bio returns the value of the "bio" field in the mutation.
func (*UserMutation) BioCleared ¶
func (m *UserMutation) BioCleared() bool
BioCleared returns if the "bio" field was cleared in this mutation.
func (*UserMutation) Blog ¶
func (m *UserMutation) Blog() (r string, exists bool)
Blog returns the value of the "blog" field in the mutation.
func (*UserMutation) BlogCleared ¶
func (m *UserMutation) BlogCleared() bool
BlogCleared returns if the "blog" field was cleared in this mutation.
func (*UserMutation) ClearBio ¶
func (m *UserMutation) ClearBio()
ClearBio clears the value of the "bio" field.
func (*UserMutation) ClearBlog ¶
func (m *UserMutation) ClearBlog()
ClearBlog clears the value of the "blog" field.
func (*UserMutation) ClearCommentsCreated ¶
func (m *UserMutation) ClearCommentsCreated()
ClearCommentsCreated clears the "comments_created" edge to the IssueComment entity.
func (*UserMutation) ClearCompany ¶
func (m *UserMutation) ClearCompany()
ClearCompany clears the value of the "company" field.
func (*UserMutation) ClearEdge ¶
func (m *UserMutation) ClearEdge(name string) error
ClearEdge clears the value of the edge with the given name. It returns an error if that edge is not defined in the schema.
func (*UserMutation) ClearEmail ¶
func (m *UserMutation) ClearEmail()
ClearEmail clears the value of the "email" field.
func (*UserMutation) ClearField ¶
func (m *UserMutation) ClearField(name string) error
ClearField clears the value of the field with the given name. It returns an error if the field is not defined in the schema.
func (*UserMutation) ClearGravatarID ¶
func (m *UserMutation) ClearGravatarID()
ClearGravatarID clears the value of the "gravatar_id" field.
func (*UserMutation) ClearHireable ¶
func (m *UserMutation) ClearHireable()
ClearHireable clears the value of the "hireable" field.
func (*UserMutation) ClearIssuesAssigned ¶
func (m *UserMutation) ClearIssuesAssigned()
ClearIssuesAssigned clears the "issues_assigned" edge to the Issue entity.
func (*UserMutation) ClearIssuesClosed ¶
func (m *UserMutation) ClearIssuesClosed()
ClearIssuesClosed clears the "issues_closed" edge to the Issue entity.
func (*UserMutation) ClearIssuesCreated ¶
func (m *UserMutation) ClearIssuesCreated()
ClearIssuesCreated clears the "issues_created" edge to the Issue entity.
func (*UserMutation) ClearLocation ¶
func (m *UserMutation) ClearLocation()
ClearLocation clears the value of the "location" field.
func (*UserMutation) ClearName ¶
func (m *UserMutation) ClearName()
ClearName clears the value of the "name" field.
func (*UserMutation) ClearRepositories ¶
func (m *UserMutation) ClearRepositories()
ClearRepositories clears the "repositories" edge to the Repository entity.
func (*UserMutation) ClearedEdges ¶
func (m *UserMutation) ClearedEdges() []string
ClearedEdges returns all edge names that were cleared in this mutation.
func (*UserMutation) ClearedFields ¶
func (m *UserMutation) ClearedFields() []string
ClearedFields returns all nullable fields that were cleared during this mutation.
func (UserMutation) Client ¶
func (m UserMutation) Client() *Client
Client returns a new `ent.Client` from the mutation. If the mutation was executed in a transaction (ent.Tx), a transactional client is returned.
func (*UserMutation) CommentsCreatedCleared ¶
func (m *UserMutation) CommentsCreatedCleared() bool
CommentsCreatedCleared reports if the "comments_created" edge to the IssueComment entity was cleared.
func (*UserMutation) CommentsCreatedIDs ¶
func (m *UserMutation) CommentsCreatedIDs() (ids []int64)
CommentsCreatedIDs returns the "comments_created" edge IDs in the mutation.
func (*UserMutation) Company ¶
func (m *UserMutation) Company() (r string, exists bool)
Company returns the value of the "company" field in the mutation.
func (*UserMutation) CompanyCleared ¶
func (m *UserMutation) CompanyCleared() bool
CompanyCleared returns if the "company" field was cleared in this mutation.
func (*UserMutation) CreatedAt ¶
func (m *UserMutation) CreatedAt() (r time.Time, exists bool)
CreatedAt returns the value of the "created_at" field in the mutation.
func (*UserMutation) EdgeCleared ¶
func (m *UserMutation) EdgeCleared(name string) bool
EdgeCleared returns a boolean which indicates if the edge with the given name was cleared in this mutation.
func (*UserMutation) Email ¶
func (m *UserMutation) Email() (r string, exists bool)
Email returns the value of the "email" field in the mutation.
func (*UserMutation) EmailCleared ¶
func (m *UserMutation) EmailCleared() bool
EmailCleared returns if the "email" field was cleared in this mutation.
func (*UserMutation) EventsURL ¶
func (m *UserMutation) EventsURL() (r string, exists bool)
EventsURL returns the value of the "events_url" field in the mutation.
func (*UserMutation) Field ¶
func (m *UserMutation) Field(name string) (ent.Value, bool)
Field returns the value of a field with the given name. The second boolean return value indicates that this field was not set, or was not defined in the schema.
func (*UserMutation) FieldCleared ¶
func (m *UserMutation) FieldCleared(name string) bool
FieldCleared returns a boolean indicating if a field with the given name was cleared in this mutation.
func (*UserMutation) Fields ¶
func (m *UserMutation) Fields() []string
Fields returns all fields that were changed during this mutation. Note that in order to get all numeric fields that were incremented/decremented, call AddedFields().
func (*UserMutation) Followers ¶
func (m *UserMutation) Followers() (r int64, exists bool)
Followers returns the value of the "followers" field in the mutation.
func (*UserMutation) FollowersURL ¶
func (m *UserMutation) FollowersURL() (r string, exists bool)
FollowersURL returns the value of the "followers_url" field in the mutation.
func (*UserMutation) Following ¶
func (m *UserMutation) Following() (r int64, exists bool)
Following returns the value of the "following" field in the mutation.
func (*UserMutation) FollowingURL ¶
func (m *UserMutation) FollowingURL() (r string, exists bool)
FollowingURL returns the value of the "following_url" field in the mutation.
func (*UserMutation) GetType ¶
func (m *UserMutation) GetType() (r string, exists bool)
GetType returns the value of the "type" field in the mutation.
func (*UserMutation) GistsURL ¶
func (m *UserMutation) GistsURL() (r string, exists bool)
GistsURL returns the value of the "gists_url" field in the mutation.
func (*UserMutation) GravatarID ¶
func (m *UserMutation) GravatarID() (r string, exists bool)
GravatarID returns the value of the "gravatar_id" field in the mutation.
func (*UserMutation) GravatarIDCleared ¶
func (m *UserMutation) GravatarIDCleared() bool
GravatarIDCleared returns if the "gravatar_id" field was cleared in this mutation.
func (*UserMutation) HTMLURL ¶
func (m *UserMutation) HTMLURL() (r string, exists bool)
HTMLURL returns the value of the "html_url" field in the mutation.
func (*UserMutation) Hireable ¶
func (m *UserMutation) Hireable() (r bool, exists bool)
Hireable returns the value of the "hireable" field in the mutation.
func (*UserMutation) HireableCleared ¶
func (m *UserMutation) HireableCleared() bool
HireableCleared returns if the "hireable" field was cleared in this mutation.
func (*UserMutation) ID ¶
func (m *UserMutation) ID() (id int64, exists bool)
ID returns the ID value in the mutation. Note that the ID is only available if it was provided to the builder or after it was returned from the database.
func (*UserMutation) IDs ¶
func (m *UserMutation) IDs(ctx context.Context) ([]int64, error)
IDs queries the database and returns the entity ids that match the mutation's predicate. That means, if the mutation is applied within a transaction with an isolation level such as sql.LevelSerializable, the returned ids match the ids of the rows that will be updated or updated by the mutation.
func (*UserMutation) IssuesAssignedCleared ¶
func (m *UserMutation) IssuesAssignedCleared() bool
IssuesAssignedCleared reports if the "issues_assigned" edge to the Issue entity was cleared.
func (*UserMutation) IssuesAssignedIDs ¶
func (m *UserMutation) IssuesAssignedIDs() (ids []int64)
IssuesAssignedIDs returns the "issues_assigned" edge IDs in the mutation.
func (*UserMutation) IssuesClosedCleared ¶
func (m *UserMutation) IssuesClosedCleared() bool
IssuesClosedCleared reports if the "issues_closed" edge to the Issue entity was cleared.
func (*UserMutation) IssuesClosedIDs ¶
func (m *UserMutation) IssuesClosedIDs() (ids []int64)
IssuesClosedIDs returns the "issues_closed" edge IDs in the mutation.
func (*UserMutation) IssuesCreatedCleared ¶
func (m *UserMutation) IssuesCreatedCleared() bool
IssuesCreatedCleared reports if the "issues_created" edge to the Issue entity was cleared.
func (*UserMutation) IssuesCreatedIDs ¶
func (m *UserMutation) IssuesCreatedIDs() (ids []int64)
IssuesCreatedIDs returns the "issues_created" edge IDs in the mutation.
func (*UserMutation) Location ¶
func (m *UserMutation) Location() (r string, exists bool)
Location returns the value of the "location" field in the mutation.
func (*UserMutation) LocationCleared ¶
func (m *UserMutation) LocationCleared() bool
LocationCleared returns if the "location" field was cleared in this mutation.
func (*UserMutation) Login ¶
func (m *UserMutation) Login() (r string, exists bool)
Login returns the value of the "login" field in the mutation.
func (*UserMutation) Name ¶
func (m *UserMutation) Name() (r string, exists bool)
Name returns the value of the "name" field in the mutation.
func (*UserMutation) NameCleared ¶
func (m *UserMutation) NameCleared() bool
NameCleared returns if the "name" field was cleared in this mutation.
func (*UserMutation) NodeID ¶
func (m *UserMutation) NodeID() (r string, exists bool)
NodeID returns the value of the "node_id" field in the mutation.
func (*UserMutation) OldAvatarURL ¶
func (m *UserMutation) OldAvatarURL(ctx context.Context) (v string, err error)
OldAvatarURL returns the old "avatar_url" field's value of the User entity. If the User object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*UserMutation) OldBio ¶
func (m *UserMutation) OldBio(ctx context.Context) (v string, err error)
OldBio returns the old "bio" field's value of the User entity. If the User object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*UserMutation) OldBlog ¶
func (m *UserMutation) OldBlog(ctx context.Context) (v string, err error)
OldBlog returns the old "blog" field's value of the User entity. If the User object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*UserMutation) OldCompany ¶
func (m *UserMutation) OldCompany(ctx context.Context) (v string, err error)
OldCompany returns the old "company" field's value of the User entity. If the User object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*UserMutation) OldCreatedAt ¶
OldCreatedAt returns the old "created_at" field's value of the User entity. If the User object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*UserMutation) OldEmail ¶
func (m *UserMutation) OldEmail(ctx context.Context) (v string, err error)
OldEmail returns the old "email" field's value of the User entity. If the User object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*UserMutation) OldEventsURL ¶
func (m *UserMutation) OldEventsURL(ctx context.Context) (v string, err error)
OldEventsURL returns the old "events_url" field's value of the User entity. If the User object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*UserMutation) OldField ¶
OldField returns the old value of the field from the database. An error is returned if the mutation operation is not UpdateOne, or the query to the database failed.
func (*UserMutation) OldFollowers ¶
func (m *UserMutation) OldFollowers(ctx context.Context) (v int64, err error)
OldFollowers returns the old "followers" field's value of the User entity. If the User object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*UserMutation) OldFollowersURL ¶
func (m *UserMutation) OldFollowersURL(ctx context.Context) (v string, err error)
OldFollowersURL returns the old "followers_url" field's value of the User entity. If the User object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*UserMutation) OldFollowing ¶
func (m *UserMutation) OldFollowing(ctx context.Context) (v int64, err error)
OldFollowing returns the old "following" field's value of the User entity. If the User object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*UserMutation) OldFollowingURL ¶
func (m *UserMutation) OldFollowingURL(ctx context.Context) (v string, err error)
OldFollowingURL returns the old "following_url" field's value of the User entity. If the User object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*UserMutation) OldGistsURL ¶
func (m *UserMutation) OldGistsURL(ctx context.Context) (v string, err error)
OldGistsURL returns the old "gists_url" field's value of the User entity. If the User object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*UserMutation) OldGravatarID ¶
func (m *UserMutation) OldGravatarID(ctx context.Context) (v string, err error)
OldGravatarID returns the old "gravatar_id" field's value of the User entity. If the User object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*UserMutation) OldHTMLURL ¶
func (m *UserMutation) OldHTMLURL(ctx context.Context) (v string, err error)
OldHTMLURL returns the old "html_url" field's value of the User entity. If the User object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*UserMutation) OldHireable ¶
func (m *UserMutation) OldHireable(ctx context.Context) (v bool, err error)
OldHireable returns the old "hireable" field's value of the User entity. If the User object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*UserMutation) OldLocation ¶
func (m *UserMutation) OldLocation(ctx context.Context) (v string, err error)
OldLocation returns the old "location" field's value of the User entity. If the User object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*UserMutation) OldLogin ¶
func (m *UserMutation) OldLogin(ctx context.Context) (v string, err error)
OldLogin returns the old "login" field's value of the User entity. If the User object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*UserMutation) OldName ¶
func (m *UserMutation) OldName(ctx context.Context) (v string, err error)
OldName returns the old "name" field's value of the User entity. If the User object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*UserMutation) OldNodeID ¶
func (m *UserMutation) OldNodeID(ctx context.Context) (v string, err error)
OldNodeID returns the old "node_id" field's value of the User entity. If the User object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*UserMutation) OldOrganizationsURL ¶
func (m *UserMutation) OldOrganizationsURL(ctx context.Context) (v string, err error)
OldOrganizationsURL returns the old "organizations_url" field's value of the User entity. If the User object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*UserMutation) OldPublicGists ¶
func (m *UserMutation) OldPublicGists(ctx context.Context) (v int64, err error)
OldPublicGists returns the old "public_gists" field's value of the User entity. If the User object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*UserMutation) OldPublicRepos ¶
func (m *UserMutation) OldPublicRepos(ctx context.Context) (v int64, err error)
OldPublicRepos returns the old "public_repos" field's value of the User entity. If the User object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*UserMutation) OldReceivedEventsURL ¶
func (m *UserMutation) OldReceivedEventsURL(ctx context.Context) (v string, err error)
OldReceivedEventsURL returns the old "received_events_url" field's value of the User entity. If the User object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*UserMutation) OldReposURL ¶
func (m *UserMutation) OldReposURL(ctx context.Context) (v string, err error)
OldReposURL returns the old "repos_url" field's value of the User entity. If the User object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*UserMutation) OldSiteAdmin ¶
func (m *UserMutation) OldSiteAdmin(ctx context.Context) (v bool, err error)
OldSiteAdmin returns the old "site_admin" field's value of the User entity. If the User object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*UserMutation) OldStarredURL ¶
func (m *UserMutation) OldStarredURL(ctx context.Context) (v string, err error)
OldStarredURL returns the old "starred_url" field's value of the User entity. If the User object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*UserMutation) OldSubscriptionsURL ¶
func (m *UserMutation) OldSubscriptionsURL(ctx context.Context) (v string, err error)
OldSubscriptionsURL returns the old "subscriptions_url" field's value of the User entity. If the User object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*UserMutation) OldType ¶
func (m *UserMutation) OldType(ctx context.Context) (v string, err error)
OldType returns the old "type" field's value of the User entity. If the User object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*UserMutation) OldURL ¶
func (m *UserMutation) OldURL(ctx context.Context) (v string, err error)
OldURL returns the old "url" field's value of the User entity. If the User object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*UserMutation) OldUpdatedAt ¶
OldUpdatedAt returns the old "updated_at" field's value of the User entity. If the User object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*UserMutation) OrganizationsURL ¶
func (m *UserMutation) OrganizationsURL() (r string, exists bool)
OrganizationsURL returns the value of the "organizations_url" field in the mutation.
func (*UserMutation) PublicGists ¶
func (m *UserMutation) PublicGists() (r int64, exists bool)
PublicGists returns the value of the "public_gists" field in the mutation.
func (*UserMutation) PublicRepos ¶
func (m *UserMutation) PublicRepos() (r int64, exists bool)
PublicRepos returns the value of the "public_repos" field in the mutation.
func (*UserMutation) ReceivedEventsURL ¶
func (m *UserMutation) ReceivedEventsURL() (r string, exists bool)
ReceivedEventsURL returns the value of the "received_events_url" field in the mutation.
func (*UserMutation) RemoveCommentsCreatedIDs ¶
func (m *UserMutation) RemoveCommentsCreatedIDs(ids ...int64)
RemoveCommentsCreatedIDs removes the "comments_created" edge to the IssueComment entity by IDs.
func (*UserMutation) RemoveIssuesAssignedIDs ¶
func (m *UserMutation) RemoveIssuesAssignedIDs(ids ...int64)
RemoveIssuesAssignedIDs removes the "issues_assigned" edge to the Issue entity by IDs.
func (*UserMutation) RemoveIssuesClosedIDs ¶
func (m *UserMutation) RemoveIssuesClosedIDs(ids ...int64)
RemoveIssuesClosedIDs removes the "issues_closed" edge to the Issue entity by IDs.
func (*UserMutation) RemoveIssuesCreatedIDs ¶
func (m *UserMutation) RemoveIssuesCreatedIDs(ids ...int64)
RemoveIssuesCreatedIDs removes the "issues_created" edge to the Issue entity by IDs.
func (*UserMutation) RemoveRepositoryIDs ¶
func (m *UserMutation) RemoveRepositoryIDs(ids ...int64)
RemoveRepositoryIDs removes the "repositories" edge to the Repository entity by IDs.
func (*UserMutation) RemovedCommentsCreatedIDs ¶
func (m *UserMutation) RemovedCommentsCreatedIDs() (ids []int64)
RemovedCommentsCreated returns the removed IDs of the "comments_created" edge to the IssueComment entity.
func (*UserMutation) RemovedEdges ¶
func (m *UserMutation) RemovedEdges() []string
RemovedEdges returns all edge names that were removed in this mutation.
func (*UserMutation) RemovedIDs ¶
func (m *UserMutation) RemovedIDs(name string) []ent.Value
RemovedIDs returns all IDs (to other nodes) that were removed for the edge with the given name in this mutation.
func (*UserMutation) RemovedIssuesAssignedIDs ¶
func (m *UserMutation) RemovedIssuesAssignedIDs() (ids []int64)
RemovedIssuesAssigned returns the removed IDs of the "issues_assigned" edge to the Issue entity.
func (*UserMutation) RemovedIssuesClosedIDs ¶
func (m *UserMutation) RemovedIssuesClosedIDs() (ids []int64)
RemovedIssuesClosed returns the removed IDs of the "issues_closed" edge to the Issue entity.
func (*UserMutation) RemovedIssuesCreatedIDs ¶
func (m *UserMutation) RemovedIssuesCreatedIDs() (ids []int64)
RemovedIssuesCreated returns the removed IDs of the "issues_created" edge to the Issue entity.
func (*UserMutation) RemovedRepositoriesIDs ¶
func (m *UserMutation) RemovedRepositoriesIDs() (ids []int64)
RemovedRepositories returns the removed IDs of the "repositories" edge to the Repository entity.
func (*UserMutation) ReposURL ¶
func (m *UserMutation) ReposURL() (r string, exists bool)
ReposURL returns the value of the "repos_url" field in the mutation.
func (*UserMutation) RepositoriesCleared ¶
func (m *UserMutation) RepositoriesCleared() bool
RepositoriesCleared reports if the "repositories" edge to the Repository entity was cleared.
func (*UserMutation) RepositoriesIDs ¶
func (m *UserMutation) RepositoriesIDs() (ids []int64)
RepositoriesIDs returns the "repositories" edge IDs in the mutation.
func (*UserMutation) ResetAvatarURL ¶
func (m *UserMutation) ResetAvatarURL()
ResetAvatarURL resets all changes to the "avatar_url" field.
func (*UserMutation) ResetBio ¶
func (m *UserMutation) ResetBio()
ResetBio resets all changes to the "bio" field.
func (*UserMutation) ResetBlog ¶
func (m *UserMutation) ResetBlog()
ResetBlog resets all changes to the "blog" field.
func (*UserMutation) ResetCommentsCreated ¶
func (m *UserMutation) ResetCommentsCreated()
ResetCommentsCreated resets all changes to the "comments_created" edge.
func (*UserMutation) ResetCompany ¶
func (m *UserMutation) ResetCompany()
ResetCompany resets all changes to the "company" field.
func (*UserMutation) ResetCreatedAt ¶
func (m *UserMutation) ResetCreatedAt()
ResetCreatedAt resets all changes to the "created_at" field.
func (*UserMutation) ResetEdge ¶
func (m *UserMutation) ResetEdge(name string) error
ResetEdge resets all changes to the edge with the given name in this mutation. It returns an error if the edge is not defined in the schema.
func (*UserMutation) ResetEmail ¶
func (m *UserMutation) ResetEmail()
ResetEmail resets all changes to the "email" field.
func (*UserMutation) ResetEventsURL ¶
func (m *UserMutation) ResetEventsURL()
ResetEventsURL resets all changes to the "events_url" field.
func (*UserMutation) ResetField ¶
func (m *UserMutation) ResetField(name string) error
ResetField resets all changes in the mutation for the field with the given name. It returns an error if the field is not defined in the schema.
func (*UserMutation) ResetFollowers ¶
func (m *UserMutation) ResetFollowers()
ResetFollowers resets all changes to the "followers" field.
func (*UserMutation) ResetFollowersURL ¶
func (m *UserMutation) ResetFollowersURL()
ResetFollowersURL resets all changes to the "followers_url" field.
func (*UserMutation) ResetFollowing ¶
func (m *UserMutation) ResetFollowing()
ResetFollowing resets all changes to the "following" field.
func (*UserMutation) ResetFollowingURL ¶
func (m *UserMutation) ResetFollowingURL()
ResetFollowingURL resets all changes to the "following_url" field.
func (*UserMutation) ResetGistsURL ¶
func (m *UserMutation) ResetGistsURL()
ResetGistsURL resets all changes to the "gists_url" field.
func (*UserMutation) ResetGravatarID ¶
func (m *UserMutation) ResetGravatarID()
ResetGravatarID resets all changes to the "gravatar_id" field.
func (*UserMutation) ResetHTMLURL ¶
func (m *UserMutation) ResetHTMLURL()
ResetHTMLURL resets all changes to the "html_url" field.
func (*UserMutation) ResetHireable ¶
func (m *UserMutation) ResetHireable()
ResetHireable resets all changes to the "hireable" field.
func (*UserMutation) ResetIssuesAssigned ¶
func (m *UserMutation) ResetIssuesAssigned()
ResetIssuesAssigned resets all changes to the "issues_assigned" edge.
func (*UserMutation) ResetIssuesClosed ¶
func (m *UserMutation) ResetIssuesClosed()
ResetIssuesClosed resets all changes to the "issues_closed" edge.
func (*UserMutation) ResetIssuesCreated ¶
func (m *UserMutation) ResetIssuesCreated()
ResetIssuesCreated resets all changes to the "issues_created" edge.
func (*UserMutation) ResetLocation ¶
func (m *UserMutation) ResetLocation()
ResetLocation resets all changes to the "location" field.
func (*UserMutation) ResetLogin ¶
func (m *UserMutation) ResetLogin()
ResetLogin resets all changes to the "login" field.
func (*UserMutation) ResetName ¶
func (m *UserMutation) ResetName()
ResetName resets all changes to the "name" field.
func (*UserMutation) ResetNodeID ¶
func (m *UserMutation) ResetNodeID()
ResetNodeID resets all changes to the "node_id" field.
func (*UserMutation) ResetOrganizationsURL ¶
func (m *UserMutation) ResetOrganizationsURL()
ResetOrganizationsURL resets all changes to the "organizations_url" field.
func (*UserMutation) ResetPublicGists ¶
func (m *UserMutation) ResetPublicGists()
ResetPublicGists resets all changes to the "public_gists" field.
func (*UserMutation) ResetPublicRepos ¶
func (m *UserMutation) ResetPublicRepos()
ResetPublicRepos resets all changes to the "public_repos" field.
func (*UserMutation) ResetReceivedEventsURL ¶
func (m *UserMutation) ResetReceivedEventsURL()
ResetReceivedEventsURL resets all changes to the "received_events_url" field.
func (*UserMutation) ResetReposURL ¶
func (m *UserMutation) ResetReposURL()
ResetReposURL resets all changes to the "repos_url" field.
func (*UserMutation) ResetRepositories ¶
func (m *UserMutation) ResetRepositories()
ResetRepositories resets all changes to the "repositories" edge.
func (*UserMutation) ResetSiteAdmin ¶
func (m *UserMutation) ResetSiteAdmin()
ResetSiteAdmin resets all changes to the "site_admin" field.
func (*UserMutation) ResetStarredURL ¶
func (m *UserMutation) ResetStarredURL()
ResetStarredURL resets all changes to the "starred_url" field.
func (*UserMutation) ResetSubscriptionsURL ¶
func (m *UserMutation) ResetSubscriptionsURL()
ResetSubscriptionsURL resets all changes to the "subscriptions_url" field.
func (*UserMutation) ResetType ¶
func (m *UserMutation) ResetType()
ResetType resets all changes to the "type" field.
func (*UserMutation) ResetURL ¶
func (m *UserMutation) ResetURL()
ResetURL resets all changes to the "url" field.
func (*UserMutation) ResetUpdatedAt ¶
func (m *UserMutation) ResetUpdatedAt()
ResetUpdatedAt resets all changes to the "updated_at" field.
func (*UserMutation) SetAvatarURL ¶
func (m *UserMutation) SetAvatarURL(s string)
SetAvatarURL sets the "avatar_url" field.
func (*UserMutation) SetBlog ¶
func (m *UserMutation) SetBlog(s string)
SetBlog sets the "blog" field.
func (*UserMutation) SetCompany ¶
func (m *UserMutation) SetCompany(s string)
SetCompany sets the "company" field.
func (*UserMutation) SetCreatedAt ¶
func (m *UserMutation) SetCreatedAt(t time.Time)
SetCreatedAt sets the "created_at" field.
func (*UserMutation) SetEmail ¶
func (m *UserMutation) SetEmail(s string)
SetEmail sets the "email" field.
func (*UserMutation) SetEventsURL ¶
func (m *UserMutation) SetEventsURL(s string)
SetEventsURL sets the "events_url" field.
func (*UserMutation) SetField ¶
func (m *UserMutation) SetField(name string, value ent.Value) error
SetField sets the value of a field with the given name. It returns an error if the field is not defined in the schema, or if the type mismatched the field type.
func (*UserMutation) SetFollowers ¶
func (m *UserMutation) SetFollowers(i int64)
SetFollowers sets the "followers" field.
func (*UserMutation) SetFollowersURL ¶
func (m *UserMutation) SetFollowersURL(s string)
SetFollowersURL sets the "followers_url" field.
func (*UserMutation) SetFollowing ¶
func (m *UserMutation) SetFollowing(i int64)
SetFollowing sets the "following" field.
func (*UserMutation) SetFollowingURL ¶
func (m *UserMutation) SetFollowingURL(s string)
SetFollowingURL sets the "following_url" field.
func (*UserMutation) SetGistsURL ¶
func (m *UserMutation) SetGistsURL(s string)
SetGistsURL sets the "gists_url" field.
func (*UserMutation) SetGravatarID ¶
func (m *UserMutation) SetGravatarID(s string)
SetGravatarID sets the "gravatar_id" field.
func (*UserMutation) SetHTMLURL ¶
func (m *UserMutation) SetHTMLURL(s string)
SetHTMLURL sets the "html_url" field.
func (*UserMutation) SetHireable ¶
func (m *UserMutation) SetHireable(b bool)
SetHireable sets the "hireable" field.
func (*UserMutation) SetID ¶
func (m *UserMutation) SetID(id int64)
SetID sets the value of the id field. Note that this operation is only accepted on creation of User entities.
func (*UserMutation) SetLocation ¶
func (m *UserMutation) SetLocation(s string)
SetLocation sets the "location" field.
func (*UserMutation) SetLogin ¶
func (m *UserMutation) SetLogin(s string)
SetLogin sets the "login" field.
func (*UserMutation) SetName ¶
func (m *UserMutation) SetName(s string)
SetName sets the "name" field.
func (*UserMutation) SetNodeID ¶
func (m *UserMutation) SetNodeID(s string)
SetNodeID sets the "node_id" field.
func (*UserMutation) SetOp ¶
func (m *UserMutation) SetOp(op Op)
SetOp allows setting the mutation operation.
func (*UserMutation) SetOrganizationsURL ¶
func (m *UserMutation) SetOrganizationsURL(s string)
SetOrganizationsURL sets the "organizations_url" field.
func (*UserMutation) SetPublicGists ¶
func (m *UserMutation) SetPublicGists(i int64)
SetPublicGists sets the "public_gists" field.
func (*UserMutation) SetPublicRepos ¶
func (m *UserMutation) SetPublicRepos(i int64)
SetPublicRepos sets the "public_repos" field.
func (*UserMutation) SetReceivedEventsURL ¶
func (m *UserMutation) SetReceivedEventsURL(s string)
SetReceivedEventsURL sets the "received_events_url" field.
func (*UserMutation) SetReposURL ¶
func (m *UserMutation) SetReposURL(s string)
SetReposURL sets the "repos_url" field.
func (*UserMutation) SetSiteAdmin ¶
func (m *UserMutation) SetSiteAdmin(b bool)
SetSiteAdmin sets the "site_admin" field.
func (*UserMutation) SetStarredURL ¶
func (m *UserMutation) SetStarredURL(s string)
SetStarredURL sets the "starred_url" field.
func (*UserMutation) SetSubscriptionsURL ¶
func (m *UserMutation) SetSubscriptionsURL(s string)
SetSubscriptionsURL sets the "subscriptions_url" field.
func (*UserMutation) SetType ¶
func (m *UserMutation) SetType(s string)
SetType sets the "type" field.
func (*UserMutation) SetUpdatedAt ¶
func (m *UserMutation) SetUpdatedAt(t time.Time)
SetUpdatedAt sets the "updated_at" field.
func (*UserMutation) SiteAdmin ¶
func (m *UserMutation) SiteAdmin() (r bool, exists bool)
SiteAdmin returns the value of the "site_admin" field in the mutation.
func (*UserMutation) StarredURL ¶
func (m *UserMutation) StarredURL() (r string, exists bool)
StarredURL returns the value of the "starred_url" field in the mutation.
func (*UserMutation) SubscriptionsURL ¶
func (m *UserMutation) SubscriptionsURL() (r string, exists bool)
SubscriptionsURL returns the value of the "subscriptions_url" field in the mutation.
func (UserMutation) Tx ¶
func (m UserMutation) Tx() (*Tx, error)
Tx returns an `ent.Tx` for mutations that were executed in transactions; it returns an error otherwise.
func (*UserMutation) Type ¶
func (m *UserMutation) Type() string
Type returns the node type of this mutation (User).
func (*UserMutation) URL ¶
func (m *UserMutation) URL() (r string, exists bool)
URL returns the value of the "url" field in the mutation.
func (*UserMutation) UpdatedAt ¶
func (m *UserMutation) UpdatedAt() (r time.Time, exists bool)
UpdatedAt returns the value of the "updated_at" field in the mutation.
func (*UserMutation) Where ¶
func (m *UserMutation) Where(ps ...predicate.User)
Where appends a list predicates to the UserMutation builder.
func (*UserMutation) WhereP ¶
func (m *UserMutation) WhereP(ps ...func(*sql.Selector))
WhereP appends storage-level predicates to the UserMutation builder. Using this method, users can use type-assertion to append predicates that do not depend on any generated package.
type UserQuery ¶
type UserQuery struct {
// contains filtered or unexported fields
}
UserQuery is the builder for querying User entities.
func (*UserQuery) Aggregate ¶
func (uq *UserQuery) Aggregate(fns ...AggregateFunc) *UserSelect
Aggregate returns a UserSelect configured with the given aggregations.
func (*UserQuery) Clone ¶
Clone returns a duplicate of the UserQuery builder, including all associated steps. It can be used to prepare common query builders and use them differently after the clone is made.
func (*UserQuery) First ¶
First returns the first User entity from the query. Returns a *NotFoundError when no User was found.
func (*UserQuery) FirstID ¶
FirstID returns the first User ID from the query. Returns a *NotFoundError when no User ID was found.
func (*UserQuery) GroupBy ¶
func (uq *UserQuery) GroupBy(field string, fields ...string) *UserGroupBy
GroupBy is used to group vertices by one or more fields/columns. It is often used with aggregate functions, like: count, max, mean, min, sum.
Example:
var v []struct { Login string `json:"login"` Count int `json:"count,omitempty"` } client.User.Query(). GroupBy(user.FieldLogin). Aggregate(ent.Count()). Scan(ctx, &v)
func (*UserQuery) Only ¶
Only returns a single User entity found by the query, ensuring it only returns one. Returns a *NotSingularError when more than one User entity is found. Returns a *NotFoundError when no User entities are found.
func (*UserQuery) OnlyID ¶
OnlyID is like Only, but returns the only User ID in the query. Returns a *NotSingularError when more than one User ID is found. Returns a *NotFoundError when no entities are found.
func (*UserQuery) Order ¶
func (uq *UserQuery) Order(o ...user.OrderOption) *UserQuery
Order specifies how the records should be ordered.
func (*UserQuery) QueryCommentsCreated ¶
func (uq *UserQuery) QueryCommentsCreated() *IssueCommentQuery
QueryCommentsCreated chains the current query on the "comments_created" edge.
func (*UserQuery) QueryIssuesAssigned ¶
func (uq *UserQuery) QueryIssuesAssigned() *IssueQuery
QueryIssuesAssigned chains the current query on the "issues_assigned" edge.
func (*UserQuery) QueryIssuesClosed ¶
func (uq *UserQuery) QueryIssuesClosed() *IssueQuery
QueryIssuesClosed chains the current query on the "issues_closed" edge.
func (*UserQuery) QueryIssuesCreated ¶
func (uq *UserQuery) QueryIssuesCreated() *IssueQuery
QueryIssuesCreated chains the current query on the "issues_created" edge.
func (*UserQuery) QueryRepositories ¶
func (uq *UserQuery) QueryRepositories() *RepositoryQuery
QueryRepositories chains the current query on the "repositories" edge.
func (*UserQuery) Select ¶
func (uq *UserQuery) Select(fields ...string) *UserSelect
Select allows the selection one or more fields/columns for the given query, instead of selecting all fields in the entity.
Example:
var v []struct { Login string `json:"login"` } client.User.Query(). Select(user.FieldLogin). Scan(ctx, &v)
func (*UserQuery) Unique ¶
Unique configures the query builder to filter duplicate records on query. By default, unique is set to true, and can be disabled using this method.
func (*UserQuery) WithCommentsCreated ¶
func (uq *UserQuery) WithCommentsCreated(opts ...func(*IssueCommentQuery)) *UserQuery
WithCommentsCreated tells the query-builder to eager-load the nodes that are connected to the "comments_created" edge. The optional arguments are used to configure the query builder of the edge.
func (*UserQuery) WithIssuesAssigned ¶
func (uq *UserQuery) WithIssuesAssigned(opts ...func(*IssueQuery)) *UserQuery
WithIssuesAssigned tells the query-builder to eager-load the nodes that are connected to the "issues_assigned" edge. The optional arguments are used to configure the query builder of the edge.
func (*UserQuery) WithIssuesClosed ¶
func (uq *UserQuery) WithIssuesClosed(opts ...func(*IssueQuery)) *UserQuery
WithIssuesClosed tells the query-builder to eager-load the nodes that are connected to the "issues_closed" edge. The optional arguments are used to configure the query builder of the edge.
func (*UserQuery) WithIssuesCreated ¶
func (uq *UserQuery) WithIssuesCreated(opts ...func(*IssueQuery)) *UserQuery
WithIssuesCreated tells the query-builder to eager-load the nodes that are connected to the "issues_created" edge. The optional arguments are used to configure the query builder of the edge.
func (*UserQuery) WithRepositories ¶
func (uq *UserQuery) WithRepositories(opts ...func(*RepositoryQuery)) *UserQuery
WithRepositories tells the query-builder to eager-load the nodes that are connected to the "repositories" edge. The optional arguments are used to configure the query builder of the edge.
type UserSelect ¶
type UserSelect struct { *UserQuery // contains filtered or unexported fields }
UserSelect is the builder for selecting fields of User entities.
func (*UserSelect) Aggregate ¶
func (us *UserSelect) Aggregate(fns ...AggregateFunc) *UserSelect
Aggregate adds the given aggregation functions to the selector query.
func (*UserSelect) Bool ¶
Bool returns a single bool from a selector. It is only allowed when selecting one field.
func (*UserSelect) Bools ¶
Bools returns list of bools from a selector. It is only allowed when selecting one field.
func (*UserSelect) Float64 ¶
Float64 returns a single float64 from a selector. It is only allowed when selecting one field.
func (*UserSelect) Float64s ¶
Float64s returns list of float64s from a selector. It is only allowed when selecting one field.
func (*UserSelect) Int ¶
Int returns a single int from a selector. It is only allowed when selecting one field.
func (*UserSelect) Ints ¶
Ints returns list of ints from a selector. It is only allowed when selecting one field.
func (*UserSelect) Scan ¶
func (us *UserSelect) Scan(ctx context.Context, v any) error
Scan applies the selector query and scans the result into the given value.
func (*UserSelect) String ¶
String returns a single string from a selector. It is only allowed when selecting one field.
type UserUpdate ¶
type UserUpdate struct {
// contains filtered or unexported fields
}
UserUpdate is the builder for updating User entities.
func (*UserUpdate) AddCommentsCreated ¶
func (uu *UserUpdate) AddCommentsCreated(i ...*IssueComment) *UserUpdate
AddCommentsCreated adds the "comments_created" edges to the IssueComment entity.
func (*UserUpdate) AddCommentsCreatedIDs ¶
func (uu *UserUpdate) AddCommentsCreatedIDs(ids ...int64) *UserUpdate
AddCommentsCreatedIDs adds the "comments_created" edge to the IssueComment entity by IDs.
func (*UserUpdate) AddFollowers ¶
func (uu *UserUpdate) AddFollowers(i int64) *UserUpdate
AddFollowers adds i to the "followers" field.
func (*UserUpdate) AddFollowing ¶
func (uu *UserUpdate) AddFollowing(i int64) *UserUpdate
AddFollowing adds i to the "following" field.
func (*UserUpdate) AddIssuesAssigned ¶
func (uu *UserUpdate) AddIssuesAssigned(i ...*Issue) *UserUpdate
AddIssuesAssigned adds the "issues_assigned" edges to the Issue entity.
func (*UserUpdate) AddIssuesAssignedIDs ¶
func (uu *UserUpdate) AddIssuesAssignedIDs(ids ...int64) *UserUpdate
AddIssuesAssignedIDs adds the "issues_assigned" edge to the Issue entity by IDs.
func (*UserUpdate) AddIssuesClosed ¶
func (uu *UserUpdate) AddIssuesClosed(i ...*Issue) *UserUpdate
AddIssuesClosed adds the "issues_closed" edges to the Issue entity.
func (*UserUpdate) AddIssuesClosedIDs ¶
func (uu *UserUpdate) AddIssuesClosedIDs(ids ...int64) *UserUpdate
AddIssuesClosedIDs adds the "issues_closed" edge to the Issue entity by IDs.
func (*UserUpdate) AddIssuesCreated ¶
func (uu *UserUpdate) AddIssuesCreated(i ...*Issue) *UserUpdate
AddIssuesCreated adds the "issues_created" edges to the Issue entity.
func (*UserUpdate) AddIssuesCreatedIDs ¶
func (uu *UserUpdate) AddIssuesCreatedIDs(ids ...int64) *UserUpdate
AddIssuesCreatedIDs adds the "issues_created" edge to the Issue entity by IDs.
func (*UserUpdate) AddPublicGists ¶
func (uu *UserUpdate) AddPublicGists(i int64) *UserUpdate
AddPublicGists adds i to the "public_gists" field.
func (*UserUpdate) AddPublicRepos ¶
func (uu *UserUpdate) AddPublicRepos(i int64) *UserUpdate
AddPublicRepos adds i to the "public_repos" field.
func (*UserUpdate) AddRepositories ¶
func (uu *UserUpdate) AddRepositories(r ...*Repository) *UserUpdate
AddRepositories adds the "repositories" edges to the Repository entity.
func (*UserUpdate) AddRepositoryIDs ¶
func (uu *UserUpdate) AddRepositoryIDs(ids ...int64) *UserUpdate
AddRepositoryIDs adds the "repositories" edge to the Repository entity by IDs.
func (*UserUpdate) ClearBio ¶
func (uu *UserUpdate) ClearBio() *UserUpdate
ClearBio clears the value of the "bio" field.
func (*UserUpdate) ClearBlog ¶
func (uu *UserUpdate) ClearBlog() *UserUpdate
ClearBlog clears the value of the "blog" field.
func (*UserUpdate) ClearCommentsCreated ¶
func (uu *UserUpdate) ClearCommentsCreated() *UserUpdate
ClearCommentsCreated clears all "comments_created" edges to the IssueComment entity.
func (*UserUpdate) ClearCompany ¶
func (uu *UserUpdate) ClearCompany() *UserUpdate
ClearCompany clears the value of the "company" field.
func (*UserUpdate) ClearEmail ¶
func (uu *UserUpdate) ClearEmail() *UserUpdate
ClearEmail clears the value of the "email" field.
func (*UserUpdate) ClearGravatarID ¶
func (uu *UserUpdate) ClearGravatarID() *UserUpdate
ClearGravatarID clears the value of the "gravatar_id" field.
func (*UserUpdate) ClearHireable ¶
func (uu *UserUpdate) ClearHireable() *UserUpdate
ClearHireable clears the value of the "hireable" field.
func (*UserUpdate) ClearIssuesAssigned ¶
func (uu *UserUpdate) ClearIssuesAssigned() *UserUpdate
ClearIssuesAssigned clears all "issues_assigned" edges to the Issue entity.
func (*UserUpdate) ClearIssuesClosed ¶
func (uu *UserUpdate) ClearIssuesClosed() *UserUpdate
ClearIssuesClosed clears all "issues_closed" edges to the Issue entity.
func (*UserUpdate) ClearIssuesCreated ¶
func (uu *UserUpdate) ClearIssuesCreated() *UserUpdate
ClearIssuesCreated clears all "issues_created" edges to the Issue entity.
func (*UserUpdate) ClearLocation ¶
func (uu *UserUpdate) ClearLocation() *UserUpdate
ClearLocation clears the value of the "location" field.
func (*UserUpdate) ClearName ¶
func (uu *UserUpdate) ClearName() *UserUpdate
ClearName clears the value of the "name" field.
func (*UserUpdate) ClearRepositories ¶
func (uu *UserUpdate) ClearRepositories() *UserUpdate
ClearRepositories clears all "repositories" edges to the Repository entity.
func (*UserUpdate) Exec ¶
func (uu *UserUpdate) Exec(ctx context.Context) error
Exec executes the query.
func (*UserUpdate) ExecX ¶
func (uu *UserUpdate) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*UserUpdate) Mutation ¶
func (uu *UserUpdate) Mutation() *UserMutation
Mutation returns the UserMutation object of the builder.
func (*UserUpdate) RemoveCommentsCreated ¶
func (uu *UserUpdate) RemoveCommentsCreated(i ...*IssueComment) *UserUpdate
RemoveCommentsCreated removes "comments_created" edges to IssueComment entities.
func (*UserUpdate) RemoveCommentsCreatedIDs ¶
func (uu *UserUpdate) RemoveCommentsCreatedIDs(ids ...int64) *UserUpdate
RemoveCommentsCreatedIDs removes the "comments_created" edge to IssueComment entities by IDs.
func (*UserUpdate) RemoveIssuesAssigned ¶
func (uu *UserUpdate) RemoveIssuesAssigned(i ...*Issue) *UserUpdate
RemoveIssuesAssigned removes "issues_assigned" edges to Issue entities.
func (*UserUpdate) RemoveIssuesAssignedIDs ¶
func (uu *UserUpdate) RemoveIssuesAssignedIDs(ids ...int64) *UserUpdate
RemoveIssuesAssignedIDs removes the "issues_assigned" edge to Issue entities by IDs.
func (*UserUpdate) RemoveIssuesClosed ¶
func (uu *UserUpdate) RemoveIssuesClosed(i ...*Issue) *UserUpdate
RemoveIssuesClosed removes "issues_closed" edges to Issue entities.
func (*UserUpdate) RemoveIssuesClosedIDs ¶
func (uu *UserUpdate) RemoveIssuesClosedIDs(ids ...int64) *UserUpdate
RemoveIssuesClosedIDs removes the "issues_closed" edge to Issue entities by IDs.
func (*UserUpdate) RemoveIssuesCreated ¶
func (uu *UserUpdate) RemoveIssuesCreated(i ...*Issue) *UserUpdate
RemoveIssuesCreated removes "issues_created" edges to Issue entities.
func (*UserUpdate) RemoveIssuesCreatedIDs ¶
func (uu *UserUpdate) RemoveIssuesCreatedIDs(ids ...int64) *UserUpdate
RemoveIssuesCreatedIDs removes the "issues_created" edge to Issue entities by IDs.
func (*UserUpdate) RemoveRepositories ¶
func (uu *UserUpdate) RemoveRepositories(r ...*Repository) *UserUpdate
RemoveRepositories removes "repositories" edges to Repository entities.
func (*UserUpdate) RemoveRepositoryIDs ¶
func (uu *UserUpdate) RemoveRepositoryIDs(ids ...int64) *UserUpdate
RemoveRepositoryIDs removes the "repositories" edge to Repository entities by IDs.
func (*UserUpdate) Save ¶
func (uu *UserUpdate) Save(ctx context.Context) (int, error)
Save executes the query and returns the number of nodes affected by the update operation.
func (*UserUpdate) SaveX ¶
func (uu *UserUpdate) SaveX(ctx context.Context) int
SaveX is like Save, but panics if an error occurs.
func (*UserUpdate) SetAvatarURL ¶
func (uu *UserUpdate) SetAvatarURL(s string) *UserUpdate
SetAvatarURL sets the "avatar_url" field.
func (*UserUpdate) SetBio ¶
func (uu *UserUpdate) SetBio(s string) *UserUpdate
SetBio sets the "bio" field.
func (*UserUpdate) SetBlog ¶
func (uu *UserUpdate) SetBlog(s string) *UserUpdate
SetBlog sets the "blog" field.
func (*UserUpdate) SetCompany ¶
func (uu *UserUpdate) SetCompany(s string) *UserUpdate
SetCompany sets the "company" field.
func (*UserUpdate) SetCreatedAt ¶
func (uu *UserUpdate) SetCreatedAt(t time.Time) *UserUpdate
SetCreatedAt sets the "created_at" field.
func (*UserUpdate) SetEmail ¶
func (uu *UserUpdate) SetEmail(s string) *UserUpdate
SetEmail sets the "email" field.
func (*UserUpdate) SetEventsURL ¶
func (uu *UserUpdate) SetEventsURL(s string) *UserUpdate
SetEventsURL sets the "events_url" field.
func (*UserUpdate) SetFollowers ¶
func (uu *UserUpdate) SetFollowers(i int64) *UserUpdate
SetFollowers sets the "followers" field.
func (*UserUpdate) SetFollowersURL ¶
func (uu *UserUpdate) SetFollowersURL(s string) *UserUpdate
SetFollowersURL sets the "followers_url" field.
func (*UserUpdate) SetFollowing ¶
func (uu *UserUpdate) SetFollowing(i int64) *UserUpdate
SetFollowing sets the "following" field.
func (*UserUpdate) SetFollowingURL ¶
func (uu *UserUpdate) SetFollowingURL(s string) *UserUpdate
SetFollowingURL sets the "following_url" field.
func (*UserUpdate) SetGistsURL ¶
func (uu *UserUpdate) SetGistsURL(s string) *UserUpdate
SetGistsURL sets the "gists_url" field.
func (*UserUpdate) SetGravatarID ¶
func (uu *UserUpdate) SetGravatarID(s string) *UserUpdate
SetGravatarID sets the "gravatar_id" field.
func (*UserUpdate) SetHTMLURL ¶
func (uu *UserUpdate) SetHTMLURL(s string) *UserUpdate
SetHTMLURL sets the "html_url" field.
func (*UserUpdate) SetHireable ¶
func (uu *UserUpdate) SetHireable(b bool) *UserUpdate
SetHireable sets the "hireable" field.
func (*UserUpdate) SetLocation ¶
func (uu *UserUpdate) SetLocation(s string) *UserUpdate
SetLocation sets the "location" field.
func (*UserUpdate) SetLogin ¶
func (uu *UserUpdate) SetLogin(s string) *UserUpdate
SetLogin sets the "login" field.
func (*UserUpdate) SetName ¶
func (uu *UserUpdate) SetName(s string) *UserUpdate
SetName sets the "name" field.
func (*UserUpdate) SetNillableAvatarURL ¶
func (uu *UserUpdate) SetNillableAvatarURL(s *string) *UserUpdate
SetNillableAvatarURL sets the "avatar_url" field if the given value is not nil.
func (*UserUpdate) SetNillableBio ¶
func (uu *UserUpdate) SetNillableBio(s *string) *UserUpdate
SetNillableBio sets the "bio" field if the given value is not nil.
func (*UserUpdate) SetNillableBlog ¶
func (uu *UserUpdate) SetNillableBlog(s *string) *UserUpdate
SetNillableBlog sets the "blog" field if the given value is not nil.
func (*UserUpdate) SetNillableCompany ¶
func (uu *UserUpdate) SetNillableCompany(s *string) *UserUpdate
SetNillableCompany sets the "company" field if the given value is not nil.
func (*UserUpdate) SetNillableCreatedAt ¶
func (uu *UserUpdate) SetNillableCreatedAt(t *time.Time) *UserUpdate
SetNillableCreatedAt sets the "created_at" field if the given value is not nil.
func (*UserUpdate) SetNillableEmail ¶
func (uu *UserUpdate) SetNillableEmail(s *string) *UserUpdate
SetNillableEmail sets the "email" field if the given value is not nil.
func (*UserUpdate) SetNillableEventsURL ¶
func (uu *UserUpdate) SetNillableEventsURL(s *string) *UserUpdate
SetNillableEventsURL sets the "events_url" field if the given value is not nil.
func (*UserUpdate) SetNillableFollowers ¶
func (uu *UserUpdate) SetNillableFollowers(i *int64) *UserUpdate
SetNillableFollowers sets the "followers" field if the given value is not nil.
func (*UserUpdate) SetNillableFollowersURL ¶
func (uu *UserUpdate) SetNillableFollowersURL(s *string) *UserUpdate
SetNillableFollowersURL sets the "followers_url" field if the given value is not nil.
func (*UserUpdate) SetNillableFollowing ¶
func (uu *UserUpdate) SetNillableFollowing(i *int64) *UserUpdate
SetNillableFollowing sets the "following" field if the given value is not nil.
func (*UserUpdate) SetNillableFollowingURL ¶
func (uu *UserUpdate) SetNillableFollowingURL(s *string) *UserUpdate
SetNillableFollowingURL sets the "following_url" field if the given value is not nil.
func (*UserUpdate) SetNillableGistsURL ¶
func (uu *UserUpdate) SetNillableGistsURL(s *string) *UserUpdate
SetNillableGistsURL sets the "gists_url" field if the given value is not nil.
func (*UserUpdate) SetNillableGravatarID ¶
func (uu *UserUpdate) SetNillableGravatarID(s *string) *UserUpdate
SetNillableGravatarID sets the "gravatar_id" field if the given value is not nil.
func (*UserUpdate) SetNillableHTMLURL ¶
func (uu *UserUpdate) SetNillableHTMLURL(s *string) *UserUpdate
SetNillableHTMLURL sets the "html_url" field if the given value is not nil.
func (*UserUpdate) SetNillableHireable ¶
func (uu *UserUpdate) SetNillableHireable(b *bool) *UserUpdate
SetNillableHireable sets the "hireable" field if the given value is not nil.
func (*UserUpdate) SetNillableLocation ¶
func (uu *UserUpdate) SetNillableLocation(s *string) *UserUpdate
SetNillableLocation sets the "location" field if the given value is not nil.
func (*UserUpdate) SetNillableLogin ¶
func (uu *UserUpdate) SetNillableLogin(s *string) *UserUpdate
SetNillableLogin sets the "login" field if the given value is not nil.
func (*UserUpdate) SetNillableName ¶
func (uu *UserUpdate) SetNillableName(s *string) *UserUpdate
SetNillableName sets the "name" field if the given value is not nil.
func (*UserUpdate) SetNillableNodeID ¶
func (uu *UserUpdate) SetNillableNodeID(s *string) *UserUpdate
SetNillableNodeID sets the "node_id" field if the given value is not nil.
func (*UserUpdate) SetNillableOrganizationsURL ¶
func (uu *UserUpdate) SetNillableOrganizationsURL(s *string) *UserUpdate
SetNillableOrganizationsURL sets the "organizations_url" field if the given value is not nil.
func (*UserUpdate) SetNillablePublicGists ¶
func (uu *UserUpdate) SetNillablePublicGists(i *int64) *UserUpdate
SetNillablePublicGists sets the "public_gists" field if the given value is not nil.
func (*UserUpdate) SetNillablePublicRepos ¶
func (uu *UserUpdate) SetNillablePublicRepos(i *int64) *UserUpdate
SetNillablePublicRepos sets the "public_repos" field if the given value is not nil.
func (*UserUpdate) SetNillableReceivedEventsURL ¶
func (uu *UserUpdate) SetNillableReceivedEventsURL(s *string) *UserUpdate
SetNillableReceivedEventsURL sets the "received_events_url" field if the given value is not nil.
func (*UserUpdate) SetNillableReposURL ¶
func (uu *UserUpdate) SetNillableReposURL(s *string) *UserUpdate
SetNillableReposURL sets the "repos_url" field if the given value is not nil.
func (*UserUpdate) SetNillableSiteAdmin ¶
func (uu *UserUpdate) SetNillableSiteAdmin(b *bool) *UserUpdate
SetNillableSiteAdmin sets the "site_admin" field if the given value is not nil.
func (*UserUpdate) SetNillableStarredURL ¶
func (uu *UserUpdate) SetNillableStarredURL(s *string) *UserUpdate
SetNillableStarredURL sets the "starred_url" field if the given value is not nil.
func (*UserUpdate) SetNillableSubscriptionsURL ¶
func (uu *UserUpdate) SetNillableSubscriptionsURL(s *string) *UserUpdate
SetNillableSubscriptionsURL sets the "subscriptions_url" field if the given value is not nil.
func (*UserUpdate) SetNillableType ¶
func (uu *UserUpdate) SetNillableType(s *string) *UserUpdate
SetNillableType sets the "type" field if the given value is not nil.
func (*UserUpdate) SetNillableURL ¶
func (uu *UserUpdate) SetNillableURL(s *string) *UserUpdate
SetNillableURL sets the "url" field if the given value is not nil.
func (*UserUpdate) SetNillableUpdatedAt ¶
func (uu *UserUpdate) SetNillableUpdatedAt(t *time.Time) *UserUpdate
SetNillableUpdatedAt sets the "updated_at" field if the given value is not nil.
func (*UserUpdate) SetNodeID ¶
func (uu *UserUpdate) SetNodeID(s string) *UserUpdate
SetNodeID sets the "node_id" field.
func (*UserUpdate) SetOrganizationsURL ¶
func (uu *UserUpdate) SetOrganizationsURL(s string) *UserUpdate
SetOrganizationsURL sets the "organizations_url" field.
func (*UserUpdate) SetPublicGists ¶
func (uu *UserUpdate) SetPublicGists(i int64) *UserUpdate
SetPublicGists sets the "public_gists" field.
func (*UserUpdate) SetPublicRepos ¶
func (uu *UserUpdate) SetPublicRepos(i int64) *UserUpdate
SetPublicRepos sets the "public_repos" field.
func (*UserUpdate) SetReceivedEventsURL ¶
func (uu *UserUpdate) SetReceivedEventsURL(s string) *UserUpdate
SetReceivedEventsURL sets the "received_events_url" field.
func (*UserUpdate) SetReposURL ¶
func (uu *UserUpdate) SetReposURL(s string) *UserUpdate
SetReposURL sets the "repos_url" field.
func (*UserUpdate) SetSiteAdmin ¶
func (uu *UserUpdate) SetSiteAdmin(b bool) *UserUpdate
SetSiteAdmin sets the "site_admin" field.
func (*UserUpdate) SetStarredURL ¶
func (uu *UserUpdate) SetStarredURL(s string) *UserUpdate
SetStarredURL sets the "starred_url" field.
func (*UserUpdate) SetSubscriptionsURL ¶
func (uu *UserUpdate) SetSubscriptionsURL(s string) *UserUpdate
SetSubscriptionsURL sets the "subscriptions_url" field.
func (*UserUpdate) SetType ¶
func (uu *UserUpdate) SetType(s string) *UserUpdate
SetType sets the "type" field.
func (*UserUpdate) SetURL ¶
func (uu *UserUpdate) SetURL(s string) *UserUpdate
SetURL sets the "url" field.
func (*UserUpdate) SetUpdatedAt ¶
func (uu *UserUpdate) SetUpdatedAt(t time.Time) *UserUpdate
SetUpdatedAt sets the "updated_at" field.
func (*UserUpdate) Where ¶
func (uu *UserUpdate) Where(ps ...predicate.User) *UserUpdate
Where appends a list predicates to the UserUpdate builder.
type UserUpdateOne ¶
type UserUpdateOne struct {
// contains filtered or unexported fields
}
UserUpdateOne is the builder for updating a single User entity.
func (*UserUpdateOne) AddCommentsCreated ¶
func (uuo *UserUpdateOne) AddCommentsCreated(i ...*IssueComment) *UserUpdateOne
AddCommentsCreated adds the "comments_created" edges to the IssueComment entity.
func (*UserUpdateOne) AddCommentsCreatedIDs ¶
func (uuo *UserUpdateOne) AddCommentsCreatedIDs(ids ...int64) *UserUpdateOne
AddCommentsCreatedIDs adds the "comments_created" edge to the IssueComment entity by IDs.
func (*UserUpdateOne) AddFollowers ¶
func (uuo *UserUpdateOne) AddFollowers(i int64) *UserUpdateOne
AddFollowers adds i to the "followers" field.
func (*UserUpdateOne) AddFollowing ¶
func (uuo *UserUpdateOne) AddFollowing(i int64) *UserUpdateOne
AddFollowing adds i to the "following" field.
func (*UserUpdateOne) AddIssuesAssigned ¶
func (uuo *UserUpdateOne) AddIssuesAssigned(i ...*Issue) *UserUpdateOne
AddIssuesAssigned adds the "issues_assigned" edges to the Issue entity.
func (*UserUpdateOne) AddIssuesAssignedIDs ¶
func (uuo *UserUpdateOne) AddIssuesAssignedIDs(ids ...int64) *UserUpdateOne
AddIssuesAssignedIDs adds the "issues_assigned" edge to the Issue entity by IDs.
func (*UserUpdateOne) AddIssuesClosed ¶
func (uuo *UserUpdateOne) AddIssuesClosed(i ...*Issue) *UserUpdateOne
AddIssuesClosed adds the "issues_closed" edges to the Issue entity.
func (*UserUpdateOne) AddIssuesClosedIDs ¶
func (uuo *UserUpdateOne) AddIssuesClosedIDs(ids ...int64) *UserUpdateOne
AddIssuesClosedIDs adds the "issues_closed" edge to the Issue entity by IDs.
func (*UserUpdateOne) AddIssuesCreated ¶
func (uuo *UserUpdateOne) AddIssuesCreated(i ...*Issue) *UserUpdateOne
AddIssuesCreated adds the "issues_created" edges to the Issue entity.
func (*UserUpdateOne) AddIssuesCreatedIDs ¶
func (uuo *UserUpdateOne) AddIssuesCreatedIDs(ids ...int64) *UserUpdateOne
AddIssuesCreatedIDs adds the "issues_created" edge to the Issue entity by IDs.
func (*UserUpdateOne) AddPublicGists ¶
func (uuo *UserUpdateOne) AddPublicGists(i int64) *UserUpdateOne
AddPublicGists adds i to the "public_gists" field.
func (*UserUpdateOne) AddPublicRepos ¶
func (uuo *UserUpdateOne) AddPublicRepos(i int64) *UserUpdateOne
AddPublicRepos adds i to the "public_repos" field.
func (*UserUpdateOne) AddRepositories ¶
func (uuo *UserUpdateOne) AddRepositories(r ...*Repository) *UserUpdateOne
AddRepositories adds the "repositories" edges to the Repository entity.
func (*UserUpdateOne) AddRepositoryIDs ¶
func (uuo *UserUpdateOne) AddRepositoryIDs(ids ...int64) *UserUpdateOne
AddRepositoryIDs adds the "repositories" edge to the Repository entity by IDs.
func (*UserUpdateOne) ClearBio ¶
func (uuo *UserUpdateOne) ClearBio() *UserUpdateOne
ClearBio clears the value of the "bio" field.
func (*UserUpdateOne) ClearBlog ¶
func (uuo *UserUpdateOne) ClearBlog() *UserUpdateOne
ClearBlog clears the value of the "blog" field.
func (*UserUpdateOne) ClearCommentsCreated ¶
func (uuo *UserUpdateOne) ClearCommentsCreated() *UserUpdateOne
ClearCommentsCreated clears all "comments_created" edges to the IssueComment entity.
func (*UserUpdateOne) ClearCompany ¶
func (uuo *UserUpdateOne) ClearCompany() *UserUpdateOne
ClearCompany clears the value of the "company" field.
func (*UserUpdateOne) ClearEmail ¶
func (uuo *UserUpdateOne) ClearEmail() *UserUpdateOne
ClearEmail clears the value of the "email" field.
func (*UserUpdateOne) ClearGravatarID ¶
func (uuo *UserUpdateOne) ClearGravatarID() *UserUpdateOne
ClearGravatarID clears the value of the "gravatar_id" field.
func (*UserUpdateOne) ClearHireable ¶
func (uuo *UserUpdateOne) ClearHireable() *UserUpdateOne
ClearHireable clears the value of the "hireable" field.
func (*UserUpdateOne) ClearIssuesAssigned ¶
func (uuo *UserUpdateOne) ClearIssuesAssigned() *UserUpdateOne
ClearIssuesAssigned clears all "issues_assigned" edges to the Issue entity.
func (*UserUpdateOne) ClearIssuesClosed ¶
func (uuo *UserUpdateOne) ClearIssuesClosed() *UserUpdateOne
ClearIssuesClosed clears all "issues_closed" edges to the Issue entity.
func (*UserUpdateOne) ClearIssuesCreated ¶
func (uuo *UserUpdateOne) ClearIssuesCreated() *UserUpdateOne
ClearIssuesCreated clears all "issues_created" edges to the Issue entity.
func (*UserUpdateOne) ClearLocation ¶
func (uuo *UserUpdateOne) ClearLocation() *UserUpdateOne
ClearLocation clears the value of the "location" field.
func (*UserUpdateOne) ClearName ¶
func (uuo *UserUpdateOne) ClearName() *UserUpdateOne
ClearName clears the value of the "name" field.
func (*UserUpdateOne) ClearRepositories ¶
func (uuo *UserUpdateOne) ClearRepositories() *UserUpdateOne
ClearRepositories clears all "repositories" edges to the Repository entity.
func (*UserUpdateOne) CopyUser ¶
func (uuo *UserUpdateOne) CopyUser(input *User) *UserUpdateOne
CopyUser allows to update a User copying the existing values of input.
func (*UserUpdateOne) Exec ¶
func (uuo *UserUpdateOne) Exec(ctx context.Context) error
Exec executes the query on the entity.
func (*UserUpdateOne) ExecX ¶
func (uuo *UserUpdateOne) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*UserUpdateOne) Mutation ¶
func (uuo *UserUpdateOne) Mutation() *UserMutation
Mutation returns the UserMutation object of the builder.
func (*UserUpdateOne) RemoveCommentsCreated ¶
func (uuo *UserUpdateOne) RemoveCommentsCreated(i ...*IssueComment) *UserUpdateOne
RemoveCommentsCreated removes "comments_created" edges to IssueComment entities.
func (*UserUpdateOne) RemoveCommentsCreatedIDs ¶
func (uuo *UserUpdateOne) RemoveCommentsCreatedIDs(ids ...int64) *UserUpdateOne
RemoveCommentsCreatedIDs removes the "comments_created" edge to IssueComment entities by IDs.
func (*UserUpdateOne) RemoveIssuesAssigned ¶
func (uuo *UserUpdateOne) RemoveIssuesAssigned(i ...*Issue) *UserUpdateOne
RemoveIssuesAssigned removes "issues_assigned" edges to Issue entities.
func (*UserUpdateOne) RemoveIssuesAssignedIDs ¶
func (uuo *UserUpdateOne) RemoveIssuesAssignedIDs(ids ...int64) *UserUpdateOne
RemoveIssuesAssignedIDs removes the "issues_assigned" edge to Issue entities by IDs.
func (*UserUpdateOne) RemoveIssuesClosed ¶
func (uuo *UserUpdateOne) RemoveIssuesClosed(i ...*Issue) *UserUpdateOne
RemoveIssuesClosed removes "issues_closed" edges to Issue entities.
func (*UserUpdateOne) RemoveIssuesClosedIDs ¶
func (uuo *UserUpdateOne) RemoveIssuesClosedIDs(ids ...int64) *UserUpdateOne
RemoveIssuesClosedIDs removes the "issues_closed" edge to Issue entities by IDs.
func (*UserUpdateOne) RemoveIssuesCreated ¶
func (uuo *UserUpdateOne) RemoveIssuesCreated(i ...*Issue) *UserUpdateOne
RemoveIssuesCreated removes "issues_created" edges to Issue entities.
func (*UserUpdateOne) RemoveIssuesCreatedIDs ¶
func (uuo *UserUpdateOne) RemoveIssuesCreatedIDs(ids ...int64) *UserUpdateOne
RemoveIssuesCreatedIDs removes the "issues_created" edge to Issue entities by IDs.
func (*UserUpdateOne) RemoveRepositories ¶
func (uuo *UserUpdateOne) RemoveRepositories(r ...*Repository) *UserUpdateOne
RemoveRepositories removes "repositories" edges to Repository entities.
func (*UserUpdateOne) RemoveRepositoryIDs ¶
func (uuo *UserUpdateOne) RemoveRepositoryIDs(ids ...int64) *UserUpdateOne
RemoveRepositoryIDs removes the "repositories" edge to Repository entities by IDs.
func (*UserUpdateOne) Save ¶
func (uuo *UserUpdateOne) Save(ctx context.Context) (*User, error)
Save executes the query and returns the updated User entity.
func (*UserUpdateOne) SaveX ¶
func (uuo *UserUpdateOne) SaveX(ctx context.Context) *User
SaveX is like Save, but panics if an error occurs.
func (*UserUpdateOne) Select ¶
func (uuo *UserUpdateOne) Select(field string, fields ...string) *UserUpdateOne
Select allows selecting one or more fields (columns) of the returned entity. The default is selecting all fields defined in the entity schema.
func (*UserUpdateOne) SetAvatarURL ¶
func (uuo *UserUpdateOne) SetAvatarURL(s string) *UserUpdateOne
SetAvatarURL sets the "avatar_url" field.
func (*UserUpdateOne) SetBio ¶
func (uuo *UserUpdateOne) SetBio(s string) *UserUpdateOne
SetBio sets the "bio" field.
func (*UserUpdateOne) SetBlog ¶
func (uuo *UserUpdateOne) SetBlog(s string) *UserUpdateOne
SetBlog sets the "blog" field.
func (*UserUpdateOne) SetCompany ¶
func (uuo *UserUpdateOne) SetCompany(s string) *UserUpdateOne
SetCompany sets the "company" field.
func (*UserUpdateOne) SetCreatedAt ¶
func (uuo *UserUpdateOne) SetCreatedAt(t time.Time) *UserUpdateOne
SetCreatedAt sets the "created_at" field.
func (*UserUpdateOne) SetEmail ¶
func (uuo *UserUpdateOne) SetEmail(s string) *UserUpdateOne
SetEmail sets the "email" field.
func (*UserUpdateOne) SetEventsURL ¶
func (uuo *UserUpdateOne) SetEventsURL(s string) *UserUpdateOne
SetEventsURL sets the "events_url" field.
func (*UserUpdateOne) SetFollowers ¶
func (uuo *UserUpdateOne) SetFollowers(i int64) *UserUpdateOne
SetFollowers sets the "followers" field.
func (*UserUpdateOne) SetFollowersURL ¶
func (uuo *UserUpdateOne) SetFollowersURL(s string) *UserUpdateOne
SetFollowersURL sets the "followers_url" field.
func (*UserUpdateOne) SetFollowing ¶
func (uuo *UserUpdateOne) SetFollowing(i int64) *UserUpdateOne
SetFollowing sets the "following" field.
func (*UserUpdateOne) SetFollowingURL ¶
func (uuo *UserUpdateOne) SetFollowingURL(s string) *UserUpdateOne
SetFollowingURL sets the "following_url" field.
func (*UserUpdateOne) SetGistsURL ¶
func (uuo *UserUpdateOne) SetGistsURL(s string) *UserUpdateOne
SetGistsURL sets the "gists_url" field.
func (*UserUpdateOne) SetGravatarID ¶
func (uuo *UserUpdateOne) SetGravatarID(s string) *UserUpdateOne
SetGravatarID sets the "gravatar_id" field.
func (*UserUpdateOne) SetHTMLURL ¶
func (uuo *UserUpdateOne) SetHTMLURL(s string) *UserUpdateOne
SetHTMLURL sets the "html_url" field.
func (*UserUpdateOne) SetHireable ¶
func (uuo *UserUpdateOne) SetHireable(b bool) *UserUpdateOne
SetHireable sets the "hireable" field.
func (*UserUpdateOne) SetLocation ¶
func (uuo *UserUpdateOne) SetLocation(s string) *UserUpdateOne
SetLocation sets the "location" field.
func (*UserUpdateOne) SetLogin ¶
func (uuo *UserUpdateOne) SetLogin(s string) *UserUpdateOne
SetLogin sets the "login" field.
func (*UserUpdateOne) SetName ¶
func (uuo *UserUpdateOne) SetName(s string) *UserUpdateOne
SetName sets the "name" field.
func (*UserUpdateOne) SetNillableAvatarURL ¶
func (uuo *UserUpdateOne) SetNillableAvatarURL(s *string) *UserUpdateOne
SetNillableAvatarURL sets the "avatar_url" field if the given value is not nil.
func (*UserUpdateOne) SetNillableBio ¶
func (uuo *UserUpdateOne) SetNillableBio(s *string) *UserUpdateOne
SetNillableBio sets the "bio" field if the given value is not nil.
func (*UserUpdateOne) SetNillableBlog ¶
func (uuo *UserUpdateOne) SetNillableBlog(s *string) *UserUpdateOne
SetNillableBlog sets the "blog" field if the given value is not nil.
func (*UserUpdateOne) SetNillableCompany ¶
func (uuo *UserUpdateOne) SetNillableCompany(s *string) *UserUpdateOne
SetNillableCompany sets the "company" field if the given value is not nil.
func (*UserUpdateOne) SetNillableCreatedAt ¶
func (uuo *UserUpdateOne) SetNillableCreatedAt(t *time.Time) *UserUpdateOne
SetNillableCreatedAt sets the "created_at" field if the given value is not nil.
func (*UserUpdateOne) SetNillableEmail ¶
func (uuo *UserUpdateOne) SetNillableEmail(s *string) *UserUpdateOne
SetNillableEmail sets the "email" field if the given value is not nil.
func (*UserUpdateOne) SetNillableEventsURL ¶
func (uuo *UserUpdateOne) SetNillableEventsURL(s *string) *UserUpdateOne
SetNillableEventsURL sets the "events_url" field if the given value is not nil.
func (*UserUpdateOne) SetNillableFollowers ¶
func (uuo *UserUpdateOne) SetNillableFollowers(i *int64) *UserUpdateOne
SetNillableFollowers sets the "followers" field if the given value is not nil.
func (*UserUpdateOne) SetNillableFollowersURL ¶
func (uuo *UserUpdateOne) SetNillableFollowersURL(s *string) *UserUpdateOne
SetNillableFollowersURL sets the "followers_url" field if the given value is not nil.
func (*UserUpdateOne) SetNillableFollowing ¶
func (uuo *UserUpdateOne) SetNillableFollowing(i *int64) *UserUpdateOne
SetNillableFollowing sets the "following" field if the given value is not nil.
func (*UserUpdateOne) SetNillableFollowingURL ¶
func (uuo *UserUpdateOne) SetNillableFollowingURL(s *string) *UserUpdateOne
SetNillableFollowingURL sets the "following_url" field if the given value is not nil.
func (*UserUpdateOne) SetNillableGistsURL ¶
func (uuo *UserUpdateOne) SetNillableGistsURL(s *string) *UserUpdateOne
SetNillableGistsURL sets the "gists_url" field if the given value is not nil.
func (*UserUpdateOne) SetNillableGravatarID ¶
func (uuo *UserUpdateOne) SetNillableGravatarID(s *string) *UserUpdateOne
SetNillableGravatarID sets the "gravatar_id" field if the given value is not nil.
func (*UserUpdateOne) SetNillableHTMLURL ¶
func (uuo *UserUpdateOne) SetNillableHTMLURL(s *string) *UserUpdateOne
SetNillableHTMLURL sets the "html_url" field if the given value is not nil.
func (*UserUpdateOne) SetNillableHireable ¶
func (uuo *UserUpdateOne) SetNillableHireable(b *bool) *UserUpdateOne
SetNillableHireable sets the "hireable" field if the given value is not nil.
func (*UserUpdateOne) SetNillableLocation ¶
func (uuo *UserUpdateOne) SetNillableLocation(s *string) *UserUpdateOne
SetNillableLocation sets the "location" field if the given value is not nil.
func (*UserUpdateOne) SetNillableLogin ¶
func (uuo *UserUpdateOne) SetNillableLogin(s *string) *UserUpdateOne
SetNillableLogin sets the "login" field if the given value is not nil.
func (*UserUpdateOne) SetNillableName ¶
func (uuo *UserUpdateOne) SetNillableName(s *string) *UserUpdateOne
SetNillableName sets the "name" field if the given value is not nil.
func (*UserUpdateOne) SetNillableNodeID ¶
func (uuo *UserUpdateOne) SetNillableNodeID(s *string) *UserUpdateOne
SetNillableNodeID sets the "node_id" field if the given value is not nil.
func (*UserUpdateOne) SetNillableOrganizationsURL ¶
func (uuo *UserUpdateOne) SetNillableOrganizationsURL(s *string) *UserUpdateOne
SetNillableOrganizationsURL sets the "organizations_url" field if the given value is not nil.
func (*UserUpdateOne) SetNillablePublicGists ¶
func (uuo *UserUpdateOne) SetNillablePublicGists(i *int64) *UserUpdateOne
SetNillablePublicGists sets the "public_gists" field if the given value is not nil.
func (*UserUpdateOne) SetNillablePublicRepos ¶
func (uuo *UserUpdateOne) SetNillablePublicRepos(i *int64) *UserUpdateOne
SetNillablePublicRepos sets the "public_repos" field if the given value is not nil.
func (*UserUpdateOne) SetNillableReceivedEventsURL ¶
func (uuo *UserUpdateOne) SetNillableReceivedEventsURL(s *string) *UserUpdateOne
SetNillableReceivedEventsURL sets the "received_events_url" field if the given value is not nil.
func (*UserUpdateOne) SetNillableReposURL ¶
func (uuo *UserUpdateOne) SetNillableReposURL(s *string) *UserUpdateOne
SetNillableReposURL sets the "repos_url" field if the given value is not nil.
func (*UserUpdateOne) SetNillableSiteAdmin ¶
func (uuo *UserUpdateOne) SetNillableSiteAdmin(b *bool) *UserUpdateOne
SetNillableSiteAdmin sets the "site_admin" field if the given value is not nil.
func (*UserUpdateOne) SetNillableStarredURL ¶
func (uuo *UserUpdateOne) SetNillableStarredURL(s *string) *UserUpdateOne
SetNillableStarredURL sets the "starred_url" field if the given value is not nil.
func (*UserUpdateOne) SetNillableSubscriptionsURL ¶
func (uuo *UserUpdateOne) SetNillableSubscriptionsURL(s *string) *UserUpdateOne
SetNillableSubscriptionsURL sets the "subscriptions_url" field if the given value is not nil.
func (*UserUpdateOne) SetNillableType ¶
func (uuo *UserUpdateOne) SetNillableType(s *string) *UserUpdateOne
SetNillableType sets the "type" field if the given value is not nil.
func (*UserUpdateOne) SetNillableURL ¶
func (uuo *UserUpdateOne) SetNillableURL(s *string) *UserUpdateOne
SetNillableURL sets the "url" field if the given value is not nil.
func (*UserUpdateOne) SetNillableUpdatedAt ¶
func (uuo *UserUpdateOne) SetNillableUpdatedAt(t *time.Time) *UserUpdateOne
SetNillableUpdatedAt sets the "updated_at" field if the given value is not nil.
func (*UserUpdateOne) SetNodeID ¶
func (uuo *UserUpdateOne) SetNodeID(s string) *UserUpdateOne
SetNodeID sets the "node_id" field.
func (*UserUpdateOne) SetOrganizationsURL ¶
func (uuo *UserUpdateOne) SetOrganizationsURL(s string) *UserUpdateOne
SetOrganizationsURL sets the "organizations_url" field.
func (*UserUpdateOne) SetPublicGists ¶
func (uuo *UserUpdateOne) SetPublicGists(i int64) *UserUpdateOne
SetPublicGists sets the "public_gists" field.
func (*UserUpdateOne) SetPublicRepos ¶
func (uuo *UserUpdateOne) SetPublicRepos(i int64) *UserUpdateOne
SetPublicRepos sets the "public_repos" field.
func (*UserUpdateOne) SetReceivedEventsURL ¶
func (uuo *UserUpdateOne) SetReceivedEventsURL(s string) *UserUpdateOne
SetReceivedEventsURL sets the "received_events_url" field.
func (*UserUpdateOne) SetReposURL ¶
func (uuo *UserUpdateOne) SetReposURL(s string) *UserUpdateOne
SetReposURL sets the "repos_url" field.
func (*UserUpdateOne) SetSiteAdmin ¶
func (uuo *UserUpdateOne) SetSiteAdmin(b bool) *UserUpdateOne
SetSiteAdmin sets the "site_admin" field.
func (*UserUpdateOne) SetStarredURL ¶
func (uuo *UserUpdateOne) SetStarredURL(s string) *UserUpdateOne
SetStarredURL sets the "starred_url" field.
func (*UserUpdateOne) SetSubscriptionsURL ¶
func (uuo *UserUpdateOne) SetSubscriptionsURL(s string) *UserUpdateOne
SetSubscriptionsURL sets the "subscriptions_url" field.
func (*UserUpdateOne) SetType ¶
func (uuo *UserUpdateOne) SetType(s string) *UserUpdateOne
SetType sets the "type" field.
func (*UserUpdateOne) SetURL ¶
func (uuo *UserUpdateOne) SetURL(s string) *UserUpdateOne
SetURL sets the "url" field.
func (*UserUpdateOne) SetUpdatedAt ¶
func (uuo *UserUpdateOne) SetUpdatedAt(t time.Time) *UserUpdateOne
SetUpdatedAt sets the "updated_at" field.
func (*UserUpdateOne) Where ¶
func (uuo *UserUpdateOne) Where(ps ...predicate.User) *UserUpdateOne
Where appends a list predicates to the UserUpdate builder.
type UserUpsert ¶
UserUpsert is the "OnConflict" setter.
func (*UserUpsert) AddFollowers ¶
func (u *UserUpsert) AddFollowers(v int64) *UserUpsert
AddFollowers adds v to the "followers" field.
func (*UserUpsert) AddFollowing ¶
func (u *UserUpsert) AddFollowing(v int64) *UserUpsert
AddFollowing adds v to the "following" field.
func (*UserUpsert) AddPublicGists ¶
func (u *UserUpsert) AddPublicGists(v int64) *UserUpsert
AddPublicGists adds v to the "public_gists" field.
func (*UserUpsert) AddPublicRepos ¶
func (u *UserUpsert) AddPublicRepos(v int64) *UserUpsert
AddPublicRepos adds v to the "public_repos" field.
func (*UserUpsert) ClearBio ¶
func (u *UserUpsert) ClearBio() *UserUpsert
ClearBio clears the value of the "bio" field.
func (*UserUpsert) ClearBlog ¶
func (u *UserUpsert) ClearBlog() *UserUpsert
ClearBlog clears the value of the "blog" field.
func (*UserUpsert) ClearCompany ¶
func (u *UserUpsert) ClearCompany() *UserUpsert
ClearCompany clears the value of the "company" field.
func (*UserUpsert) ClearEmail ¶
func (u *UserUpsert) ClearEmail() *UserUpsert
ClearEmail clears the value of the "email" field.
func (*UserUpsert) ClearGravatarID ¶
func (u *UserUpsert) ClearGravatarID() *UserUpsert
ClearGravatarID clears the value of the "gravatar_id" field.
func (*UserUpsert) ClearHireable ¶
func (u *UserUpsert) ClearHireable() *UserUpsert
ClearHireable clears the value of the "hireable" field.
func (*UserUpsert) ClearLocation ¶
func (u *UserUpsert) ClearLocation() *UserUpsert
ClearLocation clears the value of the "location" field.
func (*UserUpsert) ClearName ¶
func (u *UserUpsert) ClearName() *UserUpsert
ClearName clears the value of the "name" field.
func (*UserUpsert) SetAvatarURL ¶
func (u *UserUpsert) SetAvatarURL(v string) *UserUpsert
SetAvatarURL sets the "avatar_url" field.
func (*UserUpsert) SetBio ¶
func (u *UserUpsert) SetBio(v string) *UserUpsert
SetBio sets the "bio" field.
func (*UserUpsert) SetBlog ¶
func (u *UserUpsert) SetBlog(v string) *UserUpsert
SetBlog sets the "blog" field.
func (*UserUpsert) SetCompany ¶
func (u *UserUpsert) SetCompany(v string) *UserUpsert
SetCompany sets the "company" field.
func (*UserUpsert) SetCreatedAt ¶
func (u *UserUpsert) SetCreatedAt(v time.Time) *UserUpsert
SetCreatedAt sets the "created_at" field.
func (*UserUpsert) SetEmail ¶
func (u *UserUpsert) SetEmail(v string) *UserUpsert
SetEmail sets the "email" field.
func (*UserUpsert) SetEventsURL ¶
func (u *UserUpsert) SetEventsURL(v string) *UserUpsert
SetEventsURL sets the "events_url" field.
func (*UserUpsert) SetFollowers ¶
func (u *UserUpsert) SetFollowers(v int64) *UserUpsert
SetFollowers sets the "followers" field.
func (*UserUpsert) SetFollowersURL ¶
func (u *UserUpsert) SetFollowersURL(v string) *UserUpsert
SetFollowersURL sets the "followers_url" field.
func (*UserUpsert) SetFollowing ¶
func (u *UserUpsert) SetFollowing(v int64) *UserUpsert
SetFollowing sets the "following" field.
func (*UserUpsert) SetFollowingURL ¶
func (u *UserUpsert) SetFollowingURL(v string) *UserUpsert
SetFollowingURL sets the "following_url" field.
func (*UserUpsert) SetGistsURL ¶
func (u *UserUpsert) SetGistsURL(v string) *UserUpsert
SetGistsURL sets the "gists_url" field.
func (*UserUpsert) SetGravatarID ¶
func (u *UserUpsert) SetGravatarID(v string) *UserUpsert
SetGravatarID sets the "gravatar_id" field.
func (*UserUpsert) SetHTMLURL ¶
func (u *UserUpsert) SetHTMLURL(v string) *UserUpsert
SetHTMLURL sets the "html_url" field.
func (*UserUpsert) SetHireable ¶
func (u *UserUpsert) SetHireable(v bool) *UserUpsert
SetHireable sets the "hireable" field.
func (*UserUpsert) SetLocation ¶
func (u *UserUpsert) SetLocation(v string) *UserUpsert
SetLocation sets the "location" field.
func (*UserUpsert) SetLogin ¶
func (u *UserUpsert) SetLogin(v string) *UserUpsert
SetLogin sets the "login" field.
func (*UserUpsert) SetName ¶
func (u *UserUpsert) SetName(v string) *UserUpsert
SetName sets the "name" field.
func (*UserUpsert) SetNodeID ¶
func (u *UserUpsert) SetNodeID(v string) *UserUpsert
SetNodeID sets the "node_id" field.
func (*UserUpsert) SetOrganizationsURL ¶
func (u *UserUpsert) SetOrganizationsURL(v string) *UserUpsert
SetOrganizationsURL sets the "organizations_url" field.
func (*UserUpsert) SetPublicGists ¶
func (u *UserUpsert) SetPublicGists(v int64) *UserUpsert
SetPublicGists sets the "public_gists" field.
func (*UserUpsert) SetPublicRepos ¶
func (u *UserUpsert) SetPublicRepos(v int64) *UserUpsert
SetPublicRepos sets the "public_repos" field.
func (*UserUpsert) SetReceivedEventsURL ¶
func (u *UserUpsert) SetReceivedEventsURL(v string) *UserUpsert
SetReceivedEventsURL sets the "received_events_url" field.
func (*UserUpsert) SetReposURL ¶
func (u *UserUpsert) SetReposURL(v string) *UserUpsert
SetReposURL sets the "repos_url" field.
func (*UserUpsert) SetSiteAdmin ¶
func (u *UserUpsert) SetSiteAdmin(v bool) *UserUpsert
SetSiteAdmin sets the "site_admin" field.
func (*UserUpsert) SetStarredURL ¶
func (u *UserUpsert) SetStarredURL(v string) *UserUpsert
SetStarredURL sets the "starred_url" field.
func (*UserUpsert) SetSubscriptionsURL ¶
func (u *UserUpsert) SetSubscriptionsURL(v string) *UserUpsert
SetSubscriptionsURL sets the "subscriptions_url" field.
func (*UserUpsert) SetType ¶
func (u *UserUpsert) SetType(v string) *UserUpsert
SetType sets the "type" field.
func (*UserUpsert) SetURL ¶
func (u *UserUpsert) SetURL(v string) *UserUpsert
SetURL sets the "url" field.
func (*UserUpsert) SetUpdatedAt ¶
func (u *UserUpsert) SetUpdatedAt(v time.Time) *UserUpsert
SetUpdatedAt sets the "updated_at" field.
func (*UserUpsert) UpdateAvatarURL ¶
func (u *UserUpsert) UpdateAvatarURL() *UserUpsert
UpdateAvatarURL sets the "avatar_url" field to the value that was provided on create.
func (*UserUpsert) UpdateBio ¶
func (u *UserUpsert) UpdateBio() *UserUpsert
UpdateBio sets the "bio" field to the value that was provided on create.
func (*UserUpsert) UpdateBlog ¶
func (u *UserUpsert) UpdateBlog() *UserUpsert
UpdateBlog sets the "blog" field to the value that was provided on create.
func (*UserUpsert) UpdateCompany ¶
func (u *UserUpsert) UpdateCompany() *UserUpsert
UpdateCompany sets the "company" field to the value that was provided on create.
func (*UserUpsert) UpdateCreatedAt ¶
func (u *UserUpsert) UpdateCreatedAt() *UserUpsert
UpdateCreatedAt sets the "created_at" field to the value that was provided on create.
func (*UserUpsert) UpdateEmail ¶
func (u *UserUpsert) UpdateEmail() *UserUpsert
UpdateEmail sets the "email" field to the value that was provided on create.
func (*UserUpsert) UpdateEventsURL ¶
func (u *UserUpsert) UpdateEventsURL() *UserUpsert
UpdateEventsURL sets the "events_url" field to the value that was provided on create.
func (*UserUpsert) UpdateFollowers ¶
func (u *UserUpsert) UpdateFollowers() *UserUpsert
UpdateFollowers sets the "followers" field to the value that was provided on create.
func (*UserUpsert) UpdateFollowersURL ¶
func (u *UserUpsert) UpdateFollowersURL() *UserUpsert
UpdateFollowersURL sets the "followers_url" field to the value that was provided on create.
func (*UserUpsert) UpdateFollowing ¶
func (u *UserUpsert) UpdateFollowing() *UserUpsert
UpdateFollowing sets the "following" field to the value that was provided on create.
func (*UserUpsert) UpdateFollowingURL ¶
func (u *UserUpsert) UpdateFollowingURL() *UserUpsert
UpdateFollowingURL sets the "following_url" field to the value that was provided on create.
func (*UserUpsert) UpdateGistsURL ¶
func (u *UserUpsert) UpdateGistsURL() *UserUpsert
UpdateGistsURL sets the "gists_url" field to the value that was provided on create.
func (*UserUpsert) UpdateGravatarID ¶
func (u *UserUpsert) UpdateGravatarID() *UserUpsert
UpdateGravatarID sets the "gravatar_id" field to the value that was provided on create.
func (*UserUpsert) UpdateHTMLURL ¶
func (u *UserUpsert) UpdateHTMLURL() *UserUpsert
UpdateHTMLURL sets the "html_url" field to the value that was provided on create.
func (*UserUpsert) UpdateHireable ¶
func (u *UserUpsert) UpdateHireable() *UserUpsert
UpdateHireable sets the "hireable" field to the value that was provided on create.
func (*UserUpsert) UpdateLocation ¶
func (u *UserUpsert) UpdateLocation() *UserUpsert
UpdateLocation sets the "location" field to the value that was provided on create.
func (*UserUpsert) UpdateLogin ¶
func (u *UserUpsert) UpdateLogin() *UserUpsert
UpdateLogin sets the "login" field to the value that was provided on create.
func (*UserUpsert) UpdateName ¶
func (u *UserUpsert) UpdateName() *UserUpsert
UpdateName sets the "name" field to the value that was provided on create.
func (*UserUpsert) UpdateNodeID ¶
func (u *UserUpsert) UpdateNodeID() *UserUpsert
UpdateNodeID sets the "node_id" field to the value that was provided on create.
func (*UserUpsert) UpdateOrganizationsURL ¶
func (u *UserUpsert) UpdateOrganizationsURL() *UserUpsert
UpdateOrganizationsURL sets the "organizations_url" field to the value that was provided on create.
func (*UserUpsert) UpdatePublicGists ¶
func (u *UserUpsert) UpdatePublicGists() *UserUpsert
UpdatePublicGists sets the "public_gists" field to the value that was provided on create.
func (*UserUpsert) UpdatePublicRepos ¶
func (u *UserUpsert) UpdatePublicRepos() *UserUpsert
UpdatePublicRepos sets the "public_repos" field to the value that was provided on create.
func (*UserUpsert) UpdateReceivedEventsURL ¶
func (u *UserUpsert) UpdateReceivedEventsURL() *UserUpsert
UpdateReceivedEventsURL sets the "received_events_url" field to the value that was provided on create.
func (*UserUpsert) UpdateReposURL ¶
func (u *UserUpsert) UpdateReposURL() *UserUpsert
UpdateReposURL sets the "repos_url" field to the value that was provided on create.
func (*UserUpsert) UpdateSiteAdmin ¶
func (u *UserUpsert) UpdateSiteAdmin() *UserUpsert
UpdateSiteAdmin sets the "site_admin" field to the value that was provided on create.
func (*UserUpsert) UpdateStarredURL ¶
func (u *UserUpsert) UpdateStarredURL() *UserUpsert
UpdateStarredURL sets the "starred_url" field to the value that was provided on create.
func (*UserUpsert) UpdateSubscriptionsURL ¶
func (u *UserUpsert) UpdateSubscriptionsURL() *UserUpsert
UpdateSubscriptionsURL sets the "subscriptions_url" field to the value that was provided on create.
func (*UserUpsert) UpdateType ¶
func (u *UserUpsert) UpdateType() *UserUpsert
UpdateType sets the "type" field to the value that was provided on create.
func (*UserUpsert) UpdateURL ¶
func (u *UserUpsert) UpdateURL() *UserUpsert
UpdateURL sets the "url" field to the value that was provided on create.
func (*UserUpsert) UpdateUpdatedAt ¶
func (u *UserUpsert) UpdateUpdatedAt() *UserUpsert
UpdateUpdatedAt sets the "updated_at" field to the value that was provided on create.
type UserUpsertBulk ¶
type UserUpsertBulk struct {
// contains filtered or unexported fields
}
UserUpsertBulk is the builder for "upsert"-ing a bulk of User nodes.
func (*UserUpsertBulk) AddFollowers ¶
func (u *UserUpsertBulk) AddFollowers(v int64) *UserUpsertBulk
AddFollowers adds v to the "followers" field.
func (*UserUpsertBulk) AddFollowing ¶
func (u *UserUpsertBulk) AddFollowing(v int64) *UserUpsertBulk
AddFollowing adds v to the "following" field.
func (*UserUpsertBulk) AddPublicGists ¶
func (u *UserUpsertBulk) AddPublicGists(v int64) *UserUpsertBulk
AddPublicGists adds v to the "public_gists" field.
func (*UserUpsertBulk) AddPublicRepos ¶
func (u *UserUpsertBulk) AddPublicRepos(v int64) *UserUpsertBulk
AddPublicRepos adds v to the "public_repos" field.
func (*UserUpsertBulk) ClearBio ¶
func (u *UserUpsertBulk) ClearBio() *UserUpsertBulk
ClearBio clears the value of the "bio" field.
func (*UserUpsertBulk) ClearBlog ¶
func (u *UserUpsertBulk) ClearBlog() *UserUpsertBulk
ClearBlog clears the value of the "blog" field.
func (*UserUpsertBulk) ClearCompany ¶
func (u *UserUpsertBulk) ClearCompany() *UserUpsertBulk
ClearCompany clears the value of the "company" field.
func (*UserUpsertBulk) ClearEmail ¶
func (u *UserUpsertBulk) ClearEmail() *UserUpsertBulk
ClearEmail clears the value of the "email" field.
func (*UserUpsertBulk) ClearGravatarID ¶
func (u *UserUpsertBulk) ClearGravatarID() *UserUpsertBulk
ClearGravatarID clears the value of the "gravatar_id" field.
func (*UserUpsertBulk) ClearHireable ¶
func (u *UserUpsertBulk) ClearHireable() *UserUpsertBulk
ClearHireable clears the value of the "hireable" field.
func (*UserUpsertBulk) ClearLocation ¶
func (u *UserUpsertBulk) ClearLocation() *UserUpsertBulk
ClearLocation clears the value of the "location" field.
func (*UserUpsertBulk) ClearName ¶
func (u *UserUpsertBulk) ClearName() *UserUpsertBulk
ClearName clears the value of the "name" field.
func (*UserUpsertBulk) DoNothing ¶
func (u *UserUpsertBulk) DoNothing() *UserUpsertBulk
DoNothing configures the conflict_action to `DO NOTHING`. Supported only by SQLite and PostgreSQL.
func (*UserUpsertBulk) Exec ¶
func (u *UserUpsertBulk) Exec(ctx context.Context) error
Exec executes the query.
func (*UserUpsertBulk) ExecX ¶
func (u *UserUpsertBulk) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*UserUpsertBulk) Ignore ¶
func (u *UserUpsertBulk) Ignore() *UserUpsertBulk
Ignore sets each column to itself in case of conflict. Using this option is equivalent to using:
client.User.Create(). OnConflict(sql.ResolveWithIgnore()). Exec(ctx)
func (*UserUpsertBulk) SetAvatarURL ¶
func (u *UserUpsertBulk) SetAvatarURL(v string) *UserUpsertBulk
SetAvatarURL sets the "avatar_url" field.
func (*UserUpsertBulk) SetBio ¶
func (u *UserUpsertBulk) SetBio(v string) *UserUpsertBulk
SetBio sets the "bio" field.
func (*UserUpsertBulk) SetBlog ¶
func (u *UserUpsertBulk) SetBlog(v string) *UserUpsertBulk
SetBlog sets the "blog" field.
func (*UserUpsertBulk) SetCompany ¶
func (u *UserUpsertBulk) SetCompany(v string) *UserUpsertBulk
SetCompany sets the "company" field.
func (*UserUpsertBulk) SetCreatedAt ¶
func (u *UserUpsertBulk) SetCreatedAt(v time.Time) *UserUpsertBulk
SetCreatedAt sets the "created_at" field.
func (*UserUpsertBulk) SetEmail ¶
func (u *UserUpsertBulk) SetEmail(v string) *UserUpsertBulk
SetEmail sets the "email" field.
func (*UserUpsertBulk) SetEventsURL ¶
func (u *UserUpsertBulk) SetEventsURL(v string) *UserUpsertBulk
SetEventsURL sets the "events_url" field.
func (*UserUpsertBulk) SetFollowers ¶
func (u *UserUpsertBulk) SetFollowers(v int64) *UserUpsertBulk
SetFollowers sets the "followers" field.
func (*UserUpsertBulk) SetFollowersURL ¶
func (u *UserUpsertBulk) SetFollowersURL(v string) *UserUpsertBulk
SetFollowersURL sets the "followers_url" field.
func (*UserUpsertBulk) SetFollowing ¶
func (u *UserUpsertBulk) SetFollowing(v int64) *UserUpsertBulk
SetFollowing sets the "following" field.
func (*UserUpsertBulk) SetFollowingURL ¶
func (u *UserUpsertBulk) SetFollowingURL(v string) *UserUpsertBulk
SetFollowingURL sets the "following_url" field.
func (*UserUpsertBulk) SetGistsURL ¶
func (u *UserUpsertBulk) SetGistsURL(v string) *UserUpsertBulk
SetGistsURL sets the "gists_url" field.
func (*UserUpsertBulk) SetGravatarID ¶
func (u *UserUpsertBulk) SetGravatarID(v string) *UserUpsertBulk
SetGravatarID sets the "gravatar_id" field.
func (*UserUpsertBulk) SetHTMLURL ¶
func (u *UserUpsertBulk) SetHTMLURL(v string) *UserUpsertBulk
SetHTMLURL sets the "html_url" field.
func (*UserUpsertBulk) SetHireable ¶
func (u *UserUpsertBulk) SetHireable(v bool) *UserUpsertBulk
SetHireable sets the "hireable" field.
func (*UserUpsertBulk) SetLocation ¶
func (u *UserUpsertBulk) SetLocation(v string) *UserUpsertBulk
SetLocation sets the "location" field.
func (*UserUpsertBulk) SetLogin ¶
func (u *UserUpsertBulk) SetLogin(v string) *UserUpsertBulk
SetLogin sets the "login" field.
func (*UserUpsertBulk) SetName ¶
func (u *UserUpsertBulk) SetName(v string) *UserUpsertBulk
SetName sets the "name" field.
func (*UserUpsertBulk) SetNodeID ¶
func (u *UserUpsertBulk) SetNodeID(v string) *UserUpsertBulk
SetNodeID sets the "node_id" field.
func (*UserUpsertBulk) SetOrganizationsURL ¶
func (u *UserUpsertBulk) SetOrganizationsURL(v string) *UserUpsertBulk
SetOrganizationsURL sets the "organizations_url" field.
func (*UserUpsertBulk) SetPublicGists ¶
func (u *UserUpsertBulk) SetPublicGists(v int64) *UserUpsertBulk
SetPublicGists sets the "public_gists" field.
func (*UserUpsertBulk) SetPublicRepos ¶
func (u *UserUpsertBulk) SetPublicRepos(v int64) *UserUpsertBulk
SetPublicRepos sets the "public_repos" field.
func (*UserUpsertBulk) SetReceivedEventsURL ¶
func (u *UserUpsertBulk) SetReceivedEventsURL(v string) *UserUpsertBulk
SetReceivedEventsURL sets the "received_events_url" field.
func (*UserUpsertBulk) SetReposURL ¶
func (u *UserUpsertBulk) SetReposURL(v string) *UserUpsertBulk
SetReposURL sets the "repos_url" field.
func (*UserUpsertBulk) SetSiteAdmin ¶
func (u *UserUpsertBulk) SetSiteAdmin(v bool) *UserUpsertBulk
SetSiteAdmin sets the "site_admin" field.
func (*UserUpsertBulk) SetStarredURL ¶
func (u *UserUpsertBulk) SetStarredURL(v string) *UserUpsertBulk
SetStarredURL sets the "starred_url" field.
func (*UserUpsertBulk) SetSubscriptionsURL ¶
func (u *UserUpsertBulk) SetSubscriptionsURL(v string) *UserUpsertBulk
SetSubscriptionsURL sets the "subscriptions_url" field.
func (*UserUpsertBulk) SetType ¶
func (u *UserUpsertBulk) SetType(v string) *UserUpsertBulk
SetType sets the "type" field.
func (*UserUpsertBulk) SetURL ¶
func (u *UserUpsertBulk) SetURL(v string) *UserUpsertBulk
SetURL sets the "url" field.
func (*UserUpsertBulk) SetUpdatedAt ¶
func (u *UserUpsertBulk) SetUpdatedAt(v time.Time) *UserUpsertBulk
SetUpdatedAt sets the "updated_at" field.
func (*UserUpsertBulk) Update ¶
func (u *UserUpsertBulk) Update(set func(*UserUpsert)) *UserUpsertBulk
Update allows overriding fields `UPDATE` values. See the UserCreateBulk.OnConflict documentation for more info.
func (*UserUpsertBulk) UpdateAvatarURL ¶
func (u *UserUpsertBulk) UpdateAvatarURL() *UserUpsertBulk
UpdateAvatarURL sets the "avatar_url" field to the value that was provided on create.
func (*UserUpsertBulk) UpdateBio ¶
func (u *UserUpsertBulk) UpdateBio() *UserUpsertBulk
UpdateBio sets the "bio" field to the value that was provided on create.
func (*UserUpsertBulk) UpdateBlog ¶
func (u *UserUpsertBulk) UpdateBlog() *UserUpsertBulk
UpdateBlog sets the "blog" field to the value that was provided on create.
func (*UserUpsertBulk) UpdateCompany ¶
func (u *UserUpsertBulk) UpdateCompany() *UserUpsertBulk
UpdateCompany sets the "company" field to the value that was provided on create.
func (*UserUpsertBulk) UpdateCreatedAt ¶
func (u *UserUpsertBulk) UpdateCreatedAt() *UserUpsertBulk
UpdateCreatedAt sets the "created_at" field to the value that was provided on create.
func (*UserUpsertBulk) UpdateEmail ¶
func (u *UserUpsertBulk) UpdateEmail() *UserUpsertBulk
UpdateEmail sets the "email" field to the value that was provided on create.
func (*UserUpsertBulk) UpdateEventsURL ¶
func (u *UserUpsertBulk) UpdateEventsURL() *UserUpsertBulk
UpdateEventsURL sets the "events_url" field to the value that was provided on create.
func (*UserUpsertBulk) UpdateFollowers ¶
func (u *UserUpsertBulk) UpdateFollowers() *UserUpsertBulk
UpdateFollowers sets the "followers" field to the value that was provided on create.
func (*UserUpsertBulk) UpdateFollowersURL ¶
func (u *UserUpsertBulk) UpdateFollowersURL() *UserUpsertBulk
UpdateFollowersURL sets the "followers_url" field to the value that was provided on create.
func (*UserUpsertBulk) UpdateFollowing ¶
func (u *UserUpsertBulk) UpdateFollowing() *UserUpsertBulk
UpdateFollowing sets the "following" field to the value that was provided on create.
func (*UserUpsertBulk) UpdateFollowingURL ¶
func (u *UserUpsertBulk) UpdateFollowingURL() *UserUpsertBulk
UpdateFollowingURL sets the "following_url" field to the value that was provided on create.
func (*UserUpsertBulk) UpdateGistsURL ¶
func (u *UserUpsertBulk) UpdateGistsURL() *UserUpsertBulk
UpdateGistsURL sets the "gists_url" field to the value that was provided on create.
func (*UserUpsertBulk) UpdateGravatarID ¶
func (u *UserUpsertBulk) UpdateGravatarID() *UserUpsertBulk
UpdateGravatarID sets the "gravatar_id" field to the value that was provided on create.
func (*UserUpsertBulk) UpdateHTMLURL ¶
func (u *UserUpsertBulk) UpdateHTMLURL() *UserUpsertBulk
UpdateHTMLURL sets the "html_url" field to the value that was provided on create.
func (*UserUpsertBulk) UpdateHireable ¶
func (u *UserUpsertBulk) UpdateHireable() *UserUpsertBulk
UpdateHireable sets the "hireable" field to the value that was provided on create.
func (*UserUpsertBulk) UpdateLocation ¶
func (u *UserUpsertBulk) UpdateLocation() *UserUpsertBulk
UpdateLocation sets the "location" field to the value that was provided on create.
func (*UserUpsertBulk) UpdateLogin ¶
func (u *UserUpsertBulk) UpdateLogin() *UserUpsertBulk
UpdateLogin sets the "login" field to the value that was provided on create.
func (*UserUpsertBulk) UpdateName ¶
func (u *UserUpsertBulk) UpdateName() *UserUpsertBulk
UpdateName sets the "name" field to the value that was provided on create.
func (*UserUpsertBulk) UpdateNewValues ¶
func (u *UserUpsertBulk) UpdateNewValues() *UserUpsertBulk
UpdateNewValues updates the mutable fields using the new values that were set on create. Using this option is equivalent to using:
client.User.Create(). OnConflict( sql.ResolveWithNewValues(), sql.ResolveWith(func(u *sql.UpdateSet) { u.SetIgnore(user.FieldID) }), ). Exec(ctx)
func (*UserUpsertBulk) UpdateNodeID ¶
func (u *UserUpsertBulk) UpdateNodeID() *UserUpsertBulk
UpdateNodeID sets the "node_id" field to the value that was provided on create.
func (*UserUpsertBulk) UpdateOrganizationsURL ¶
func (u *UserUpsertBulk) UpdateOrganizationsURL() *UserUpsertBulk
UpdateOrganizationsURL sets the "organizations_url" field to the value that was provided on create.
func (*UserUpsertBulk) UpdatePublicGists ¶
func (u *UserUpsertBulk) UpdatePublicGists() *UserUpsertBulk
UpdatePublicGists sets the "public_gists" field to the value that was provided on create.
func (*UserUpsertBulk) UpdatePublicRepos ¶
func (u *UserUpsertBulk) UpdatePublicRepos() *UserUpsertBulk
UpdatePublicRepos sets the "public_repos" field to the value that was provided on create.
func (*UserUpsertBulk) UpdateReceivedEventsURL ¶
func (u *UserUpsertBulk) UpdateReceivedEventsURL() *UserUpsertBulk
UpdateReceivedEventsURL sets the "received_events_url" field to the value that was provided on create.
func (*UserUpsertBulk) UpdateReposURL ¶
func (u *UserUpsertBulk) UpdateReposURL() *UserUpsertBulk
UpdateReposURL sets the "repos_url" field to the value that was provided on create.
func (*UserUpsertBulk) UpdateSiteAdmin ¶
func (u *UserUpsertBulk) UpdateSiteAdmin() *UserUpsertBulk
UpdateSiteAdmin sets the "site_admin" field to the value that was provided on create.
func (*UserUpsertBulk) UpdateStarredURL ¶
func (u *UserUpsertBulk) UpdateStarredURL() *UserUpsertBulk
UpdateStarredURL sets the "starred_url" field to the value that was provided on create.
func (*UserUpsertBulk) UpdateSubscriptionsURL ¶
func (u *UserUpsertBulk) UpdateSubscriptionsURL() *UserUpsertBulk
UpdateSubscriptionsURL sets the "subscriptions_url" field to the value that was provided on create.
func (*UserUpsertBulk) UpdateType ¶
func (u *UserUpsertBulk) UpdateType() *UserUpsertBulk
UpdateType sets the "type" field to the value that was provided on create.
func (*UserUpsertBulk) UpdateURL ¶
func (u *UserUpsertBulk) UpdateURL() *UserUpsertBulk
UpdateURL sets the "url" field to the value that was provided on create.
func (*UserUpsertBulk) UpdateUpdatedAt ¶
func (u *UserUpsertBulk) UpdateUpdatedAt() *UserUpsertBulk
UpdateUpdatedAt sets the "updated_at" field to the value that was provided on create.
type UserUpsertOne ¶
type UserUpsertOne struct {
// contains filtered or unexported fields
}
UserUpsertOne is the builder for "upsert"-ing
one User node.
func (*UserUpsertOne) AddFollowers ¶
func (u *UserUpsertOne) AddFollowers(v int64) *UserUpsertOne
AddFollowers adds v to the "followers" field.
func (*UserUpsertOne) AddFollowing ¶
func (u *UserUpsertOne) AddFollowing(v int64) *UserUpsertOne
AddFollowing adds v to the "following" field.
func (*UserUpsertOne) AddPublicGists ¶
func (u *UserUpsertOne) AddPublicGists(v int64) *UserUpsertOne
AddPublicGists adds v to the "public_gists" field.
func (*UserUpsertOne) AddPublicRepos ¶
func (u *UserUpsertOne) AddPublicRepos(v int64) *UserUpsertOne
AddPublicRepos adds v to the "public_repos" field.
func (*UserUpsertOne) ClearBio ¶
func (u *UserUpsertOne) ClearBio() *UserUpsertOne
ClearBio clears the value of the "bio" field.
func (*UserUpsertOne) ClearBlog ¶
func (u *UserUpsertOne) ClearBlog() *UserUpsertOne
ClearBlog clears the value of the "blog" field.
func (*UserUpsertOne) ClearCompany ¶
func (u *UserUpsertOne) ClearCompany() *UserUpsertOne
ClearCompany clears the value of the "company" field.
func (*UserUpsertOne) ClearEmail ¶
func (u *UserUpsertOne) ClearEmail() *UserUpsertOne
ClearEmail clears the value of the "email" field.
func (*UserUpsertOne) ClearGravatarID ¶
func (u *UserUpsertOne) ClearGravatarID() *UserUpsertOne
ClearGravatarID clears the value of the "gravatar_id" field.
func (*UserUpsertOne) ClearHireable ¶
func (u *UserUpsertOne) ClearHireable() *UserUpsertOne
ClearHireable clears the value of the "hireable" field.
func (*UserUpsertOne) ClearLocation ¶
func (u *UserUpsertOne) ClearLocation() *UserUpsertOne
ClearLocation clears the value of the "location" field.
func (*UserUpsertOne) ClearName ¶
func (u *UserUpsertOne) ClearName() *UserUpsertOne
ClearName clears the value of the "name" field.
func (*UserUpsertOne) DoNothing ¶
func (u *UserUpsertOne) DoNothing() *UserUpsertOne
DoNothing configures the conflict_action to `DO NOTHING`. Supported only by SQLite and PostgreSQL.
func (*UserUpsertOne) Exec ¶
func (u *UserUpsertOne) Exec(ctx context.Context) error
Exec executes the query.
func (*UserUpsertOne) ExecX ¶
func (u *UserUpsertOne) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*UserUpsertOne) ID ¶
func (u *UserUpsertOne) ID(ctx context.Context) (id int64, err error)
Exec executes the UPSERT query and returns the inserted/updated ID.
func (*UserUpsertOne) IDX ¶
func (u *UserUpsertOne) IDX(ctx context.Context) int64
IDX is like ID, but panics if an error occurs.
func (*UserUpsertOne) Ignore ¶
func (u *UserUpsertOne) Ignore() *UserUpsertOne
Ignore sets each column to itself in case of conflict. Using this option is equivalent to using:
client.User.Create(). OnConflict(sql.ResolveWithIgnore()). Exec(ctx)
func (*UserUpsertOne) SetAvatarURL ¶
func (u *UserUpsertOne) SetAvatarURL(v string) *UserUpsertOne
SetAvatarURL sets the "avatar_url" field.
func (*UserUpsertOne) SetBio ¶
func (u *UserUpsertOne) SetBio(v string) *UserUpsertOne
SetBio sets the "bio" field.
func (*UserUpsertOne) SetBlog ¶
func (u *UserUpsertOne) SetBlog(v string) *UserUpsertOne
SetBlog sets the "blog" field.
func (*UserUpsertOne) SetCompany ¶
func (u *UserUpsertOne) SetCompany(v string) *UserUpsertOne
SetCompany sets the "company" field.
func (*UserUpsertOne) SetCreatedAt ¶
func (u *UserUpsertOne) SetCreatedAt(v time.Time) *UserUpsertOne
SetCreatedAt sets the "created_at" field.
func (*UserUpsertOne) SetEmail ¶
func (u *UserUpsertOne) SetEmail(v string) *UserUpsertOne
SetEmail sets the "email" field.
func (*UserUpsertOne) SetEventsURL ¶
func (u *UserUpsertOne) SetEventsURL(v string) *UserUpsertOne
SetEventsURL sets the "events_url" field.
func (*UserUpsertOne) SetFollowers ¶
func (u *UserUpsertOne) SetFollowers(v int64) *UserUpsertOne
SetFollowers sets the "followers" field.
func (*UserUpsertOne) SetFollowersURL ¶
func (u *UserUpsertOne) SetFollowersURL(v string) *UserUpsertOne
SetFollowersURL sets the "followers_url" field.
func (*UserUpsertOne) SetFollowing ¶
func (u *UserUpsertOne) SetFollowing(v int64) *UserUpsertOne
SetFollowing sets the "following" field.
func (*UserUpsertOne) SetFollowingURL ¶
func (u *UserUpsertOne) SetFollowingURL(v string) *UserUpsertOne
SetFollowingURL sets the "following_url" field.
func (*UserUpsertOne) SetGistsURL ¶
func (u *UserUpsertOne) SetGistsURL(v string) *UserUpsertOne
SetGistsURL sets the "gists_url" field.
func (*UserUpsertOne) SetGravatarID ¶
func (u *UserUpsertOne) SetGravatarID(v string) *UserUpsertOne
SetGravatarID sets the "gravatar_id" field.
func (*UserUpsertOne) SetHTMLURL ¶
func (u *UserUpsertOne) SetHTMLURL(v string) *UserUpsertOne
SetHTMLURL sets the "html_url" field.
func (*UserUpsertOne) SetHireable ¶
func (u *UserUpsertOne) SetHireable(v bool) *UserUpsertOne
SetHireable sets the "hireable" field.
func (*UserUpsertOne) SetLocation ¶
func (u *UserUpsertOne) SetLocation(v string) *UserUpsertOne
SetLocation sets the "location" field.
func (*UserUpsertOne) SetLogin ¶
func (u *UserUpsertOne) SetLogin(v string) *UserUpsertOne
SetLogin sets the "login" field.
func (*UserUpsertOne) SetName ¶
func (u *UserUpsertOne) SetName(v string) *UserUpsertOne
SetName sets the "name" field.
func (*UserUpsertOne) SetNodeID ¶
func (u *UserUpsertOne) SetNodeID(v string) *UserUpsertOne
SetNodeID sets the "node_id" field.
func (*UserUpsertOne) SetOrganizationsURL ¶
func (u *UserUpsertOne) SetOrganizationsURL(v string) *UserUpsertOne
SetOrganizationsURL sets the "organizations_url" field.
func (*UserUpsertOne) SetPublicGists ¶
func (u *UserUpsertOne) SetPublicGists(v int64) *UserUpsertOne
SetPublicGists sets the "public_gists" field.
func (*UserUpsertOne) SetPublicRepos ¶
func (u *UserUpsertOne) SetPublicRepos(v int64) *UserUpsertOne
SetPublicRepos sets the "public_repos" field.
func (*UserUpsertOne) SetReceivedEventsURL ¶
func (u *UserUpsertOne) SetReceivedEventsURL(v string) *UserUpsertOne
SetReceivedEventsURL sets the "received_events_url" field.
func (*UserUpsertOne) SetReposURL ¶
func (u *UserUpsertOne) SetReposURL(v string) *UserUpsertOne
SetReposURL sets the "repos_url" field.
func (*UserUpsertOne) SetSiteAdmin ¶
func (u *UserUpsertOne) SetSiteAdmin(v bool) *UserUpsertOne
SetSiteAdmin sets the "site_admin" field.
func (*UserUpsertOne) SetStarredURL ¶
func (u *UserUpsertOne) SetStarredURL(v string) *UserUpsertOne
SetStarredURL sets the "starred_url" field.
func (*UserUpsertOne) SetSubscriptionsURL ¶
func (u *UserUpsertOne) SetSubscriptionsURL(v string) *UserUpsertOne
SetSubscriptionsURL sets the "subscriptions_url" field.
func (*UserUpsertOne) SetType ¶
func (u *UserUpsertOne) SetType(v string) *UserUpsertOne
SetType sets the "type" field.
func (*UserUpsertOne) SetURL ¶
func (u *UserUpsertOne) SetURL(v string) *UserUpsertOne
SetURL sets the "url" field.
func (*UserUpsertOne) SetUpdatedAt ¶
func (u *UserUpsertOne) SetUpdatedAt(v time.Time) *UserUpsertOne
SetUpdatedAt sets the "updated_at" field.
func (*UserUpsertOne) Update ¶
func (u *UserUpsertOne) Update(set func(*UserUpsert)) *UserUpsertOne
Update allows overriding fields `UPDATE` values. See the UserCreate.OnConflict documentation for more info.
func (*UserUpsertOne) UpdateAvatarURL ¶
func (u *UserUpsertOne) UpdateAvatarURL() *UserUpsertOne
UpdateAvatarURL sets the "avatar_url" field to the value that was provided on create.
func (*UserUpsertOne) UpdateBio ¶
func (u *UserUpsertOne) UpdateBio() *UserUpsertOne
UpdateBio sets the "bio" field to the value that was provided on create.
func (*UserUpsertOne) UpdateBlog ¶
func (u *UserUpsertOne) UpdateBlog() *UserUpsertOne
UpdateBlog sets the "blog" field to the value that was provided on create.
func (*UserUpsertOne) UpdateCompany ¶
func (u *UserUpsertOne) UpdateCompany() *UserUpsertOne
UpdateCompany sets the "company" field to the value that was provided on create.
func (*UserUpsertOne) UpdateCreatedAt ¶
func (u *UserUpsertOne) UpdateCreatedAt() *UserUpsertOne
UpdateCreatedAt sets the "created_at" field to the value that was provided on create.
func (*UserUpsertOne) UpdateEmail ¶
func (u *UserUpsertOne) UpdateEmail() *UserUpsertOne
UpdateEmail sets the "email" field to the value that was provided on create.
func (*UserUpsertOne) UpdateEventsURL ¶
func (u *UserUpsertOne) UpdateEventsURL() *UserUpsertOne
UpdateEventsURL sets the "events_url" field to the value that was provided on create.
func (*UserUpsertOne) UpdateFollowers ¶
func (u *UserUpsertOne) UpdateFollowers() *UserUpsertOne
UpdateFollowers sets the "followers" field to the value that was provided on create.
func (*UserUpsertOne) UpdateFollowersURL ¶
func (u *UserUpsertOne) UpdateFollowersURL() *UserUpsertOne
UpdateFollowersURL sets the "followers_url" field to the value that was provided on create.
func (*UserUpsertOne) UpdateFollowing ¶
func (u *UserUpsertOne) UpdateFollowing() *UserUpsertOne
UpdateFollowing sets the "following" field to the value that was provided on create.
func (*UserUpsertOne) UpdateFollowingURL ¶
func (u *UserUpsertOne) UpdateFollowingURL() *UserUpsertOne
UpdateFollowingURL sets the "following_url" field to the value that was provided on create.
func (*UserUpsertOne) UpdateGistsURL ¶
func (u *UserUpsertOne) UpdateGistsURL() *UserUpsertOne
UpdateGistsURL sets the "gists_url" field to the value that was provided on create.
func (*UserUpsertOne) UpdateGravatarID ¶
func (u *UserUpsertOne) UpdateGravatarID() *UserUpsertOne
UpdateGravatarID sets the "gravatar_id" field to the value that was provided on create.
func (*UserUpsertOne) UpdateHTMLURL ¶
func (u *UserUpsertOne) UpdateHTMLURL() *UserUpsertOne
UpdateHTMLURL sets the "html_url" field to the value that was provided on create.
func (*UserUpsertOne) UpdateHireable ¶
func (u *UserUpsertOne) UpdateHireable() *UserUpsertOne
UpdateHireable sets the "hireable" field to the value that was provided on create.
func (*UserUpsertOne) UpdateLocation ¶
func (u *UserUpsertOne) UpdateLocation() *UserUpsertOne
UpdateLocation sets the "location" field to the value that was provided on create.
func (*UserUpsertOne) UpdateLogin ¶
func (u *UserUpsertOne) UpdateLogin() *UserUpsertOne
UpdateLogin sets the "login" field to the value that was provided on create.
func (*UserUpsertOne) UpdateName ¶
func (u *UserUpsertOne) UpdateName() *UserUpsertOne
UpdateName sets the "name" field to the value that was provided on create.
func (*UserUpsertOne) UpdateNewValues ¶
func (u *UserUpsertOne) UpdateNewValues() *UserUpsertOne
UpdateNewValues updates the mutable fields using the new values that were set on create except the ID field. Using this option is equivalent to using:
client.User.Create(). OnConflict( sql.ResolveWithNewValues(), sql.ResolveWith(func(u *sql.UpdateSet) { u.SetIgnore(user.FieldID) }), ). Exec(ctx)
func (*UserUpsertOne) UpdateNodeID ¶
func (u *UserUpsertOne) UpdateNodeID() *UserUpsertOne
UpdateNodeID sets the "node_id" field to the value that was provided on create.
func (*UserUpsertOne) UpdateOrganizationsURL ¶
func (u *UserUpsertOne) UpdateOrganizationsURL() *UserUpsertOne
UpdateOrganizationsURL sets the "organizations_url" field to the value that was provided on create.
func (*UserUpsertOne) UpdatePublicGists ¶
func (u *UserUpsertOne) UpdatePublicGists() *UserUpsertOne
UpdatePublicGists sets the "public_gists" field to the value that was provided on create.
func (*UserUpsertOne) UpdatePublicRepos ¶
func (u *UserUpsertOne) UpdatePublicRepos() *UserUpsertOne
UpdatePublicRepos sets the "public_repos" field to the value that was provided on create.
func (*UserUpsertOne) UpdateReceivedEventsURL ¶
func (u *UserUpsertOne) UpdateReceivedEventsURL() *UserUpsertOne
UpdateReceivedEventsURL sets the "received_events_url" field to the value that was provided on create.
func (*UserUpsertOne) UpdateReposURL ¶
func (u *UserUpsertOne) UpdateReposURL() *UserUpsertOne
UpdateReposURL sets the "repos_url" field to the value that was provided on create.
func (*UserUpsertOne) UpdateSiteAdmin ¶
func (u *UserUpsertOne) UpdateSiteAdmin() *UserUpsertOne
UpdateSiteAdmin sets the "site_admin" field to the value that was provided on create.
func (*UserUpsertOne) UpdateStarredURL ¶
func (u *UserUpsertOne) UpdateStarredURL() *UserUpsertOne
UpdateStarredURL sets the "starred_url" field to the value that was provided on create.
func (*UserUpsertOne) UpdateSubscriptionsURL ¶
func (u *UserUpsertOne) UpdateSubscriptionsURL() *UserUpsertOne
UpdateSubscriptionsURL sets the "subscriptions_url" field to the value that was provided on create.
func (*UserUpsertOne) UpdateType ¶
func (u *UserUpsertOne) UpdateType() *UserUpsertOne
UpdateType sets the "type" field to the value that was provided on create.
func (*UserUpsertOne) UpdateURL ¶
func (u *UserUpsertOne) UpdateURL() *UserUpsertOne
UpdateURL sets the "url" field to the value that was provided on create.
func (*UserUpsertOne) UpdateUpdatedAt ¶
func (u *UserUpsertOne) UpdateUpdatedAt() *UserUpsertOne
UpdateUpdatedAt sets the "updated_at" field to the value that was provided on create.
type ValidationError ¶
type ValidationError struct { Name string // Field or edge name. // contains filtered or unexported fields }
ValidationError returns when validating a field or edge fails.
func (*ValidationError) Error ¶
func (e *ValidationError) Error() string
Error implements the error interface.
func (*ValidationError) Unwrap ¶
func (e *ValidationError) Unwrap() error
Unwrap implements the errors.Wrapper interface.
Source Files ¶
- client.go
- copy.go
- ent.go
- generate.go
- issue.go
- issue_create.go
- issue_delete.go
- issue_query.go
- issue_update.go
- issuecomment.go
- issuecomment_create.go
- issuecomment_delete.go
- issuecomment_query.go
- issuecomment_update.go
- mutation.go
- repository.go
- repository_create.go
- repository_delete.go
- repository_query.go
- repository_update.go
- runtime.go
- tx.go
- user.go
- user_create.go
- user_delete.go
- user_query.go
- user_update.go