Documentation ¶
Index ¶
- Constants
- Variables
- func AllAction() []string
- func AllTopicAction() []string
- func DeletedUserExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func DeletedUsers(mods ...qm.QueryMod) deletedUserQuery
- func GithubAccountExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func GithubAccounts(mods ...qm.QueryMod) githubAccountQuery
- func GoogleAccountExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func GoogleAccounts(mods ...qm.QueryMod) googleAccountQuery
- func LinkExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func LinkTransitiveClosureExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)
- func LinkTransitiveClosures(mods ...qm.QueryMod) linkTransitiveClosureQuery
- func Links(mods ...qm.QueryMod) linkQuery
- func NewExecutableSchema(cfg Config) graphql.ExecutableSchema
- func NewQuery(mods ...qm.QueryMod) *queries.Query
- func OrganizationExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func OrganizationMemberExists(ctx context.Context, exec boil.ContextExecutor, userID string, ...) (bool, error)
- func OrganizationMembers(mods ...qm.QueryMod) organizationMemberQuery
- func Organizations(mods ...qm.QueryMod) organizationQuery
- func Repositories(mods ...qm.QueryMod) repositoryQuery
- func RepositoryExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func SchemaMigrationExists(ctx context.Context, exec boil.ContextExecutor, version int64) (bool, error)
- func SchemaMigrations(mods ...qm.QueryMod) schemaMigrationQuery
- func SessionExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func Sessions(mods ...qm.QueryMod) sessionQuery
- func TimerangeExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func Timeranges(mods ...qm.QueryMod) timerangeQuery
- func TopicExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func TopicTransitiveClosureExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)
- func TopicTransitiveClosures(mods ...qm.QueryMod) topicTransitiveClosureQuery
- func Topics(mods ...qm.QueryMod) topicQuery
- func UserExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func UserLinkExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func UserLinkReviewExists(ctx context.Context, exec boil.ContextExecutor, userID string, linkID string) (bool, error)
- func UserLinkReviews(mods ...qm.QueryMod) userLinkReviewQuery
- func UserLinkTopicExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func UserLinkTopics(mods ...qm.QueryMod) userLinkTopicQuery
- func UserLinks(mods ...qm.QueryMod) userLinkQuery
- func Users(mods ...qm.QueryMod) userQuery
- type ActivityLineItem
- type ActivityLineItemConnection
- type ActivityLineItemEdge
- type Alert
- type AlertType
- type Alertable
- type ComplexityRoot
- type Config
- type CreateGithubSessionInput
- type CreateGoogleSessionInput
- type CreateSessionPayload
- type DeleteAccountInput
- type DeleteAccountPayload
- type DeleteLinkInput
- type DeleteLinkPayload
- type DeleteSessionInput
- type DeleteSessionPayload
- type DeleteTopicInput
- type DeleteTopicPayload
- type DeleteTopicTimeRangeInput
- type DeleteTopicTimeRangePayload
- type DeletedUser
- func (o *DeletedUser) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *DeletedUser) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *DeletedUser) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *DeletedUser) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *DeletedUser) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- type DeletedUserSlice
- type DirectiveRoot
- type GithubAccount
- func (o *GithubAccount) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *GithubAccount) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *GithubAccount) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *GithubAccount) SetUser(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User) error
- func (o *GithubAccount) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *GithubAccount) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- func (o *GithubAccount) User(mods ...qm.QueryMod) userQuery
- type GithubAccountSlice
- func (o GithubAccountSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *GithubAccountSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o GithubAccountSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type GoogleAccount
- func (o *GoogleAccount) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *GoogleAccount) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *GoogleAccount) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *GoogleAccount) SetUser(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User) error
- func (o *GoogleAccount) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *GoogleAccount) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- func (o *GoogleAccount) User(mods ...qm.QueryMod) userQuery
- type GoogleAccountSlice
- func (o GoogleAccountSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *GoogleAccountSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o GoogleAccountSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type Link
- func (o *Link) AddChildLinkTransitiveClosures(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Link) AddParentTopics(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Topic) error
- func (o *Link) AddUserLinkReviews(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Link) AddUserLinks(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Link) ChildLinkTransitiveClosures(mods ...qm.QueryMod) linkTransitiveClosureQuery
- func (o *Link) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *Link) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (Link) IsNamespaceable()
- func (Link) IsResourceIdentifiable()
- func (Link) IsSearchResultItem()
- func (o *Link) Organization(mods ...qm.QueryMod) organizationQuery
- func (o *Link) ParentTopics(mods ...qm.QueryMod) topicQuery
- func (o *Link) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Link) RemoveParentTopics(ctx context.Context, exec boil.ContextExecutor, related ...*Topic) error
- func (o *Link) Repository(mods ...qm.QueryMod) repositoryQuery
- func (o *Link) SetOrganization(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Link) SetParentTopics(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Topic) error
- func (o *Link) SetRepository(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (l Link) String() string
- func (o *Link) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *Link) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- func (o *Link) UserLinkReviews(mods ...qm.QueryMod) userLinkReviewQuery
- func (o *Link) UserLinks(mods ...qm.QueryMod) userLinkQuery
- type LinkConnection
- type LinkEdge
- type LinkResolver
- type LinkReview
- type LinkSlice
- type LinkTransitiveClosure
- func (o *LinkTransitiveClosure) Child(mods ...qm.QueryMod) linkQuery
- func (o *LinkTransitiveClosure) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *LinkTransitiveClosure) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *LinkTransitiveClosure) Parent(mods ...qm.QueryMod) topicQuery
- func (o *LinkTransitiveClosure) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *LinkTransitiveClosure) SetChild(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Link) error
- func (o *LinkTransitiveClosure) SetParent(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Topic) error
- func (o *LinkTransitiveClosure) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *LinkTransitiveClosure) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- type LinkTransitiveClosureSlice
- func (o LinkTransitiveClosureSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *LinkTransitiveClosureSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o LinkTransitiveClosureSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type LinkValue
- type LocaleIdentifier
- type M
- type MutationResolver
- type Namespaceable
- type Organization
- func (o *Organization) AddLinks(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Link) error
- func (o *Organization) AddOrganizationMembers(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Organization) AddRepositories(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Organization) AddTopics(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Topic) error
- func (o *Organization) AddUserLinks(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Organization) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *Organization) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (Organization) IsResourceIdentifiable()
- func (o *Organization) Links(mods ...qm.QueryMod) linkQuery
- func (o *Organization) OrganizationMembers(mods ...qm.QueryMod) organizationMemberQuery
- func (o *Organization) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Organization) Repositories(mods ...qm.QueryMod) repositoryQuery
- func (o *Organization) Topics(mods ...qm.QueryMod) topicQuery
- func (o *Organization) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *Organization) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- func (o *Organization) UserLinks(mods ...qm.QueryMod) userLinkQuery
- type OrganizationMember
- func (o *OrganizationMember) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *OrganizationMember) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *OrganizationMember) Organization(mods ...qm.QueryMod) organizationQuery
- func (o *OrganizationMember) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *OrganizationMember) SetOrganization(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *OrganizationMember) SetUser(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User) error
- func (o *OrganizationMember) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *OrganizationMember) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- func (o *OrganizationMember) User(mods ...qm.QueryMod) userQuery
- type OrganizationMemberSlice
- func (o OrganizationMemberSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *OrganizationMemberSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o OrganizationMemberSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type OrganizationResolver
- type OrganizationSlice
- type PageInfo
- type QueryInfo
- type QueryResolver
- type ReorderSynonymsInput
- type ReorderSynonymsPayload
- type Repository
- func (o *Repository) AddLinks(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Link) error
- func (o *Repository) AddSelectedRepositoryUsers(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*User) error
- func (o *Repository) AddTopics(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Topic) error
- func (o *Repository) AddUserLinks(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Repository) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (r *Repository) DisplayColor() string
- func (o *Repository) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (r *Repository) IsPrivate() bool
- func (Repository) IsResourceIdentifiable()
- func (o *Repository) Links(mods ...qm.QueryMod) linkQuery
- func (o *Repository) Organization(mods ...qm.QueryMod) organizationQuery
- func (o *Repository) Owner(mods ...qm.QueryMod) userQuery
- func (o *Repository) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Repository) RemoveSelectedRepositoryUsers(ctx context.Context, exec boil.ContextExecutor, related ...*User) error
- func (r *Repository) RootTopic(ctx context.Context, exec boil.ContextExecutor, view *View) (*TopicValue, error)
- func (o *Repository) SelectedRepositoryUsers(mods ...qm.QueryMod) userQuery
- func (o *Repository) SetOrganization(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Repository) SetOwner(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User) error
- func (o *Repository) SetSelectedRepositoryUsers(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*User) error
- func (r Repository) String() string
- func (o *Repository) Topics(mods ...qm.QueryMod) topicQuery
- func (o *Repository) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *Repository) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- func (o *Repository) UserLinks(mods ...qm.QueryMod) userLinkQuery
- type RepositoryConnection
- type RepositoryEdge
- type RepositoryResolver
- type RepositorySlice
- type ResolverRoot
- type ResourceIdentifiable
- type ReviewLinkInput
- type ReviewLinkPayload
- type SchemaMigration
- func (o *SchemaMigration) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *SchemaMigration) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *SchemaMigration) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *SchemaMigration) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *SchemaMigration) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- type SchemaMigrationSlice
- func (o SchemaMigrationSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *SchemaMigrationSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o SchemaMigrationSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type SearchResultItem
- type SearchResultItemConnection
- type SearchResultItemEdge
- type SelectRepositoryInput
- type SelectRepositoryPayload
- type Session
- func (o *Session) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (s Session) HexID() string
- func (o *Session) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *Session) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Session) SetUser(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User) error
- func (o *Session) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *Session) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- func (o *Session) User(mods ...qm.QueryMod) userQuery
- type SessionEdge
- type SessionSlice
- type Synonym
- type SynonymInput
- type SynonymList
- type SynonymResolver
- type TimeRange
- type TimeRangeEdge
- type TimeRangePrefixFormat
- type Timerange
- func (o *Timerange) AddTopics(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Topic) error
- func (o *Timerange) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *Timerange) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *Timerange) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Timerange) RemoveTopics(ctx context.Context, exec boil.ContextExecutor, related ...*Topic) error
- func (o *Timerange) SetTopics(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Topic) error
- func (o *Timerange) Topics(mods ...qm.QueryMod) topicQuery
- func (o *Timerange) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *Timerange) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- type TimerangeSlice
- type Topic
- func (o *Topic) AddChildLinks(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Link) error
- func (o *Topic) AddChildTopicTransitiveClosures(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Topic) AddChildTopics(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Topic) error
- func (o *Topic) AddParentLinkTransitiveClosures(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Topic) AddParentTopicTransitiveClosures(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Topic) AddParentTopics(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Topic) error
- func (o *Topic) AddUserLinkTopics(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Topic) ChildLinks(mods ...qm.QueryMod) linkQuery
- func (o *Topic) ChildTopicTransitiveClosures(mods ...qm.QueryMod) topicTransitiveClosureQuery
- func (o *Topic) ChildTopics(mods ...qm.QueryMod) topicQuery
- func (o *Topic) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *Topic) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (Topic) IsNamespaceable()
- func (Topic) IsResourceIdentifiable()
- func (Topic) IsSearchResultItem()
- func (o *Topic) Organization(mods ...qm.QueryMod) organizationQuery
- func (o *Topic) ParentLinkTransitiveClosures(mods ...qm.QueryMod) linkTransitiveClosureQuery
- func (o *Topic) ParentTopicTransitiveClosures(mods ...qm.QueryMod) topicTransitiveClosureQuery
- func (o *Topic) ParentTopics(mods ...qm.QueryMod) topicQuery
- func (o *Topic) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Topic) RemoveChildLinks(ctx context.Context, exec boil.ContextExecutor, related ...*Link) error
- func (o *Topic) RemoveChildTopics(ctx context.Context, exec boil.ContextExecutor, related ...*Topic) error
- func (o *Topic) RemoveParentTopics(ctx context.Context, exec boil.ContextExecutor, related ...*Topic) error
- func (o *Topic) RemoveTimerange(ctx context.Context, exec boil.ContextExecutor, related *Timerange) error
- func (o *Topic) Repository(mods ...qm.QueryMod) repositoryQuery
- func (o *Topic) SetChildLinks(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Link) error
- func (o *Topic) SetChildTopics(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Topic) error
- func (o *Topic) SetOrganization(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Topic) SetParentTopics(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Topic) error
- func (o *Topic) SetRepository(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Topic) SetTimerange(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (t Topic) String() string
- func (t Topic) SynonymList() (*SynonymList, error)
- func (o *Topic) Timerange(mods ...qm.QueryMod) timerangeQuery
- func (o *Topic) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *Topic) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- func (o *Topic) UserLinkTopics(mods ...qm.QueryMod) userLinkTopicQuery
- type TopicConnection
- type TopicEdge
- type TopicResolver
- type TopicSlice
- type TopicTransitiveClosure
- func (o *TopicTransitiveClosure) Child(mods ...qm.QueryMod) topicQuery
- func (o *TopicTransitiveClosure) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *TopicTransitiveClosure) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *TopicTransitiveClosure) Parent(mods ...qm.QueryMod) topicQuery
- func (o *TopicTransitiveClosure) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *TopicTransitiveClosure) SetChild(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Topic) error
- func (o *TopicTransitiveClosure) SetParent(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Topic) error
- func (o *TopicTransitiveClosure) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *TopicTransitiveClosure) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- type TopicTransitiveClosureSlice
- func (o TopicTransitiveClosureSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *TopicTransitiveClosureSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o TopicTransitiveClosureSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type TopicValue
- type UpdateLinkTopicsInput
- type UpdateLinkTopicsPayload
- type UpdateSynonymsInput
- type UpdateSynonymsPayload
- type UpdateTopicInput
- type UpdateTopicParentTopicsInput
- type UpdateTopicParentTopicsPayload
- type UpdateTopicPayload
- type UpsertLinkInput
- type UpsertLinkPayload
- type UpsertTopicInput
- type UpsertTopicPayload
- type UpsertTopicTimeRangeInput
- type UpsertTopicTimeRangePayload
- type User
- func (o *User) AddGithubAccounts(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *User) AddGoogleAccounts(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *User) AddOrganizationMembers(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *User) AddOwnerRepositories(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *User) AddSessions(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *User) AddUserLinkReviews(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *User) AddUserLinks(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (u *User) DefaultRepo(ctx context.Context, exec boil.ContextExecutor) (*Repository, error)
- func (u User) DefaultView() *View
- func (o *User) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (u User) DisplayName() string
- func (o *User) GithubAccounts(mods ...qm.QueryMod) githubAccountQuery
- func (o *User) GoogleAccounts(mods ...qm.QueryMod) googleAccountQuery
- func (o *User) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (u User) IsGuest() bool
- func (o *User) OrganizationMembers(mods ...qm.QueryMod) organizationMemberQuery
- func (o *User) OwnerRepositories(mods ...qm.QueryMod) repositoryQuery
- func (o *User) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *User) RemoveSelectedRepository(ctx context.Context, exec boil.ContextExecutor, related *Repository) error
- func (o *User) SelectedRepository(mods ...qm.QueryMod) repositoryQuery
- func (o *User) Sessions(mods ...qm.QueryMod) sessionQuery
- func (o *User) SetSelectedRepository(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (u User) String() string
- func (o *User) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *User) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- func (o *User) UserLinkReviews(mods ...qm.QueryMod) userLinkReviewQuery
- func (o *User) UserLinks(mods ...qm.QueryMod) userLinkQuery
- type UserEdge
- type UserLink
- func (o *UserLink) AddUserLinkTopics(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *UserLink) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *UserLink) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *UserLink) Link(mods ...qm.QueryMod) linkQuery
- func (o *UserLink) Organization(mods ...qm.QueryMod) organizationQuery
- func (o *UserLink) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *UserLink) Repository(mods ...qm.QueryMod) repositoryQuery
- func (o *UserLink) SetLink(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Link) error
- func (o *UserLink) SetOrganization(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *UserLink) SetRepository(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *UserLink) SetUser(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User) error
- func (o *UserLink) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *UserLink) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- func (o *UserLink) User(mods ...qm.QueryMod) userQuery
- func (o *UserLink) UserLinkTopics(mods ...qm.QueryMod) userLinkTopicQuery
- type UserLinkReview
- func (o *UserLinkReview) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *UserLinkReview) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *UserLinkReview) Link(mods ...qm.QueryMod) linkQuery
- func (o *UserLinkReview) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *UserLinkReview) SetLink(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Link) error
- func (o *UserLinkReview) SetUser(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User) error
- func (o *UserLinkReview) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *UserLinkReview) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- func (o *UserLinkReview) User(mods ...qm.QueryMod) userQuery
- type UserLinkReviewSlice
- func (o UserLinkReviewSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *UserLinkReviewSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o UserLinkReviewSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type UserLinkSlice
- type UserLinkTopic
- func (o *UserLinkTopic) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *UserLinkTopic) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *UserLinkTopic) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *UserLinkTopic) SetTopic(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Topic) error
- func (o *UserLinkTopic) SetUserLink(ctx context.Context, exec boil.ContextExecutor, insert bool, related *UserLink) error
- func (o *UserLinkTopic) Topic(mods ...qm.QueryMod) topicQuery
- func (o *UserLinkTopic) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *UserLinkTopic) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- func (o *UserLinkTopic) UserLink(mods ...qm.QueryMod) userLinkQuery
- type UserLinkTopicSlice
- func (o UserLinkTopicSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *UserLinkTopicSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o UserLinkTopicSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type UserResolver
- type UserSlice
- type View
- type ViewResolver
Constants ¶
const ( TopicActionTopicAdded string = "topic_added" TopicActionTopicRemoved string = "topic_removed" )
Enum values for TopicAction
const ( ActionUpsertLink string = "upsert_link" ActionDeleteLink string = "delete_link" )
Enum values for Action
const GuestUserID = "89677bdc-0f82-439e-bd67-406b06e10a5a"
GuestUserID is the UUID to be used for the guest viewer. A genuine UUID is convenient, so that it can be included in some queries that require a UUID.
Variables ¶
var AllAlertType = []AlertType{ AlertTypeSuccess, AlertTypeWarn, AlertTypeError, }
var AllLocaleIdentifier = []LocaleIdentifier{ LocaleIdentifierAr, LocaleIdentifierDe, LocaleIdentifierEl, LocaleIdentifierEn, LocaleIdentifierEs, LocaleIdentifierFa, LocaleIdentifierFi, LocaleIdentifierFr, LocaleIdentifierHi, LocaleIdentifierIt, LocaleIdentifierJa, LocaleIdentifierJi, LocaleIdentifierKo, LocaleIdentifierLa, LocaleIdentifierNl, LocaleIdentifierNo, LocaleIdentifierPt, LocaleIdentifierRu, LocaleIdentifierSv, LocaleIdentifierTr, LocaleIdentifierUk, LocaleIdentifierZh, }
var AllTimeRangePrefixFormat = []TimeRangePrefixFormat{ TimeRangePrefixFormatNone, TimeRangePrefixFormatStartYear, TimeRangePrefixFormatStartYearMonth, }
var DeletedUserColumns = struct { ID string UserID string DeletedAt string }{ ID: "id", UserID: "user_id", DeletedAt: "deleted_at", }
var DeletedUserRels = struct {
}{}
DeletedUserRels is where relationship names are stored.
var DeletedUserTableColumns = struct { ID string UserID string DeletedAt string }{ ID: "deleted_users.id", UserID: "deleted_users.user_id", DeletedAt: "deleted_users.deleted_at", }
var DeletedUserWhere = struct { ID whereHelperstring UserID whereHelperstring DeletedAt whereHelpernull_Time }{ ID: whereHelperstring{/* contains filtered or unexported fields */}, UserID: whereHelperstring{/* contains filtered or unexported fields */}, DeletedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, }
var ErrSyncFail = errors.New("models: failed to synchronize data after insert")
ErrSyncFail occurs during insert when the record could not be retrieved in order to populate default value information. This usually happens when LastInsertId fails or there was a primary key configuration that was not resolvable.
var GithubAccountColumns = struct { ID string UserID string Username string Name string PrimaryEmail string AvatarURL string }{ ID: "id", UserID: "user_id", Username: "username", Name: "name", PrimaryEmail: "primary_email", AvatarURL: "avatar_url", }
var GithubAccountRels = struct { User string }{ User: "User", }
GithubAccountRels is where relationship names are stored.
var GithubAccountTableColumns = struct { ID string UserID string Username string Name string PrimaryEmail string AvatarURL string }{ ID: "github_accounts.id", UserID: "github_accounts.user_id", Username: "github_accounts.username", Name: "github_accounts.name", PrimaryEmail: "github_accounts.primary_email", AvatarURL: "github_accounts.avatar_url", }
var GithubAccountWhere = struct { ID whereHelperstring UserID whereHelperstring Username whereHelperstring Name whereHelperstring PrimaryEmail whereHelperstring AvatarURL whereHelperstring }{ ID: whereHelperstring{/* contains filtered or unexported fields */}, UserID: whereHelperstring{/* contains filtered or unexported fields */}, Username: whereHelperstring{/* contains filtered or unexported fields */}, Name: whereHelperstring{/* contains filtered or unexported fields */}, PrimaryEmail: whereHelperstring{/* contains filtered or unexported fields */}, AvatarURL: whereHelperstring{/* contains filtered or unexported fields */}, }
var GoogleAccountColumns = struct { ID string UserID string ProfileID string Name string PrimaryEmail string AvatarURL string }{ ID: "id", UserID: "user_id", ProfileID: "profile_id", Name: "name", PrimaryEmail: "primary_email", AvatarURL: "avatar_url", }
var GoogleAccountRels = struct { User string }{ User: "User", }
GoogleAccountRels is where relationship names are stored.
var GoogleAccountTableColumns = struct { ID string UserID string ProfileID string Name string PrimaryEmail string AvatarURL string }{ ID: "google_accounts.id", UserID: "google_accounts.user_id", ProfileID: "google_accounts.profile_id", Name: "google_accounts.name", PrimaryEmail: "google_accounts.primary_email", AvatarURL: "google_accounts.avatar_url", }
var GoogleAccountWhere = struct { ID whereHelperstring UserID whereHelperstring ProfileID whereHelperstring Name whereHelperstring PrimaryEmail whereHelperstring AvatarURL whereHelperstring }{ ID: whereHelperstring{/* contains filtered or unexported fields */}, UserID: whereHelperstring{/* contains filtered or unexported fields */}, ProfileID: whereHelperstring{/* contains filtered or unexported fields */}, Name: whereHelperstring{/* contains filtered or unexported fields */}, PrimaryEmail: whereHelperstring{/* contains filtered or unexported fields */}, AvatarURL: whereHelperstring{/* contains filtered or unexported fields */}, }
var LinkColumns = struct { OrganizationID string ID string URL string Title string Sha1 string CreatedAt string UpdatedAt string RepositoryID string }{ OrganizationID: "organization_id", ID: "id", URL: "url", Title: "title", Sha1: "sha1", CreatedAt: "created_at", UpdatedAt: "updated_at", RepositoryID: "repository_id", }
var LinkRels = struct { Organization string Repository string ParentTopics string ChildLinkTransitiveClosures string UserLinkReviews string UserLinks string }{ Organization: "Organization", Repository: "Repository", ParentTopics: "ParentTopics", ChildLinkTransitiveClosures: "ChildLinkTransitiveClosures", UserLinkReviews: "UserLinkReviews", UserLinks: "UserLinks", }
LinkRels is where relationship names are stored.
var LinkTableColumns = struct { OrganizationID string ID string URL string Title string Sha1 string CreatedAt string UpdatedAt string RepositoryID string }{ OrganizationID: "links.organization_id", ID: "links.id", URL: "links.url", Title: "links.title", Sha1: "links.sha1", CreatedAt: "links.created_at", UpdatedAt: "links.updated_at", RepositoryID: "links.repository_id", }
var LinkTransitiveClosureColumns = struct { ID string ParentID string ChildID string }{ ID: "id", ParentID: "parent_id", ChildID: "child_id", }
var LinkTransitiveClosureRels = struct { Child string Parent string }{ Child: "Child", Parent: "Parent", }
LinkTransitiveClosureRels is where relationship names are stored.
var LinkTransitiveClosureTableColumns = struct { ID string ParentID string ChildID string }{ ID: "link_transitive_closure.id", ParentID: "link_transitive_closure.parent_id", ChildID: "link_transitive_closure.child_id", }
var LinkTransitiveClosureWhere = struct { ID whereHelperint ParentID whereHelperstring ChildID whereHelperstring }{ ID: whereHelperint{/* contains filtered or unexported fields */}, ParentID: whereHelperstring{/* contains filtered or unexported fields */}, ChildID: whereHelperstring{/* contains filtered or unexported fields */}, }
var LinkWhere = struct { OrganizationID whereHelperstring ID whereHelperstring URL whereHelperstring Title whereHelperstring Sha1 whereHelperstring CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time RepositoryID whereHelperstring }{ OrganizationID: whereHelperstring{/* contains filtered or unexported fields */}, ID: whereHelperstring{/* contains filtered or unexported fields */}, URL: whereHelperstring{/* contains filtered or unexported fields */}, Title: whereHelperstring{/* contains filtered or unexported fields */}, Sha1: whereHelperstring{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, RepositoryID: whereHelperstring{/* contains filtered or unexported fields */}, }
var OrganizationColumns = struct { ID string Name string CreatedAt string UpdatedAt string Login string Description string Public string System string }{ ID: "id", Name: "name", CreatedAt: "created_at", UpdatedAt: "updated_at", Login: "login", Description: "description", Public: "public", System: "system", }
var OrganizationMemberColumns = struct { OrganizationID string UserID string Owner string }{ OrganizationID: "organization_id", UserID: "user_id", Owner: "owner", }
var OrganizationMemberRels = struct { Organization string User string }{ Organization: "Organization", User: "User", }
OrganizationMemberRels is where relationship names are stored.
var OrganizationMemberTableColumns = struct { OrganizationID string UserID string Owner string }{ OrganizationID: "organization_members.organization_id", UserID: "organization_members.user_id", Owner: "organization_members.owner", }
var OrganizationMemberWhere = struct { OrganizationID whereHelperstring UserID whereHelperstring Owner whereHelperbool }{ OrganizationID: whereHelperstring{/* contains filtered or unexported fields */}, UserID: whereHelperstring{/* contains filtered or unexported fields */}, Owner: whereHelperbool{/* contains filtered or unexported fields */}, }
var OrganizationRels = struct { Links string OrganizationMembers string Repositories string Topics string UserLinks string }{ Links: "Links", OrganizationMembers: "OrganizationMembers", Repositories: "Repositories", Topics: "Topics", UserLinks: "UserLinks", }
OrganizationRels is where relationship names are stored.
var OrganizationTableColumns = struct { ID string Name string CreatedAt string UpdatedAt string Login string Description string Public string System string }{ ID: "organizations.id", Name: "organizations.name", CreatedAt: "organizations.created_at", UpdatedAt: "organizations.updated_at", Login: "organizations.login", Description: "organizations.description", Public: "organizations.public", System: "organizations.system", }
var OrganizationWhere = struct { ID whereHelperstring Name whereHelperstring CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time Login whereHelperstring Description whereHelpernull_String Public whereHelperbool System whereHelperbool }{ ID: whereHelperstring{/* contains filtered or unexported fields */}, Name: whereHelperstring{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, Login: whereHelperstring{/* contains filtered or unexported fields */}, Description: whereHelpernull_String{/* contains filtered or unexported fields */}, Public: whereHelperbool{/* contains filtered or unexported fields */}, System: whereHelperbool{/* contains filtered or unexported fields */}, }
var RepositoryColumns = struct { ID string OrganizationID string Name string OwnerID string System string }{ ID: "id", OrganizationID: "organization_id", Name: "name", OwnerID: "owner_id", System: "system", }
var RepositoryRels = struct { Organization string Owner string Links string Topics string UserLinks string SelectedRepositoryUsers string }{ Organization: "Organization", Owner: "Owner", Links: "Links", Topics: "Topics", UserLinks: "UserLinks", SelectedRepositoryUsers: "SelectedRepositoryUsers", }
RepositoryRels is where relationship names are stored.
var RepositoryTableColumns = struct { ID string OrganizationID string Name string OwnerID string System string }{ ID: "repositories.id", OrganizationID: "repositories.organization_id", Name: "repositories.name", OwnerID: "repositories.owner_id", System: "repositories.system", }
var RepositoryWhere = struct { ID whereHelperstring OrganizationID whereHelperstring Name whereHelperstring OwnerID whereHelperstring System whereHelperbool }{ ID: whereHelperstring{/* contains filtered or unexported fields */}, OrganizationID: whereHelperstring{/* contains filtered or unexported fields */}, Name: whereHelperstring{/* contains filtered or unexported fields */}, OwnerID: whereHelperstring{/* contains filtered or unexported fields */}, System: whereHelperbool{/* contains filtered or unexported fields */}, }
var SchemaMigrationColumns = struct { Version string Dirty string }{ Version: "version", Dirty: "dirty", }
var SchemaMigrationRels = struct {
}{}
SchemaMigrationRels is where relationship names are stored.
var SchemaMigrationTableColumns = struct { Version string Dirty string }{ Version: "schema_migrations.version", Dirty: "schema_migrations.dirty", }
var SchemaMigrationWhere = struct { Version whereHelperint64 Dirty whereHelperbool }{ Version: whereHelperint64{/* contains filtered or unexported fields */}, Dirty: whereHelperbool{/* contains filtered or unexported fields */}, }
var SessionColumns = struct { SessionID string UserID string ID string }{ SessionID: "session_id", UserID: "user_id", ID: "id", }
var SessionRels = struct { User string }{ User: "User", }
SessionRels is where relationship names are stored.
var SessionTableColumns = struct { SessionID string UserID string ID string }{ SessionID: "sessions.session_id", UserID: "sessions.user_id", ID: "sessions.id", }
var SessionWhere = struct { SessionID whereHelper__byte UserID whereHelperstring ID whereHelperstring }{ SessionID: whereHelper__byte{/* contains filtered or unexported fields */}, UserID: whereHelperstring{/* contains filtered or unexported fields */}, ID: whereHelperstring{/* contains filtered or unexported fields */}, }
var TableNames = struct { DeletedUsers string GithubAccounts string GoogleAccounts string LinkTopics string LinkTransitiveClosure string Links string OrganizationMembers string Organizations string Repositories string SchemaMigrations string Sessions string Timeranges string TopicTopics string TopicTransitiveClosure string Topics string UserLinkReviews string UserLinkTopics string UserLinks string Users string }{ DeletedUsers: "deleted_users", GithubAccounts: "github_accounts", GoogleAccounts: "google_accounts", LinkTopics: "link_topics", LinkTransitiveClosure: "link_transitive_closure", Links: "links", OrganizationMembers: "organization_members", Organizations: "organizations", Repositories: "repositories", SchemaMigrations: "schema_migrations", Sessions: "sessions", Timeranges: "timeranges", TopicTopics: "topic_topics", TopicTransitiveClosure: "topic_transitive_closure", Topics: "topics", UserLinkReviews: "user_link_reviews", UserLinkTopics: "user_link_topics", UserLinks: "user_links", Users: "users", }
var TimerangeColumns = struct { ID string StartsAt string FinishesAt string PrefixFormat string }{ ID: "id", StartsAt: "starts_at", FinishesAt: "finishes_at", PrefixFormat: "prefix_format", }
var TimerangeRels = struct { Topics string }{ Topics: "Topics", }
TimerangeRels is where relationship names are stored.
var TimerangeTableColumns = struct { ID string StartsAt string FinishesAt string PrefixFormat string }{ ID: "timeranges.id", StartsAt: "timeranges.starts_at", FinishesAt: "timeranges.finishes_at", PrefixFormat: "timeranges.prefix_format", }
var TimerangeWhere = struct { ID whereHelperstring StartsAt whereHelpertime_Time FinishesAt whereHelpernull_Time PrefixFormat whereHelperstring }{ ID: whereHelperstring{/* contains filtered or unexported fields */}, StartsAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, FinishesAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, PrefixFormat: whereHelperstring{/* contains filtered or unexported fields */}, }
var TopicColumns = struct { OrganizationID string ID string Name string Description string CreatedAt string UpdatedAt string RepositoryID string Root string Synonyms string TimerangeID string }{ OrganizationID: "organization_id", ID: "id", Name: "name", Description: "description", CreatedAt: "created_at", UpdatedAt: "updated_at", RepositoryID: "repository_id", Root: "root", Synonyms: "synonyms", TimerangeID: "timerange_id", }
var TopicRels = struct { Organization string Repository string Timerange string ChildLinks string ParentLinkTransitiveClosures string ParentTopics string ChildTopics string ChildTopicTransitiveClosures string ParentTopicTransitiveClosures string UserLinkTopics string }{ Organization: "Organization", Repository: "Repository", Timerange: "Timerange", ChildLinks: "ChildLinks", ParentLinkTransitiveClosures: "ParentLinkTransitiveClosures", ParentTopics: "ParentTopics", ChildTopics: "ChildTopics", ChildTopicTransitiveClosures: "ChildTopicTransitiveClosures", ParentTopicTransitiveClosures: "ParentTopicTransitiveClosures", UserLinkTopics: "UserLinkTopics", }
TopicRels is where relationship names are stored.
var TopicTableColumns = struct { OrganizationID string ID string Name string Description string CreatedAt string UpdatedAt string RepositoryID string Root string Synonyms string TimerangeID string }{ OrganizationID: "topics.organization_id", ID: "topics.id", Name: "topics.name", Description: "topics.description", CreatedAt: "topics.created_at", UpdatedAt: "topics.updated_at", RepositoryID: "topics.repository_id", Root: "topics.root", Synonyms: "topics.synonyms", TimerangeID: "topics.timerange_id", }
var TopicTransitiveClosureColumns = struct { ID string ParentID string ChildID string }{ ID: "id", ParentID: "parent_id", ChildID: "child_id", }
var TopicTransitiveClosureRels = struct { Child string Parent string }{ Child: "Child", Parent: "Parent", }
TopicTransitiveClosureRels is where relationship names are stored.
var TopicTransitiveClosureTableColumns = struct { ID string ParentID string ChildID string }{ ID: "topic_transitive_closure.id", ParentID: "topic_transitive_closure.parent_id", ChildID: "topic_transitive_closure.child_id", }
var TopicTransitiveClosureWhere = struct { ID whereHelperint ParentID whereHelperstring ChildID whereHelperstring }{ ID: whereHelperint{/* contains filtered or unexported fields */}, ParentID: whereHelperstring{/* contains filtered or unexported fields */}, ChildID: whereHelperstring{/* contains filtered or unexported fields */}, }
var TopicWhere = struct { OrganizationID whereHelperstring ID whereHelperstring Name whereHelperstring Description whereHelpernull_String CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time RepositoryID whereHelperstring Root whereHelperbool Synonyms whereHelpertypes_JSON TimerangeID whereHelpernull_String }{ OrganizationID: whereHelperstring{/* contains filtered or unexported fields */}, ID: whereHelperstring{/* contains filtered or unexported fields */}, Name: whereHelperstring{/* contains filtered or unexported fields */}, Description: whereHelpernull_String{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, RepositoryID: whereHelperstring{/* contains filtered or unexported fields */}, Root: whereHelperbool{/* contains filtered or unexported fields */}, Synonyms: whereHelpertypes_JSON{/* contains filtered or unexported fields */}, TimerangeID: whereHelpernull_String{/* contains filtered or unexported fields */}, }
var UserColumns = struct { ID string Name string PrimaryEmail string CreatedAt string UpdatedAt string GithubUsername string GithubAvatarURL string Login string SelectedRepositoryID string System string AvatarURL string RegisteredAt string }{ ID: "id", Name: "name", PrimaryEmail: "primary_email", CreatedAt: "created_at", UpdatedAt: "updated_at", GithubUsername: "github_username", GithubAvatarURL: "github_avatar_url", Login: "login", SelectedRepositoryID: "selected_repository_id", System: "system", AvatarURL: "avatar_url", RegisteredAt: "registered_at", }
var UserLinkColumns = struct { ID string OrganizationID string RepositoryID string UserID string LinkID string CreatedAt string Action string }{ ID: "id", OrganizationID: "organization_id", RepositoryID: "repository_id", UserID: "user_id", LinkID: "link_id", CreatedAt: "created_at", Action: "action", }
var UserLinkRels = struct { Link string Organization string Repository string User string UserLinkTopics string }{ Link: "Link", Organization: "Organization", Repository: "Repository", User: "User", UserLinkTopics: "UserLinkTopics", }
UserLinkRels is where relationship names are stored.
var UserLinkReviewColumns = struct { UserID string LinkID string CreatedAt string UpdatedAt string ReviewedAt string }{ UserID: "user_id", LinkID: "link_id", CreatedAt: "created_at", UpdatedAt: "updated_at", ReviewedAt: "reviewed_at", }
var UserLinkReviewRels = struct { Link string User string }{ Link: "Link", User: "User", }
UserLinkReviewRels is where relationship names are stored.
var UserLinkReviewTableColumns = struct { UserID string LinkID string CreatedAt string UpdatedAt string ReviewedAt string }{ UserID: "user_link_reviews.user_id", LinkID: "user_link_reviews.link_id", CreatedAt: "user_link_reviews.created_at", UpdatedAt: "user_link_reviews.updated_at", ReviewedAt: "user_link_reviews.reviewed_at", }
var UserLinkReviewWhere = struct { UserID whereHelperstring LinkID whereHelperstring CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time ReviewedAt whereHelpernull_Time }{ UserID: whereHelperstring{/* contains filtered or unexported fields */}, LinkID: whereHelperstring{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, ReviewedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, }
var UserLinkTableColumns = struct { ID string OrganizationID string RepositoryID string UserID string LinkID string CreatedAt string Action string }{ ID: "user_links.id", OrganizationID: "user_links.organization_id", RepositoryID: "user_links.repository_id", UserID: "user_links.user_id", LinkID: "user_links.link_id", CreatedAt: "user_links.created_at", Action: "user_links.action", }
var UserLinkTopicColumns = struct { ID string UserLinkID string Action string TopicID string }{ ID: "id", UserLinkID: "user_link_id", Action: "action", TopicID: "topic_id", }
var UserLinkTopicRels = struct { Topic string UserLink string }{ Topic: "Topic", UserLink: "UserLink", }
UserLinkTopicRels is where relationship names are stored.
var UserLinkTopicTableColumns = struct { ID string UserLinkID string Action string TopicID string }{ ID: "user_link_topics.id", UserLinkID: "user_link_topics.user_link_id", Action: "user_link_topics.action", TopicID: "user_link_topics.topic_id", }
var UserLinkTopicWhere = struct { ID whereHelperstring UserLinkID whereHelperstring Action whereHelperstring TopicID whereHelperstring }{ ID: whereHelperstring{/* contains filtered or unexported fields */}, UserLinkID: whereHelperstring{/* contains filtered or unexported fields */}, Action: whereHelperstring{/* contains filtered or unexported fields */}, TopicID: whereHelperstring{/* contains filtered or unexported fields */}, }
var UserLinkWhere = struct { ID whereHelperstring OrganizationID whereHelperstring RepositoryID whereHelperstring UserID whereHelperstring LinkID whereHelperstring CreatedAt whereHelpertime_Time Action whereHelperstring }{ ID: whereHelperstring{/* contains filtered or unexported fields */}, OrganizationID: whereHelperstring{/* contains filtered or unexported fields */}, RepositoryID: whereHelperstring{/* contains filtered or unexported fields */}, UserID: whereHelperstring{/* contains filtered or unexported fields */}, LinkID: whereHelperstring{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, Action: whereHelperstring{/* contains filtered or unexported fields */}, }
var UserRels = struct { SelectedRepository string GithubAccounts string GoogleAccounts string OrganizationMembers string OwnerRepositories string Sessions string UserLinkReviews string UserLinks string }{ SelectedRepository: "SelectedRepository", GithubAccounts: "GithubAccounts", GoogleAccounts: "GoogleAccounts", OrganizationMembers: "OrganizationMembers", OwnerRepositories: "OwnerRepositories", Sessions: "Sessions", UserLinkReviews: "UserLinkReviews", UserLinks: "UserLinks", }
UserRels is where relationship names are stored.
var UserTableColumns = struct { ID string Name string PrimaryEmail string CreatedAt string UpdatedAt string GithubUsername string GithubAvatarURL string Login string SelectedRepositoryID string System string AvatarURL string RegisteredAt string }{ ID: "users.id", Name: "users.name", PrimaryEmail: "users.primary_email", CreatedAt: "users.created_at", UpdatedAt: "users.updated_at", GithubUsername: "users.github_username", GithubAvatarURL: "users.github_avatar_url", Login: "users.login", SelectedRepositoryID: "users.selected_repository_id", System: "users.system", AvatarURL: "users.avatar_url", RegisteredAt: "users.registered_at", }
var UserWhere = struct { ID whereHelperstring Name whereHelperstring PrimaryEmail whereHelperstring CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time GithubUsername whereHelpernull_String GithubAvatarURL whereHelpernull_String Login whereHelpernull_String SelectedRepositoryID whereHelpernull_String System whereHelperbool AvatarURL whereHelpernull_String RegisteredAt whereHelpernull_Time }{ ID: whereHelperstring{/* contains filtered or unexported fields */}, Name: whereHelperstring{/* contains filtered or unexported fields */}, PrimaryEmail: whereHelperstring{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, GithubUsername: whereHelpernull_String{/* contains filtered or unexported fields */}, GithubAvatarURL: whereHelpernull_String{/* contains filtered or unexported fields */}, Login: whereHelpernull_String{/* contains filtered or unexported fields */}, SelectedRepositoryID: whereHelpernull_String{/* contains filtered or unexported fields */}, System: whereHelperbool{/* contains filtered or unexported fields */}, AvatarURL: whereHelpernull_String{/* contains filtered or unexported fields */}, RegisteredAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, }
var ViewNames = struct {
}{}
Functions ¶
func AllTopicAction ¶
func AllTopicAction() []string
func DeletedUserExists ¶
DeletedUserExists checks if the DeletedUser row exists.
func DeletedUsers ¶
DeletedUsers retrieves all the records using an executor.
func GithubAccountExists ¶
GithubAccountExists checks if the GithubAccount row exists.
func GithubAccounts ¶
GithubAccounts retrieves all the records using an executor.
func GoogleAccountExists ¶
GoogleAccountExists checks if the GoogleAccount row exists.
func GoogleAccounts ¶
GoogleAccounts retrieves all the records using an executor.
func LinkExists ¶
LinkExists checks if the Link row exists.
func LinkTransitiveClosureExists ¶
func LinkTransitiveClosureExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)
LinkTransitiveClosureExists checks if the LinkTransitiveClosure row exists.
func LinkTransitiveClosures ¶
LinkTransitiveClosures retrieves all the records using an executor.
func NewExecutableSchema ¶
func NewExecutableSchema(cfg Config) graphql.ExecutableSchema
NewExecutableSchema creates an ExecutableSchema from the ResolverRoot interface.
func OrganizationExists ¶
OrganizationExists checks if the Organization row exists.
func OrganizationMemberExists ¶
func OrganizationMemberExists(ctx context.Context, exec boil.ContextExecutor, userID string, organizationID string) (bool, error)
OrganizationMemberExists checks if the OrganizationMember row exists.
func OrganizationMembers ¶
OrganizationMembers retrieves all the records using an executor.
func Organizations ¶
Organizations retrieves all the records using an executor.
func Repositories ¶
Repositories retrieves all the records using an executor.
func RepositoryExists ¶
RepositoryExists checks if the Repository row exists.
func SchemaMigrationExists ¶
func SchemaMigrationExists(ctx context.Context, exec boil.ContextExecutor, version int64) (bool, error)
SchemaMigrationExists checks if the SchemaMigration row exists.
func SchemaMigrations ¶
SchemaMigrations retrieves all the records using an executor.
func SessionExists ¶
SessionExists checks if the Session row exists.
func TimerangeExists ¶
TimerangeExists checks if the Timerange row exists.
func Timeranges ¶
Timeranges retrieves all the records using an executor.
func TopicExists ¶
TopicExists checks if the Topic row exists.
func TopicTransitiveClosureExists ¶
func TopicTransitiveClosureExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)
TopicTransitiveClosureExists checks if the TopicTransitiveClosure row exists.
func TopicTransitiveClosures ¶
TopicTransitiveClosures retrieves all the records using an executor.
func UserExists ¶
UserExists checks if the User row exists.
func UserLinkExists ¶
UserLinkExists checks if the UserLink row exists.
func UserLinkReviewExists ¶
func UserLinkReviewExists(ctx context.Context, exec boil.ContextExecutor, userID string, linkID string) (bool, error)
UserLinkReviewExists checks if the UserLinkReview row exists.
func UserLinkReviews ¶
UserLinkReviews retrieves all the records using an executor.
func UserLinkTopicExists ¶
UserLinkTopicExists checks if the UserLinkTopic row exists.
func UserLinkTopics ¶
UserLinkTopics retrieves all the records using an executor.
Types ¶
type ActivityLineItem ¶
type ActivityLineItemConnection ¶
type ActivityLineItemConnection struct { Edges []*ActivityLineItemEdge `json:"edges"` PageInfo *PageInfo `json:"pageInfo"` }
type ActivityLineItemEdge ¶
type ActivityLineItemEdge struct { Cursor string `json:"cursor"` Node *ActivityLineItem `json:"node"` }
type AlertType ¶
type AlertType string
func (AlertType) MarshalGQL ¶
func (*AlertType) UnmarshalGQL ¶
type ComplexityRoot ¶
type ComplexityRoot struct { ActivityLineItem struct { CreatedAt func(childComplexity int) int Description func(childComplexity int) int } ActivityLineItemConnection struct { Edges func(childComplexity int) int PageInfo func(childComplexity int) int } ActivityLineItemEdge struct { Cursor func(childComplexity int) int Node func(childComplexity int) int } Alert struct { ID func(childComplexity int) int Text func(childComplexity int) int Type func(childComplexity int) int } CreateSessionPayload struct { Alerts func(childComplexity int) int SessionEdge func(childComplexity int) int UserEdge func(childComplexity int) int } DeleteAccountPayload struct { Alerts func(childComplexity int) int ClientMutationID func(childComplexity int) int DeletedUserID func(childComplexity int) int } DeleteLinkPayload struct { ClientMutationID func(childComplexity int) int DeletedLinkID func(childComplexity int) int } DeleteSessionPayload struct { ClientMutationID func(childComplexity int) int DeletedSessionID func(childComplexity int) int } DeleteTopicPayload struct { ClientMutationID func(childComplexity int) int DeletedTopicID func(childComplexity int) int } DeleteTopicTimeRangePayload struct { ClientMutationID func(childComplexity int) int DeletedTimeRangeID func(childComplexity int) int Topic func(childComplexity int) int } Link struct { AvailableParentTopics func(childComplexity int, searchString *string, first *int, after *string, last *int, before *string) int CreatedAt func(childComplexity int) int ID func(childComplexity int) int Loading func(childComplexity int) int NewlyAdded func(childComplexity int) int Organization func(childComplexity int) int ParentTopics func(childComplexity int, first *int, after *string, last *int, before *string) int Repository func(childComplexity int) int ResourcePath func(childComplexity int) int Sha1 func(childComplexity int) int Title func(childComplexity int) int URL func(childComplexity int) int UpdatedAt func(childComplexity int) int ViewerReview func(childComplexity int) int } LinkConnection struct { Edges func(childComplexity int) int PageInfo func(childComplexity int) int TotalCount func(childComplexity int) int } LinkEdge struct { Cursor func(childComplexity int) int Node func(childComplexity int) int } LinkReview struct { ReviewedAt func(childComplexity int) int User func(childComplexity int) int } Mutation struct { CreateGithubSession func(childComplexity int, input CreateGithubSessionInput) int CreateGoogleSession func(childComplexity int, input CreateGoogleSessionInput) int DeleteAccount func(childComplexity int, input DeleteAccountInput) int DeleteLink func(childComplexity int, input DeleteLinkInput) int DeleteSession func(childComplexity int, input DeleteSessionInput) int DeleteTopic func(childComplexity int, input DeleteTopicInput) int DeleteTopicTimeRange func(childComplexity int, input DeleteTopicTimeRangeInput) int ReviewLink func(childComplexity int, input ReviewLinkInput) int SelectRepository func(childComplexity int, input SelectRepositoryInput) int UpdateLinkTopics func(childComplexity int, input UpdateLinkTopicsInput) int UpdateSynonyms func(childComplexity int, input UpdateSynonymsInput) int UpdateTopic func(childComplexity int, input UpdateTopicInput) int UpdateTopicParentTopics func(childComplexity int, input UpdateTopicParentTopicsInput) int UpsertLink func(childComplexity int, input UpsertLinkInput) int UpsertTopic func(childComplexity int, input UpsertTopicInput) int UpsertTopicTimeRange func(childComplexity int, input UpsertTopicTimeRangeInput) int } Organization struct { CreatedAt func(childComplexity int) int DefaultRepository func(childComplexity int) int ID func(childComplexity int) int Login func(childComplexity int) int Name func(childComplexity int) int Public func(childComplexity int) int ResourcePath func(childComplexity int) int UpdatedAt func(childComplexity int) int } PageInfo struct { EndCursor func(childComplexity int) int HasNextPage func(childComplexity int) int HasPreviousPage func(childComplexity int) int StartCursor func(childComplexity int) int } Query struct { Alerts func(childComplexity int) int FakeError func(childComplexity int) int View func(childComplexity int, viewerID string, currentOrganizationLogin string, currentRepositoryName *string, repositoryIds []string, searchString *string) int } QueryInfo struct { StringTokens func(childComplexity int) int Topics func(childComplexity int) int } ReorderSynonymsPayload struct { ClientMutationID func(childComplexity int) int } Repository struct { DisplayColor func(childComplexity int) int DisplayName func(childComplexity int) int FullName func(childComplexity int) int ID func(childComplexity int) int IsPrivate func(childComplexity int) int Name func(childComplexity int) int Organization func(childComplexity int) int Owner func(childComplexity int) int RootTopic func(childComplexity int) int } RepositoryConnection struct { Edges func(childComplexity int) int } RepositoryEdge struct { Cursor func(childComplexity int) int IsSelected func(childComplexity int) int Node func(childComplexity int) int } ReviewLinkPayload struct { Link func(childComplexity int) int } SearchResultItemConnection struct { Edges func(childComplexity int) int } SearchResultItemEdge struct { Node func(childComplexity int) int } SelectRepositoryPayload struct { Repository func(childComplexity int) int Viewer func(childComplexity int) int } Session struct { ID func(childComplexity int) int } SessionEdge struct { Cursor func(childComplexity int) int Node func(childComplexity int) int } Synonym struct { Locale func(childComplexity int) int Name func(childComplexity int) int } TimeRange struct { EndsAt func(childComplexity int) int PrefixFormat func(childComplexity int) int StartsAt func(childComplexity int) int } TimeRangeEdge struct { Cursor func(childComplexity int) int Node func(childComplexity int) int } Topic struct { Activity func(childComplexity int, first *int, after *string, last *int, before *string) int AvailableParentTopics func(childComplexity int, searchString *string, first *int, after *string, last *int, before *string) int ChildTopics func(childComplexity int, searchString *string, first *int, after *string, last *int, before *string) int CreatedAt func(childComplexity int) int Description func(childComplexity int) int DisplayName func(childComplexity int, timeRange *bool) int ID func(childComplexity int) int Links func(childComplexity int, first *int, after *string, last *int, before *string, searchString *string, reviewed *bool, descendants *bool) int Loading func(childComplexity int) int Name func(childComplexity int) int NewlyAdded func(childComplexity int) int Organization func(childComplexity int) int ParentTopics func(childComplexity int, first *int, after *string, last *int, before *string) int Repository func(childComplexity int) int ResourcePath func(childComplexity int) int Search func(childComplexity int, searchString string, first *int, after *string, last *int, before *string) int Synonyms func(childComplexity int) int TimeRange func(childComplexity int) int UpdatedAt func(childComplexity int) int ViewerCanDeleteSynonyms func(childComplexity int) int ViewerCanUpdate func(childComplexity int) int } TopicConnection struct { Edges func(childComplexity int) int PageInfo func(childComplexity int) int } TopicEdge struct { Cursor func(childComplexity int) int Node func(childComplexity int) int } UpdateLinkTopicsPayload struct { Link func(childComplexity int) int } UpdateSynonymsPayload struct { Alerts func(childComplexity int) int ClientMutationID func(childComplexity int) int Topic func(childComplexity int) int } UpdateTopicParentTopicsPayload struct { Alerts func(childComplexity int) int Topic func(childComplexity int) int } UpdateTopicPayload struct { Alerts func(childComplexity int) int Topic func(childComplexity int) int } UpsertLinkPayload struct { Alerts func(childComplexity int) int LinkEdge func(childComplexity int) int } UpsertTopicPayload struct { Alerts func(childComplexity int) int TopicEdge func(childComplexity int) int } UpsertTopicTimeRangePayload struct { Alerts func(childComplexity int) int TimeRangeEdge func(childComplexity int) int Topic func(childComplexity int) int } User struct { AvatarURL func(childComplexity int) int CreatedAt func(childComplexity int) int DefaultRepository func(childComplexity int) int ID func(childComplexity int) int IsGuest func(childComplexity int) int Name func(childComplexity int) int PrimaryEmail func(childComplexity int) int Repositories func(childComplexity int, first *int, after *string, last *int, before *string) int SelectedRepository func(childComplexity int) int UpdatedAt func(childComplexity int) int } UserEdge struct { Cursor func(childComplexity int) int Node func(childComplexity int) int } View struct { Activity func(childComplexity int, first *int, after *string, last *int, before *string) int CurrentRepository func(childComplexity int) int DefaultOrganization func(childComplexity int) int Link func(childComplexity int, id string) int LinkCount func(childComplexity int) int Links func(childComplexity int, searchString *string, first *int, after *string, last *int, before *string, reviewed *bool) int QueryInfo func(childComplexity int) int SearchString func(childComplexity int) int Topic func(childComplexity int, id string) int TopicCount func(childComplexity int) int TopicGraph func(childComplexity int) int Topics func(childComplexity int, searchString *string, first *int, after *string, last *int, before *string) int Viewer func(childComplexity int) int } }
type Config ¶
type Config struct { Resolvers ResolverRoot Directives DirectiveRoot Complexity ComplexityRoot }
type CreateSessionPayload ¶
type CreateSessionPayload struct { Alerts []*Alert `json:"alerts"` UserEdge *UserEdge `json:"userEdge"` SessionEdge *SessionEdge `json:"sessionEdge"` }
func (CreateSessionPayload) IsAlertable ¶
func (CreateSessionPayload) IsAlertable()
type DeleteAccountInput ¶
type DeleteAccountPayload ¶
type DeleteAccountPayload struct { Alerts []*Alert `json:"alerts"` ClientMutationID *string `json:"clientMutationId"` DeletedUserID string `json:"deletedUserId"` }
func (DeleteAccountPayload) IsAlertable ¶
func (DeleteAccountPayload) IsAlertable()
type DeleteLinkInput ¶
type DeleteLinkPayload ¶
type DeleteSessionInput ¶
type DeleteSessionPayload ¶
type DeleteTopicInput ¶
type DeleteTopicPayload ¶
type DeleteTopicTimeRangePayload ¶
type DeleteTopicTimeRangePayload struct { ClientMutationID *string `json:"clientMutationId"` DeletedTimeRangeID *string `json:"deletedTimeRangeId"` Topic *TopicValue `json:"topic"` }
type DeletedUser ¶
type DeletedUser struct { ID string `boil:"id" json:"id" toml:"id" yaml:"id"` UserID string `boil:"user_id" json:"user_id" toml:"user_id" yaml:"user_id"` DeletedAt null.Time `boil:"deleted_at" json:"deleted_at,omitempty" toml:"deleted_at" yaml:"deleted_at,omitempty"` R *deletedUserR `boil:"-" json:"-" toml:"-" yaml:"-"` L deletedUserL `boil:"-" json:"-" toml:"-" yaml:"-"` }
DeletedUser is an object representing the database table.
func FindDeletedUser ¶
func FindDeletedUser(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*DeletedUser, error)
FindDeletedUser retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*DeletedUser) Delete ¶
func (o *DeletedUser) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single DeletedUser record with an executor. Delete will match against the primary key column to find the record to delete.
func (*DeletedUser) Insert ¶
func (o *DeletedUser) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*DeletedUser) Reload ¶
func (o *DeletedUser) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*DeletedUser) Update ¶
func (o *DeletedUser) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the DeletedUser. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*DeletedUser) Upsert ¶
func (o *DeletedUser) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type DeletedUserSlice ¶
type DeletedUserSlice []*DeletedUser
DeletedUserSlice is an alias for a slice of pointers to DeletedUser. This should almost always be used instead of []DeletedUser.
func (DeletedUserSlice) DeleteAll ¶
func (o DeletedUserSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*DeletedUserSlice) ReloadAll ¶
func (o *DeletedUserSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (DeletedUserSlice) UpdateAll ¶
func (o DeletedUserSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type DirectiveRoot ¶
type DirectiveRoot struct { }
type GithubAccount ¶
type GithubAccount struct { ID string `boil:"id" json:"id" toml:"id" yaml:"id"` UserID string `boil:"user_id" json:"user_id" toml:"user_id" yaml:"user_id"` Username string `boil:"username" json:"username" toml:"username" yaml:"username"` Name string `boil:"name" json:"name" toml:"name" yaml:"name"` PrimaryEmail string `boil:"primary_email" json:"primary_email" toml:"primary_email" yaml:"primary_email"` AvatarURL string `boil:"avatar_url" json:"avatar_url" toml:"avatar_url" yaml:"avatar_url"` R *githubAccountR `boil:"-" json:"-" toml:"-" yaml:"-"` L githubAccountL `boil:"-" json:"-" toml:"-" yaml:"-"` }
GithubAccount is an object representing the database table.
func FindGithubAccount ¶
func FindGithubAccount(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*GithubAccount, error)
FindGithubAccount retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*GithubAccount) Delete ¶
func (o *GithubAccount) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single GithubAccount record with an executor. Delete will match against the primary key column to find the record to delete.
func (*GithubAccount) Insert ¶
func (o *GithubAccount) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*GithubAccount) Reload ¶
func (o *GithubAccount) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*GithubAccount) SetUser ¶
func (o *GithubAccount) SetUser(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User) error
SetUser of the githubAccount to the related item. Sets o.R.User to related. Adds o to related.R.GithubAccounts.
func (*GithubAccount) Update ¶
func (o *GithubAccount) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the GithubAccount. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*GithubAccount) Upsert ¶
func (o *GithubAccount) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
func (*GithubAccount) User ¶
func (o *GithubAccount) User(mods ...qm.QueryMod) userQuery
User pointed to by the foreign key.
type GithubAccountSlice ¶
type GithubAccountSlice []*GithubAccount
GithubAccountSlice is an alias for a slice of pointers to GithubAccount. This should almost always be used instead of []GithubAccount.
func (GithubAccountSlice) DeleteAll ¶
func (o GithubAccountSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*GithubAccountSlice) ReloadAll ¶
func (o *GithubAccountSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (GithubAccountSlice) UpdateAll ¶
func (o GithubAccountSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type GoogleAccount ¶
type GoogleAccount struct { ID string `boil:"id" json:"id" toml:"id" yaml:"id"` UserID string `boil:"user_id" json:"user_id" toml:"user_id" yaml:"user_id"` ProfileID string `boil:"profile_id" json:"profile_id" toml:"profile_id" yaml:"profile_id"` Name string `boil:"name" json:"name" toml:"name" yaml:"name"` PrimaryEmail string `boil:"primary_email" json:"primary_email" toml:"primary_email" yaml:"primary_email"` AvatarURL string `boil:"avatar_url" json:"avatar_url" toml:"avatar_url" yaml:"avatar_url"` R *googleAccountR `boil:"-" json:"-" toml:"-" yaml:"-"` L googleAccountL `boil:"-" json:"-" toml:"-" yaml:"-"` }
GoogleAccount is an object representing the database table.
func FindGoogleAccount ¶
func FindGoogleAccount(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*GoogleAccount, error)
FindGoogleAccount retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*GoogleAccount) Delete ¶
func (o *GoogleAccount) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single GoogleAccount record with an executor. Delete will match against the primary key column to find the record to delete.
func (*GoogleAccount) Insert ¶
func (o *GoogleAccount) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*GoogleAccount) Reload ¶
func (o *GoogleAccount) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*GoogleAccount) SetUser ¶
func (o *GoogleAccount) SetUser(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User) error
SetUser of the googleAccount to the related item. Sets o.R.User to related. Adds o to related.R.GoogleAccounts.
func (*GoogleAccount) Update ¶
func (o *GoogleAccount) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the GoogleAccount. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*GoogleAccount) Upsert ¶
func (o *GoogleAccount) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
func (*GoogleAccount) User ¶
func (o *GoogleAccount) User(mods ...qm.QueryMod) userQuery
User pointed to by the foreign key.
type GoogleAccountSlice ¶
type GoogleAccountSlice []*GoogleAccount
GoogleAccountSlice is an alias for a slice of pointers to GoogleAccount. This should almost always be used instead of []GoogleAccount.
func (GoogleAccountSlice) DeleteAll ¶
func (o GoogleAccountSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*GoogleAccountSlice) ReloadAll ¶
func (o *GoogleAccountSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (GoogleAccountSlice) UpdateAll ¶
func (o GoogleAccountSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type Link ¶
type Link struct { OrganizationID string `boil:"organization_id" json:"organization_id" toml:"organization_id" yaml:"organization_id"` ID string `boil:"id" json:"id" toml:"id" yaml:"id"` URL string `boil:"url" json:"url" toml:"url" yaml:"url"` Title string `boil:"title" json:"title" toml:"title" yaml:"title"` Sha1 string `boil:"sha1" json:"sha1" toml:"sha1" yaml:"sha1"` CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"` UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"` RepositoryID string `boil:"repository_id" json:"repository_id" toml:"repository_id" yaml:"repository_id"` R *linkR `boil:"-" json:"-" toml:"-" yaml:"-"` L linkL `boil:"-" json:"-" toml:"-" yaml:"-"` }
Link is an object representing the database table.
func FindLink ¶
func FindLink(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*Link, error)
FindLink retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*Link) AddChildLinkTransitiveClosures ¶
func (o *Link) AddChildLinkTransitiveClosures(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*LinkTransitiveClosure) error
AddChildLinkTransitiveClosures adds the given related objects to the existing relationships of the link, optionally inserting them as new records. Appends related to o.R.ChildLinkTransitiveClosures. Sets related.R.Child appropriately.
func (*Link) AddParentTopics ¶
func (o *Link) AddParentTopics(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Topic) error
AddParentTopics adds the given related objects to the existing relationships of the link, optionally inserting them as new records. Appends related to o.R.ParentTopics. Sets related.R.ChildLinks appropriately.
func (*Link) AddUserLinkReviews ¶
func (o *Link) AddUserLinkReviews(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*UserLinkReview) error
AddUserLinkReviews adds the given related objects to the existing relationships of the link, optionally inserting them as new records. Appends related to o.R.UserLinkReviews. Sets related.R.Link appropriately.
func (*Link) AddUserLinks ¶
func (o *Link) AddUserLinks(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*UserLink) error
AddUserLinks adds the given related objects to the existing relationships of the link, optionally inserting them as new records. Appends related to o.R.UserLinks. Sets related.R.Link appropriately.
func (*Link) ChildLinkTransitiveClosures ¶
ChildLinkTransitiveClosures retrieves all the link_transitive_closure's LinkTransitiveClosures with an executor via child_id column.
func (*Link) Delete ¶
Delete deletes a single Link record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Link) Insert ¶
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (Link) IsNamespaceable ¶
func (Link) IsNamespaceable()
IsNamespaceable tags Link as implementing the Namespaceable interface.
func (Link) IsResourceIdentifiable ¶
func (Link) IsResourceIdentifiable()
IsResourceIdentifiable tags Link as implementing the ResourceIdentifiable interface.
func (Link) IsSearchResultItem ¶
func (Link) IsSearchResultItem()
IsSearchResultItem tags Link as being in the SearchResultItem union.
func (*Link) Organization ¶
Organization pointed to by the foreign key.
func (*Link) ParentTopics ¶
ParentTopics retrieves all the topic's Topics with an executor via id column.
func (*Link) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*Link) RemoveParentTopics ¶
func (o *Link) RemoveParentTopics(ctx context.Context, exec boil.ContextExecutor, related ...*Topic) error
RemoveParentTopics relationships from objects passed in. Removes related items from R.ParentTopics (uses pointer comparison, removal does not keep order) Sets related.R.ChildLinks.
func (*Link) Repository ¶
Repository pointed to by the foreign key.
func (*Link) SetOrganization ¶
func (o *Link) SetOrganization(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Organization) error
SetOrganization of the link to the related item. Sets o.R.Organization to related. Adds o to related.R.Links.
func (*Link) SetParentTopics ¶
func (o *Link) SetParentTopics(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Topic) error
SetParentTopics removes all previously related items of the link replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.ChildLinks's ParentTopics accordingly. Replaces o.R.ParentTopics with related. Sets related.R.ChildLinks's ParentTopics accordingly.
func (*Link) SetRepository ¶
func (o *Link) SetRepository(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Repository) error
SetRepository of the link to the related item. Sets o.R.Repository to related. Adds o to related.R.Links.
func (*Link) Update ¶
func (o *Link) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the Link. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*Link) Upsert ¶
func (o *Link) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
func (*Link) UserLinkReviews ¶
UserLinkReviews retrieves all the user_link_review's UserLinkReviews with an executor.
type LinkConnection ¶
type LinkResolver ¶
type LinkResolver interface { AvailableParentTopics(ctx context.Context, obj *LinkValue, searchString *string, first *int, after *string, last *int, before *string) (*TopicConnection, error) CreatedAt(ctx context.Context, obj *LinkValue) (string, error) Loading(ctx context.Context, obj *LinkValue) (bool, error) Organization(ctx context.Context, obj *LinkValue) (*Organization, error) ParentTopics(ctx context.Context, obj *LinkValue, first *int, after *string, last *int, before *string) (*TopicConnection, error) Repository(ctx context.Context, obj *LinkValue) (*Repository, error) ResourcePath(ctx context.Context, obj *LinkValue) (string, error) UpdatedAt(ctx context.Context, obj *LinkValue) (string, error) ViewerReview(ctx context.Context, obj *LinkValue) (*LinkReview, error) }
type LinkReview ¶
type LinkSlice ¶
type LinkSlice []*Link
LinkSlice is an alias for a slice of pointers to Link. This should almost always be used instead of []Link.
type LinkTransitiveClosure ¶
type LinkTransitiveClosure struct { ID int `boil:"id" json:"id" toml:"id" yaml:"id"` ParentID string `boil:"parent_id" json:"parent_id" toml:"parent_id" yaml:"parent_id"` ChildID string `boil:"child_id" json:"child_id" toml:"child_id" yaml:"child_id"` R *linkTransitiveClosureR `boil:"-" json:"-" toml:"-" yaml:"-"` L linkTransitiveClosureL `boil:"-" json:"-" toml:"-" yaml:"-"` }
LinkTransitiveClosure is an object representing the database table.
func FindLinkTransitiveClosure ¶
func FindLinkTransitiveClosure(ctx context.Context, exec boil.ContextExecutor, iD int, selectCols ...string) (*LinkTransitiveClosure, error)
FindLinkTransitiveClosure retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*LinkTransitiveClosure) Child ¶
func (o *LinkTransitiveClosure) Child(mods ...qm.QueryMod) linkQuery
Child pointed to by the foreign key.
func (*LinkTransitiveClosure) Delete ¶
func (o *LinkTransitiveClosure) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single LinkTransitiveClosure record with an executor. Delete will match against the primary key column to find the record to delete.
func (*LinkTransitiveClosure) Insert ¶
func (o *LinkTransitiveClosure) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*LinkTransitiveClosure) Parent ¶
func (o *LinkTransitiveClosure) Parent(mods ...qm.QueryMod) topicQuery
Parent pointed to by the foreign key.
func (*LinkTransitiveClosure) Reload ¶
func (o *LinkTransitiveClosure) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*LinkTransitiveClosure) SetChild ¶
func (o *LinkTransitiveClosure) SetChild(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Link) error
SetChild of the linkTransitiveClosure to the related item. Sets o.R.Child to related. Adds o to related.R.ChildLinkTransitiveClosures.
func (*LinkTransitiveClosure) SetParent ¶
func (o *LinkTransitiveClosure) SetParent(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Topic) error
SetParent of the linkTransitiveClosure to the related item. Sets o.R.Parent to related. Adds o to related.R.ParentLinkTransitiveClosures.
func (*LinkTransitiveClosure) Update ¶
func (o *LinkTransitiveClosure) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the LinkTransitiveClosure. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*LinkTransitiveClosure) Upsert ¶
func (o *LinkTransitiveClosure) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type LinkTransitiveClosureSlice ¶
type LinkTransitiveClosureSlice []*LinkTransitiveClosure
LinkTransitiveClosureSlice is an alias for a slice of pointers to LinkTransitiveClosure. This should almost always be used instead of []LinkTransitiveClosure.
func (LinkTransitiveClosureSlice) DeleteAll ¶
func (o LinkTransitiveClosureSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*LinkTransitiveClosureSlice) ReloadAll ¶
func (o *LinkTransitiveClosureSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (LinkTransitiveClosureSlice) UpdateAll ¶
func (o LinkTransitiveClosureSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type LinkValue ¶
LinkValue wraps a link with additional fields that are not obtained from the database.
type LocaleIdentifier ¶
type LocaleIdentifier string
const ( LocaleIdentifierAr LocaleIdentifier = "ar" LocaleIdentifierDe LocaleIdentifier = "de" LocaleIdentifierEl LocaleIdentifier = "el" LocaleIdentifierEn LocaleIdentifier = "en" LocaleIdentifierEs LocaleIdentifier = "es" LocaleIdentifierFa LocaleIdentifier = "fa" LocaleIdentifierFi LocaleIdentifier = "fi" LocaleIdentifierFr LocaleIdentifier = "fr" LocaleIdentifierHi LocaleIdentifier = "hi" LocaleIdentifierIt LocaleIdentifier = "it" LocaleIdentifierJa LocaleIdentifier = "ja" LocaleIdentifierJi LocaleIdentifier = "ji" LocaleIdentifierKo LocaleIdentifier = "ko" LocaleIdentifierLa LocaleIdentifier = "la" LocaleIdentifierNl LocaleIdentifier = "nl" LocaleIdentifierNo LocaleIdentifier = "no" LocaleIdentifierPt LocaleIdentifier = "pt" LocaleIdentifierRu LocaleIdentifier = "ru" LocaleIdentifierSv LocaleIdentifier = "sv" LocaleIdentifierTr LocaleIdentifier = "tr" LocaleIdentifierUk LocaleIdentifier = "uk" LocaleIdentifierZh LocaleIdentifier = "zh" )
func (LocaleIdentifier) IsValid ¶
func (e LocaleIdentifier) IsValid() bool
func (LocaleIdentifier) MarshalGQL ¶
func (e LocaleIdentifier) MarshalGQL(w io.Writer)
func (LocaleIdentifier) String ¶
func (e LocaleIdentifier) String() string
func (*LocaleIdentifier) UnmarshalGQL ¶
func (e *LocaleIdentifier) UnmarshalGQL(v interface{}) error
type M ¶
type M map[string]interface{}
M type is for providing columns and column values to UpdateAll.
type MutationResolver ¶
type MutationResolver interface { CreateGithubSession(ctx context.Context, input CreateGithubSessionInput) (*CreateSessionPayload, error) CreateGoogleSession(ctx context.Context, input CreateGoogleSessionInput) (*CreateSessionPayload, error) DeleteAccount(ctx context.Context, input DeleteAccountInput) (*DeleteAccountPayload, error) DeleteLink(ctx context.Context, input DeleteLinkInput) (*DeleteLinkPayload, error) DeleteSession(ctx context.Context, input DeleteSessionInput) (*DeleteSessionPayload, error) DeleteTopic(ctx context.Context, input DeleteTopicInput) (*DeleteTopicPayload, error) DeleteTopicTimeRange(ctx context.Context, input DeleteTopicTimeRangeInput) (*DeleteTopicTimeRangePayload, error) ReviewLink(ctx context.Context, input ReviewLinkInput) (*ReviewLinkPayload, error) SelectRepository(ctx context.Context, input SelectRepositoryInput) (*SelectRepositoryPayload, error) UpdateLinkTopics(ctx context.Context, input UpdateLinkTopicsInput) (*UpdateLinkTopicsPayload, error) UpdateSynonyms(ctx context.Context, input UpdateSynonymsInput) (*UpdateSynonymsPayload, error) UpdateTopic(ctx context.Context, input UpdateTopicInput) (*UpdateTopicPayload, error) UpdateTopicParentTopics(ctx context.Context, input UpdateTopicParentTopicsInput) (*UpdateTopicParentTopicsPayload, error) UpsertLink(ctx context.Context, input UpsertLinkInput) (*UpsertLinkPayload, error) UpsertTopic(ctx context.Context, input UpsertTopicInput) (*UpsertTopicPayload, error) UpsertTopicTimeRange(ctx context.Context, input UpsertTopicTimeRangeInput) (*UpsertTopicTimeRangePayload, error) }
type Namespaceable ¶
type Namespaceable interface {
IsNamespaceable()
}
type Organization ¶
type Organization struct { ID string `boil:"id" json:"id" toml:"id" yaml:"id"` Name string `boil:"name" json:"name" toml:"name" yaml:"name"` CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"` UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"` Login string `boil:"login" json:"login" toml:"login" yaml:"login"` Description null.String `boil:"description" json:"description,omitempty" toml:"description" yaml:"description,omitempty"` Public bool `boil:"public" json:"public" toml:"public" yaml:"public"` System bool `boil:"system" json:"system" toml:"system" yaml:"system"` R *organizationR `boil:"-" json:"-" toml:"-" yaml:"-"` L organizationL `boil:"-" json:"-" toml:"-" yaml:"-"` }
Organization is an object representing the database table.
func FindOrganization ¶
func FindOrganization(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*Organization, error)
FindOrganization retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*Organization) AddLinks ¶
func (o *Organization) AddLinks(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Link) error
AddLinks adds the given related objects to the existing relationships of the organization, optionally inserting them as new records. Appends related to o.R.Links. Sets related.R.Organization appropriately.
func (*Organization) AddOrganizationMembers ¶
func (o *Organization) AddOrganizationMembers(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*OrganizationMember) error
AddOrganizationMembers adds the given related objects to the existing relationships of the organization, optionally inserting them as new records. Appends related to o.R.OrganizationMembers. Sets related.R.Organization appropriately.
func (*Organization) AddRepositories ¶
func (o *Organization) AddRepositories(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Repository) error
AddRepositories adds the given related objects to the existing relationships of the organization, optionally inserting them as new records. Appends related to o.R.Repositories. Sets related.R.Organization appropriately.
func (*Organization) AddTopics ¶
func (o *Organization) AddTopics(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Topic) error
AddTopics adds the given related objects to the existing relationships of the organization, optionally inserting them as new records. Appends related to o.R.Topics. Sets related.R.Organization appropriately.
func (*Organization) AddUserLinks ¶
func (o *Organization) AddUserLinks(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*UserLink) error
AddUserLinks adds the given related objects to the existing relationships of the organization, optionally inserting them as new records. Appends related to o.R.UserLinks. Sets related.R.Organization appropriately.
func (*Organization) Delete ¶
func (o *Organization) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single Organization record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Organization) Insert ¶
func (o *Organization) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (Organization) IsResourceIdentifiable ¶
func (Organization) IsResourceIdentifiable()
IsResourceIdentifiable tags Organization as implementing the ResourceIdentifiable interface.
func (*Organization) Links ¶
func (o *Organization) Links(mods ...qm.QueryMod) linkQuery
Links retrieves all the link's Links with an executor.
func (*Organization) OrganizationMembers ¶
func (o *Organization) OrganizationMembers(mods ...qm.QueryMod) organizationMemberQuery
OrganizationMembers retrieves all the organization_member's OrganizationMembers with an executor.
func (*Organization) Reload ¶
func (o *Organization) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*Organization) Repositories ¶
func (o *Organization) Repositories(mods ...qm.QueryMod) repositoryQuery
Repositories retrieves all the repository's Repositories with an executor.
func (*Organization) Topics ¶
func (o *Organization) Topics(mods ...qm.QueryMod) topicQuery
Topics retrieves all the topic's Topics with an executor.
func (*Organization) Update ¶
func (o *Organization) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the Organization. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*Organization) Upsert ¶
func (o *Organization) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
func (*Organization) UserLinks ¶
func (o *Organization) UserLinks(mods ...qm.QueryMod) userLinkQuery
UserLinks retrieves all the user_link's UserLinks with an executor.
type OrganizationMember ¶
type OrganizationMember struct { OrganizationID string `boil:"organization_id" json:"organization_id" toml:"organization_id" yaml:"organization_id"` UserID string `boil:"user_id" json:"user_id" toml:"user_id" yaml:"user_id"` Owner bool `boil:"owner" json:"owner" toml:"owner" yaml:"owner"` R *organizationMemberR `boil:"-" json:"-" toml:"-" yaml:"-"` L organizationMemberL `boil:"-" json:"-" toml:"-" yaml:"-"` }
OrganizationMember is an object representing the database table.
func FindOrganizationMember ¶
func FindOrganizationMember(ctx context.Context, exec boil.ContextExecutor, userID string, organizationID string, selectCols ...string) (*OrganizationMember, error)
FindOrganizationMember retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*OrganizationMember) Delete ¶
func (o *OrganizationMember) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single OrganizationMember record with an executor. Delete will match against the primary key column to find the record to delete.
func (*OrganizationMember) Insert ¶
func (o *OrganizationMember) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*OrganizationMember) Organization ¶
func (o *OrganizationMember) Organization(mods ...qm.QueryMod) organizationQuery
Organization pointed to by the foreign key.
func (*OrganizationMember) Reload ¶
func (o *OrganizationMember) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*OrganizationMember) SetOrganization ¶
func (o *OrganizationMember) SetOrganization(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Organization) error
SetOrganization of the organizationMember to the related item. Sets o.R.Organization to related. Adds o to related.R.OrganizationMembers.
func (*OrganizationMember) SetUser ¶
func (o *OrganizationMember) SetUser(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User) error
SetUser of the organizationMember to the related item. Sets o.R.User to related. Adds o to related.R.OrganizationMembers.
func (*OrganizationMember) Update ¶
func (o *OrganizationMember) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the OrganizationMember. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*OrganizationMember) Upsert ¶
func (o *OrganizationMember) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
func (*OrganizationMember) User ¶
func (o *OrganizationMember) User(mods ...qm.QueryMod) userQuery
User pointed to by the foreign key.
type OrganizationMemberSlice ¶
type OrganizationMemberSlice []*OrganizationMember
OrganizationMemberSlice is an alias for a slice of pointers to OrganizationMember. This should almost always be used instead of []OrganizationMember.
func (OrganizationMemberSlice) DeleteAll ¶
func (o OrganizationMemberSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*OrganizationMemberSlice) ReloadAll ¶
func (o *OrganizationMemberSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (OrganizationMemberSlice) UpdateAll ¶
func (o OrganizationMemberSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type OrganizationResolver ¶
type OrganizationResolver interface { CreatedAt(ctx context.Context, obj *Organization) (string, error) DefaultRepository(ctx context.Context, obj *Organization) (*Repository, error) ResourcePath(ctx context.Context, obj *Organization) (string, error) UpdatedAt(ctx context.Context, obj *Organization) (string, error) }
type OrganizationSlice ¶
type OrganizationSlice []*Organization
OrganizationSlice is an alias for a slice of pointers to Organization. This should almost always be used instead of []Organization.
func (OrganizationSlice) DeleteAll ¶
func (o OrganizationSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*OrganizationSlice) ReloadAll ¶
func (o *OrganizationSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (OrganizationSlice) UpdateAll ¶
func (o OrganizationSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type QueryInfo ¶
type QueryInfo struct { Topics *TopicConnection `json:"topics"` StringTokens []string `json:"stringTokens"` }
type QueryResolver ¶
type ReorderSynonymsInput ¶
type ReorderSynonymsPayload ¶
type ReorderSynonymsPayload struct {
ClientMutationID *string `json:"clientMutationId"`
}
type Repository ¶
type Repository struct { ID string `boil:"id" json:"id" toml:"id" yaml:"id"` OrganizationID string `boil:"organization_id" json:"organization_id" toml:"organization_id" yaml:"organization_id"` Name string `boil:"name" json:"name" toml:"name" yaml:"name"` OwnerID string `boil:"owner_id" json:"owner_id" toml:"owner_id" yaml:"owner_id"` System bool `boil:"system" json:"system" toml:"system" yaml:"system"` R *repositoryR `boil:"-" json:"-" toml:"-" yaml:"-"` L repositoryL `boil:"-" json:"-" toml:"-" yaml:"-"` }
Repository is an object representing the database table.
func FindRepository ¶
func FindRepository(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*Repository, error)
FindRepository retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*Repository) AddLinks ¶
func (o *Repository) AddLinks(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Link) error
AddLinks adds the given related objects to the existing relationships of the repository, optionally inserting them as new records. Appends related to o.R.Links. Sets related.R.Repository appropriately.
func (*Repository) AddSelectedRepositoryUsers ¶
func (o *Repository) AddSelectedRepositoryUsers(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*User) error
AddSelectedRepositoryUsers adds the given related objects to the existing relationships of the repository, optionally inserting them as new records. Appends related to o.R.SelectedRepositoryUsers. Sets related.R.SelectedRepository appropriately.
func (*Repository) AddTopics ¶
func (o *Repository) AddTopics(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Topic) error
AddTopics adds the given related objects to the existing relationships of the repository, optionally inserting them as new records. Appends related to o.R.Topics. Sets related.R.Repository appropriately.
func (*Repository) AddUserLinks ¶
func (o *Repository) AddUserLinks(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*UserLink) error
AddUserLinks adds the given related objects to the existing relationships of the repository, optionally inserting them as new records. Appends related to o.R.UserLinks. Sets related.R.Repository appropriately.
func (*Repository) Delete ¶
func (o *Repository) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single Repository record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Repository) DisplayColor ¶
func (r *Repository) DisplayColor() string
DisplayColor returns a string of the hex color to use for the topic.
func (*Repository) Insert ¶
func (o *Repository) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*Repository) IsPrivate ¶
func (r *Repository) IsPrivate() bool
IsPrivate is true if the repository is a private repo.
func (Repository) IsResourceIdentifiable ¶
func (Repository) IsResourceIdentifiable()
IsResourceIdentifiable tags Repository as implementing the ResourceIdentifiable interface.
func (*Repository) Links ¶
func (o *Repository) Links(mods ...qm.QueryMod) linkQuery
Links retrieves all the link's Links with an executor.
func (*Repository) Organization ¶
func (o *Repository) Organization(mods ...qm.QueryMod) organizationQuery
Organization pointed to by the foreign key.
func (*Repository) Owner ¶
func (o *Repository) Owner(mods ...qm.QueryMod) userQuery
Owner pointed to by the foreign key.
func (*Repository) Reload ¶
func (o *Repository) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*Repository) RemoveSelectedRepositoryUsers ¶
func (o *Repository) RemoveSelectedRepositoryUsers(ctx context.Context, exec boil.ContextExecutor, related ...*User) error
RemoveSelectedRepositoryUsers relationships from objects passed in. Removes related items from R.SelectedRepositoryUsers (uses pointer comparison, removal does not keep order) Sets related.R.SelectedRepository.
func (*Repository) RootTopic ¶
func (r *Repository) RootTopic( ctx context.Context, exec boil.ContextExecutor, view *View, ) (*TopicValue, error)
RootTopic returns the root topic of the repository.
func (*Repository) SelectedRepositoryUsers ¶
func (o *Repository) SelectedRepositoryUsers(mods ...qm.QueryMod) userQuery
SelectedRepositoryUsers retrieves all the user's Users with an executor via selected_repository_id column.
func (*Repository) SetOrganization ¶
func (o *Repository) SetOrganization(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Organization) error
SetOrganization of the repository to the related item. Sets o.R.Organization to related. Adds o to related.R.Repositories.
func (*Repository) SetOwner ¶
func (o *Repository) SetOwner(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User) error
SetOwner of the repository to the related item. Sets o.R.Owner to related. Adds o to related.R.OwnerRepositories.
func (*Repository) SetSelectedRepositoryUsers ¶
func (o *Repository) SetSelectedRepositoryUsers(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*User) error
SetSelectedRepositoryUsers removes all previously related items of the repository replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.SelectedRepository's SelectedRepositoryUsers accordingly. Replaces o.R.SelectedRepositoryUsers with related. Sets related.R.SelectedRepository's SelectedRepositoryUsers accordingly.
func (Repository) String ¶
func (r Repository) String() string
String returns a string that can be included in logs.
func (*Repository) Topics ¶
func (o *Repository) Topics(mods ...qm.QueryMod) topicQuery
Topics retrieves all the topic's Topics with an executor.
func (*Repository) Update ¶
func (o *Repository) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the Repository. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*Repository) Upsert ¶
func (o *Repository) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
func (*Repository) UserLinks ¶
func (o *Repository) UserLinks(mods ...qm.QueryMod) userLinkQuery
UserLinks retrieves all the user_link's UserLinks with an executor.
type RepositoryConnection ¶
type RepositoryConnection struct {
Edges []*RepositoryEdge `json:"edges"`
}
type RepositoryEdge ¶
type RepositoryEdge struct { Cursor string `json:"cursor"` Node *Repository `json:"node"` IsSelected bool `json:"isSelected"` }
type RepositoryResolver ¶
type RepositoryResolver interface { DisplayName(ctx context.Context, obj *Repository) (string, error) FullName(ctx context.Context, obj *Repository) (string, error) Organization(ctx context.Context, obj *Repository) (*Organization, error) Owner(ctx context.Context, obj *Repository) (*User, error) RootTopic(ctx context.Context, obj *Repository) (*TopicValue, error) }
type RepositorySlice ¶
type RepositorySlice []*Repository
RepositorySlice is an alias for a slice of pointers to Repository. This should almost always be used instead of []Repository.
func (RepositorySlice) DeleteAll ¶
func (o RepositorySlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*RepositorySlice) ReloadAll ¶
func (o *RepositorySlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (RepositorySlice) UpdateAll ¶
func (o RepositorySlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type ResolverRoot ¶
type ResolverRoot interface { Link() LinkResolver Mutation() MutationResolver Organization() OrganizationResolver Query() QueryResolver Repository() RepositoryResolver Synonym() SynonymResolver Topic() TopicResolver User() UserResolver View() ViewResolver }
type ResourceIdentifiable ¶
type ResourceIdentifiable interface {
IsResourceIdentifiable()
}
type ReviewLinkInput ¶
type ReviewLinkPayload ¶
type ReviewLinkPayload struct {
Link *LinkValue `json:"link"`
}
type SchemaMigration ¶
type SchemaMigration struct { Version int64 `boil:"version" json:"version" toml:"version" yaml:"version"` Dirty bool `boil:"dirty" json:"dirty" toml:"dirty" yaml:"dirty"` R *schemaMigrationR `boil:"-" json:"-" toml:"-" yaml:"-"` L schemaMigrationL `boil:"-" json:"-" toml:"-" yaml:"-"` }
SchemaMigration is an object representing the database table.
func FindSchemaMigration ¶
func FindSchemaMigration(ctx context.Context, exec boil.ContextExecutor, version int64, selectCols ...string) (*SchemaMigration, error)
FindSchemaMigration retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*SchemaMigration) Delete ¶
func (o *SchemaMigration) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single SchemaMigration record with an executor. Delete will match against the primary key column to find the record to delete.
func (*SchemaMigration) Insert ¶
func (o *SchemaMigration) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*SchemaMigration) Reload ¶
func (o *SchemaMigration) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*SchemaMigration) Update ¶
func (o *SchemaMigration) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the SchemaMigration. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*SchemaMigration) Upsert ¶
func (o *SchemaMigration) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type SchemaMigrationSlice ¶
type SchemaMigrationSlice []*SchemaMigration
SchemaMigrationSlice is an alias for a slice of pointers to SchemaMigration. This should almost always be used instead of []SchemaMigration.
func (SchemaMigrationSlice) DeleteAll ¶
func (o SchemaMigrationSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*SchemaMigrationSlice) ReloadAll ¶
func (o *SchemaMigrationSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (SchemaMigrationSlice) UpdateAll ¶
func (o SchemaMigrationSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type SearchResultItem ¶
type SearchResultItem interface {
IsSearchResultItem()
}
type SearchResultItemConnection ¶
type SearchResultItemConnection struct {
Edges []*SearchResultItemEdge `json:"edges"`
}
type SearchResultItemEdge ¶
type SearchResultItemEdge struct {
Node SearchResultItem `json:"node"`
}
type SelectRepositoryInput ¶
type SelectRepositoryPayload ¶
type SelectRepositoryPayload struct { Repository *Repository `json:"repository"` Viewer *User `json:"viewer"` }
type Session ¶
type Session struct { SessionID []byte `boil:"session_id" json:"session_id" toml:"session_id" yaml:"session_id"` UserID string `boil:"user_id" json:"user_id" toml:"user_id" yaml:"user_id"` ID string `boil:"id" json:"id" toml:"id" yaml:"id"` R *sessionR `boil:"-" json:"-" toml:"-" yaml:"-"` L sessionL `boil:"-" json:"-" toml:"-" yaml:"-"` }
Session is an object representing the database table.
func FindSession ¶
func FindSession(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*Session, error)
FindSession retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*Session) Delete ¶
Delete deletes a single Session record with an executor. Delete will match against the primary key column to find the record to delete.
func (Session) HexID ¶
HexID provides a hex-encoded version of the session id that can be used for things like setting cookies.
func (*Session) Insert ¶
func (o *Session) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*Session) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*Session) SetUser ¶
func (o *Session) SetUser(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User) error
SetUser of the session to the related item. Sets o.R.User to related. Adds o to related.R.Sessions.
func (*Session) Update ¶
func (o *Session) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the Session. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*Session) Upsert ¶
func (o *Session) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type SessionEdge ¶
type SessionSlice ¶
type SessionSlice []*Session
SessionSlice is an alias for a slice of pointers to Session. This should almost always be used instead of []Session.
func (SessionSlice) DeleteAll ¶
func (o SessionSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*SessionSlice) ReloadAll ¶
func (o *SessionSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (SessionSlice) UpdateAll ¶
func (o SessionSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type Synonym ¶
Synonym holds a single synonym.
func (*Synonym) LocaleIdentifier ¶
func (s *Synonym) LocaleIdentifier() LocaleIdentifier
LocaleIdentifier returns the locale of the synonym.
type SynonymInput ¶
type SynonymList ¶
type SynonymList struct { Values []Synonym // contains filtered or unexported fields }
SynonymList holds the set of synonyms for a topic.
func (*SynonymList) NameForLocale ¶
func (s *SynonymList) NameForLocale(locale LocaleIdentifier) (string, bool)
NameForLocale chooses a suitable topic name from among the available synonyms in light of the current locale.
type SynonymResolver ¶
type SynonymResolver interface {
Locale(ctx context.Context, obj *Synonym) (LocaleIdentifier, error)
}
type TimeRange ¶
type TimeRange struct { StartsAt string `json:"startsAt"` EndsAt *string `json:"endsAt"` PrefixFormat TimeRangePrefixFormat `json:"prefixFormat"` }
type TimeRangeEdge ¶
type TimeRangePrefixFormat ¶
type TimeRangePrefixFormat string
const ( TimeRangePrefixFormatNone TimeRangePrefixFormat = "NONE" TimeRangePrefixFormatStartYear TimeRangePrefixFormat = "START_YEAR" TimeRangePrefixFormatStartYearMonth TimeRangePrefixFormat = "START_YEAR_MONTH" )
func (TimeRangePrefixFormat) IsValid ¶
func (e TimeRangePrefixFormat) IsValid() bool
func (TimeRangePrefixFormat) MarshalGQL ¶
func (e TimeRangePrefixFormat) MarshalGQL(w io.Writer)
func (TimeRangePrefixFormat) String ¶
func (e TimeRangePrefixFormat) String() string
func (*TimeRangePrefixFormat) UnmarshalGQL ¶
func (e *TimeRangePrefixFormat) UnmarshalGQL(v interface{}) error
type Timerange ¶
type Timerange struct { ID string `boil:"id" json:"id" toml:"id" yaml:"id"` StartsAt time.Time `boil:"starts_at" json:"starts_at" toml:"starts_at" yaml:"starts_at"` FinishesAt null.Time `boil:"finishes_at" json:"finishes_at,omitempty" toml:"finishes_at" yaml:"finishes_at,omitempty"` PrefixFormat string `boil:"prefix_format" json:"prefix_format" toml:"prefix_format" yaml:"prefix_format"` R *timerangeR `boil:"-" json:"-" toml:"-" yaml:"-"` L timerangeL `boil:"-" json:"-" toml:"-" yaml:"-"` }
Timerange is an object representing the database table.
func FindTimerange ¶
func FindTimerange(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*Timerange, error)
FindTimerange retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*Timerange) AddTopics ¶
func (o *Timerange) AddTopics(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Topic) error
AddTopics adds the given related objects to the existing relationships of the timerange, optionally inserting them as new records. Appends related to o.R.Topics. Sets related.R.Timerange appropriately.
func (*Timerange) Delete ¶
Delete deletes a single Timerange record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Timerange) Insert ¶
func (o *Timerange) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*Timerange) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*Timerange) RemoveTopics ¶
func (o *Timerange) RemoveTopics(ctx context.Context, exec boil.ContextExecutor, related ...*Topic) error
RemoveTopics relationships from objects passed in. Removes related items from R.Topics (uses pointer comparison, removal does not keep order) Sets related.R.Timerange.
func (*Timerange) SetTopics ¶
func (o *Timerange) SetTopics(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Topic) error
SetTopics removes all previously related items of the timerange replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Timerange's Topics accordingly. Replaces o.R.Topics with related. Sets related.R.Timerange's Topics accordingly.
func (*Timerange) Update ¶
func (o *Timerange) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the Timerange. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*Timerange) Upsert ¶
func (o *Timerange) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type TimerangeSlice ¶
type TimerangeSlice []*Timerange
TimerangeSlice is an alias for a slice of pointers to Timerange. This should almost always be used instead of []Timerange.
func (TimerangeSlice) DeleteAll ¶
func (o TimerangeSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*TimerangeSlice) ReloadAll ¶
func (o *TimerangeSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (TimerangeSlice) UpdateAll ¶
func (o TimerangeSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type Topic ¶
type Topic struct { OrganizationID string `boil:"organization_id" json:"organization_id" toml:"organization_id" yaml:"organization_id"` ID string `boil:"id" json:"id" toml:"id" yaml:"id"` Name string `boil:"name" json:"name" toml:"name" yaml:"name"` Description null.String `boil:"description" json:"description,omitempty" toml:"description" yaml:"description,omitempty"` CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"` UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"` RepositoryID string `boil:"repository_id" json:"repository_id" toml:"repository_id" yaml:"repository_id"` Root bool `boil:"root" json:"root" toml:"root" yaml:"root"` Synonyms types.JSON `boil:"synonyms" json:"synonyms" toml:"synonyms" yaml:"synonyms"` TimerangeID null.String `boil:"timerange_id" json:"timerange_id,omitempty" toml:"timerange_id" yaml:"timerange_id,omitempty"` R *topicR `boil:"-" json:"-" toml:"-" yaml:"-"` L topicL `boil:"-" json:"-" toml:"-" yaml:"-"` }
Topic is an object representing the database table.
func FindTopic ¶
func FindTopic(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*Topic, error)
FindTopic retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*Topic) AddChildLinks ¶
func (o *Topic) AddChildLinks(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Link) error
AddChildLinks adds the given related objects to the existing relationships of the topic, optionally inserting them as new records. Appends related to o.R.ChildLinks. Sets related.R.ParentTopics appropriately.
func (*Topic) AddChildTopicTransitiveClosures ¶
func (o *Topic) AddChildTopicTransitiveClosures(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*TopicTransitiveClosure) error
AddChildTopicTransitiveClosures adds the given related objects to the existing relationships of the topic, optionally inserting them as new records. Appends related to o.R.ChildTopicTransitiveClosures. Sets related.R.Child appropriately.
func (*Topic) AddChildTopics ¶
func (o *Topic) AddChildTopics(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Topic) error
AddChildTopics adds the given related objects to the existing relationships of the topic, optionally inserting them as new records. Appends related to o.R.ChildTopics. Sets related.R.ParentTopics appropriately.
func (*Topic) AddParentLinkTransitiveClosures ¶
func (o *Topic) AddParentLinkTransitiveClosures(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*LinkTransitiveClosure) error
AddParentLinkTransitiveClosures adds the given related objects to the existing relationships of the topic, optionally inserting them as new records. Appends related to o.R.ParentLinkTransitiveClosures. Sets related.R.Parent appropriately.
func (*Topic) AddParentTopicTransitiveClosures ¶
func (o *Topic) AddParentTopicTransitiveClosures(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*TopicTransitiveClosure) error
AddParentTopicTransitiveClosures adds the given related objects to the existing relationships of the topic, optionally inserting them as new records. Appends related to o.R.ParentTopicTransitiveClosures. Sets related.R.Parent appropriately.
func (*Topic) AddParentTopics ¶
func (o *Topic) AddParentTopics(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Topic) error
AddParentTopics adds the given related objects to the existing relationships of the topic, optionally inserting them as new records. Appends related to o.R.ParentTopics. Sets related.R.ChildTopics appropriately.
func (*Topic) AddUserLinkTopics ¶
func (o *Topic) AddUserLinkTopics(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*UserLinkTopic) error
AddUserLinkTopics adds the given related objects to the existing relationships of the topic, optionally inserting them as new records. Appends related to o.R.UserLinkTopics. Sets related.R.Topic appropriately.
func (*Topic) ChildLinks ¶
ChildLinks retrieves all the link's Links with an executor via id column.
func (*Topic) ChildTopicTransitiveClosures ¶
ChildTopicTransitiveClosures retrieves all the topic_transitive_closure's TopicTransitiveClosures with an executor via child_id column.
func (*Topic) ChildTopics ¶
ChildTopics retrieves all the topic's Topics with an executor via id column.
func (*Topic) Delete ¶
Delete deletes a single Topic record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Topic) Insert ¶
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (Topic) IsNamespaceable ¶
func (Topic) IsNamespaceable()
IsNamespaceable tags Topic as implementing the Namespaceable interface.
func (Topic) IsResourceIdentifiable ¶
func (Topic) IsResourceIdentifiable()
IsResourceIdentifiable tags Topic as implementing the ResourceIdentifiable interface.
func (Topic) IsSearchResultItem ¶
func (Topic) IsSearchResultItem()
IsSearchResultItem tags Topic as being in the SearchResultItem union.
func (*Topic) Organization ¶
Organization pointed to by the foreign key.
func (*Topic) ParentLinkTransitiveClosures ¶
ParentLinkTransitiveClosures retrieves all the link_transitive_closure's LinkTransitiveClosures with an executor via parent_id column.
func (*Topic) ParentTopicTransitiveClosures ¶
ParentTopicTransitiveClosures retrieves all the topic_transitive_closure's TopicTransitiveClosures with an executor via parent_id column.
func (*Topic) ParentTopics ¶
ParentTopics retrieves all the topic's Topics with an executor via id column.
func (*Topic) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*Topic) RemoveChildLinks ¶
func (o *Topic) RemoveChildLinks(ctx context.Context, exec boil.ContextExecutor, related ...*Link) error
RemoveChildLinks relationships from objects passed in. Removes related items from R.ChildLinks (uses pointer comparison, removal does not keep order) Sets related.R.ParentTopics.
func (*Topic) RemoveChildTopics ¶
func (o *Topic) RemoveChildTopics(ctx context.Context, exec boil.ContextExecutor, related ...*Topic) error
RemoveChildTopics relationships from objects passed in. Removes related items from R.ChildTopics (uses pointer comparison, removal does not keep order) Sets related.R.ParentTopics.
func (*Topic) RemoveParentTopics ¶
func (o *Topic) RemoveParentTopics(ctx context.Context, exec boil.ContextExecutor, related ...*Topic) error
RemoveParentTopics relationships from objects passed in. Removes related items from R.ParentTopics (uses pointer comparison, removal does not keep order) Sets related.R.ChildTopics.
func (*Topic) RemoveTimerange ¶
func (o *Topic) RemoveTimerange(ctx context.Context, exec boil.ContextExecutor, related *Timerange) error
RemoveTimerange relationship. Sets o.R.Timerange to nil. Removes o from all passed in related items' relationships struct.
func (*Topic) Repository ¶
Repository pointed to by the foreign key.
func (*Topic) SetChildLinks ¶
func (o *Topic) SetChildLinks(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Link) error
SetChildLinks removes all previously related items of the topic replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.ParentTopics's ChildLinks accordingly. Replaces o.R.ChildLinks with related. Sets related.R.ParentTopics's ChildLinks accordingly.
func (*Topic) SetChildTopics ¶
func (o *Topic) SetChildTopics(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Topic) error
SetChildTopics removes all previously related items of the topic replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.ParentTopics's ChildTopics accordingly. Replaces o.R.ChildTopics with related. Sets related.R.ParentTopics's ChildTopics accordingly.
func (*Topic) SetOrganization ¶
func (o *Topic) SetOrganization(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Organization) error
SetOrganization of the topic to the related item. Sets o.R.Organization to related. Adds o to related.R.Topics.
func (*Topic) SetParentTopics ¶
func (o *Topic) SetParentTopics(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Topic) error
SetParentTopics removes all previously related items of the topic replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.ChildTopics's ParentTopics accordingly. Replaces o.R.ParentTopics with related. Sets related.R.ChildTopics's ParentTopics accordingly.
func (*Topic) SetRepository ¶
func (o *Topic) SetRepository(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Repository) error
SetRepository of the topic to the related item. Sets o.R.Repository to related. Adds o to related.R.Topics.
func (*Topic) SetTimerange ¶
func (o *Topic) SetTimerange(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Timerange) error
SetTimerange of the topic to the related item. Sets o.R.Timerange to related. Adds o to related.R.Topics.
func (Topic) SynonymList ¶
func (t Topic) SynonymList() (*SynonymList, error)
SynonymList returns the synonyms json field.
func (*Topic) Update ¶
func (o *Topic) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the Topic. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*Topic) Upsert ¶
func (o *Topic) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
func (*Topic) UserLinkTopics ¶
UserLinkTopics retrieves all the user_link_topic's UserLinkTopics with an executor.
type TopicConnection ¶
type TopicEdge ¶
type TopicEdge struct { Cursor string `json:"cursor"` Node *TopicValue `json:"node"` }
type TopicResolver ¶
type TopicResolver interface { Activity(ctx context.Context, obj *TopicValue, first *int, after *string, last *int, before *string) (*ActivityLineItemConnection, error) AvailableParentTopics(ctx context.Context, obj *TopicValue, searchString *string, first *int, after *string, last *int, before *string) (*TopicConnection, error) ChildTopics(ctx context.Context, obj *TopicValue, searchString *string, first *int, after *string, last *int, before *string) (*TopicConnection, error) CreatedAt(ctx context.Context, obj *TopicValue) (string, error) Description(ctx context.Context, obj *TopicValue) (*string, error) DisplayName(ctx context.Context, obj *TopicValue, timeRange *bool) (string, error) Links(ctx context.Context, obj *TopicValue, first *int, after *string, last *int, before *string, searchString *string, reviewed *bool, descendants *bool) (*LinkConnection, error) Loading(ctx context.Context, obj *TopicValue) (bool, error) Organization(ctx context.Context, obj *TopicValue) (*Organization, error) ParentTopics(ctx context.Context, obj *TopicValue, first *int, after *string, last *int, before *string) (*TopicConnection, error) Repository(ctx context.Context, obj *TopicValue) (*Repository, error) ResourcePath(ctx context.Context, obj *TopicValue) (string, error) Search(ctx context.Context, obj *TopicValue, searchString string, first *int, after *string, last *int, before *string) (*SearchResultItemConnection, error) Synonyms(ctx context.Context, obj *TopicValue) ([]*Synonym, error) TimeRange(ctx context.Context, obj *TopicValue) (*TimeRange, error) UpdatedAt(ctx context.Context, obj *TopicValue) (string, error) ViewerCanDeleteSynonyms(ctx context.Context, obj *TopicValue) (bool, error) ViewerCanUpdate(ctx context.Context, obj *TopicValue) (bool, error) }
type TopicSlice ¶
type TopicSlice []*Topic
TopicSlice is an alias for a slice of pointers to Topic. This should almost always be used instead of []Topic.
func (TopicSlice) DeleteAll ¶
func (o TopicSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*TopicSlice) ReloadAll ¶
func (o *TopicSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (TopicSlice) UpdateAll ¶
func (o TopicSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type TopicTransitiveClosure ¶
type TopicTransitiveClosure struct { ID int `boil:"id" json:"id" toml:"id" yaml:"id"` ParentID string `boil:"parent_id" json:"parent_id" toml:"parent_id" yaml:"parent_id"` ChildID string `boil:"child_id" json:"child_id" toml:"child_id" yaml:"child_id"` R *topicTransitiveClosureR `boil:"-" json:"-" toml:"-" yaml:"-"` L topicTransitiveClosureL `boil:"-" json:"-" toml:"-" yaml:"-"` }
TopicTransitiveClosure is an object representing the database table.
func FindTopicTransitiveClosure ¶
func FindTopicTransitiveClosure(ctx context.Context, exec boil.ContextExecutor, iD int, selectCols ...string) (*TopicTransitiveClosure, error)
FindTopicTransitiveClosure retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*TopicTransitiveClosure) Child ¶
func (o *TopicTransitiveClosure) Child(mods ...qm.QueryMod) topicQuery
Child pointed to by the foreign key.
func (*TopicTransitiveClosure) Delete ¶
func (o *TopicTransitiveClosure) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single TopicTransitiveClosure record with an executor. Delete will match against the primary key column to find the record to delete.
func (*TopicTransitiveClosure) Insert ¶
func (o *TopicTransitiveClosure) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*TopicTransitiveClosure) Parent ¶
func (o *TopicTransitiveClosure) Parent(mods ...qm.QueryMod) topicQuery
Parent pointed to by the foreign key.
func (*TopicTransitiveClosure) Reload ¶
func (o *TopicTransitiveClosure) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*TopicTransitiveClosure) SetChild ¶
func (o *TopicTransitiveClosure) SetChild(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Topic) error
SetChild of the topicTransitiveClosure to the related item. Sets o.R.Child to related. Adds o to related.R.ChildTopicTransitiveClosures.
func (*TopicTransitiveClosure) SetParent ¶
func (o *TopicTransitiveClosure) SetParent(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Topic) error
SetParent of the topicTransitiveClosure to the related item. Sets o.R.Parent to related. Adds o to related.R.ParentTopicTransitiveClosures.
func (*TopicTransitiveClosure) Update ¶
func (o *TopicTransitiveClosure) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the TopicTransitiveClosure. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*TopicTransitiveClosure) Upsert ¶
func (o *TopicTransitiveClosure) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type TopicTransitiveClosureSlice ¶
type TopicTransitiveClosureSlice []*TopicTransitiveClosure
TopicTransitiveClosureSlice is an alias for a slice of pointers to TopicTransitiveClosure. This should almost always be used instead of []TopicTransitiveClosure.
func (TopicTransitiveClosureSlice) DeleteAll ¶
func (o TopicTransitiveClosureSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*TopicTransitiveClosureSlice) ReloadAll ¶
func (o *TopicTransitiveClosureSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (TopicTransitiveClosureSlice) UpdateAll ¶
func (o TopicTransitiveClosureSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type TopicValue ¶
TopicValue wraps a topic with additional fields that are not obtained from the database.
type UpdateLinkTopicsInput ¶
type UpdateLinkTopicsPayload ¶
type UpdateLinkTopicsPayload struct {
Link *LinkValue `json:"link"`
}
type UpdateSynonymsInput ¶
type UpdateSynonymsInput struct { ClientMutationID *string `json:"clientMutationId"` Synonyms []*SynonymInput `json:"synonyms"` TopicID string `json:"topicId"` }
type UpdateSynonymsPayload ¶
type UpdateSynonymsPayload struct { Alerts []*Alert `json:"alerts"` ClientMutationID *string `json:"clientMutationId"` Topic *TopicValue `json:"topic"` }
type UpdateTopicInput ¶
type UpdateTopicParentTopicsPayload ¶
type UpdateTopicParentTopicsPayload struct { Alerts []*Alert `json:"alerts"` Topic *TopicValue `json:"topic"` }
func (UpdateTopicParentTopicsPayload) IsAlertable ¶
func (UpdateTopicParentTopicsPayload) IsAlertable()
type UpdateTopicPayload ¶
type UpdateTopicPayload struct { Alerts []*Alert `json:"alerts"` Topic *TopicValue `json:"topic"` }
type UpsertLinkInput ¶
type UpsertLinkPayload ¶
type UpsertLinkPayload struct { Alerts []*Alert `json:"alerts"` LinkEdge *LinkEdge `json:"linkEdge"` }
func (UpsertLinkPayload) IsAlertable ¶
func (UpsertLinkPayload) IsAlertable()
type UpsertTopicInput ¶
type UpsertTopicPayload ¶
type UpsertTopicPayload struct { Alerts []*Alert `json:"alerts"` TopicEdge *TopicEdge `json:"topicEdge"` }
func (UpsertTopicPayload) IsAlertable ¶
func (UpsertTopicPayload) IsAlertable()
type UpsertTopicTimeRangeInput ¶
type UpsertTopicTimeRangeInput struct { ClientMutationID *string `json:"clientMutationId"` TopicID string `json:"topicId"` StartsAt string `json:"startsAt"` EndsAt *string `json:"endsAt"` PrefixFormat TimeRangePrefixFormat `json:"prefixFormat"` }
type UpsertTopicTimeRangePayload ¶
type UpsertTopicTimeRangePayload struct { Alerts []*Alert `json:"alerts"` TimeRangeEdge *TimeRangeEdge `json:"timeRangeEdge"` Topic *TopicValue `json:"topic"` }
func (UpsertTopicTimeRangePayload) IsAlertable ¶
func (UpsertTopicTimeRangePayload) IsAlertable()
type User ¶
type User struct { ID string `boil:"id" json:"id" toml:"id" yaml:"id"` Name string `boil:"name" json:"name" toml:"name" yaml:"name"` PrimaryEmail string `boil:"primary_email" json:"primary_email" toml:"primary_email" yaml:"primary_email"` CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"` UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"` GithubUsername null.String `boil:"github_username" json:"github_username,omitempty" toml:"github_username" yaml:"github_username,omitempty"` GithubAvatarURL null.String `boil:"github_avatar_url" json:"github_avatar_url,omitempty" toml:"github_avatar_url" yaml:"github_avatar_url,omitempty"` Login null.String `boil:"login" json:"login,omitempty" toml:"login" yaml:"login,omitempty"` SelectedRepositoryID null.String `` /* 139-byte string literal not displayed */ System bool `boil:"system" json:"system" toml:"system" yaml:"system"` AvatarURL null.String `boil:"avatar_url" json:"avatar_url,omitempty" toml:"avatar_url" yaml:"avatar_url,omitempty"` RegisteredAt null.Time `boil:"registered_at" json:"registered_at,omitempty" toml:"registered_at" yaml:"registered_at,omitempty"` R *userR `boil:"-" json:"-" toml:"-" yaml:"-"` L userL `boil:"-" json:"-" toml:"-" yaml:"-"` }
User is an object representing the database table.
func FindUser ¶
func FindUser(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*User, error)
FindUser retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*User) AddGithubAccounts ¶
func (o *User) AddGithubAccounts(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*GithubAccount) error
AddGithubAccounts adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.GithubAccounts. Sets related.R.User appropriately.
func (*User) AddGoogleAccounts ¶
func (o *User) AddGoogleAccounts(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*GoogleAccount) error
AddGoogleAccounts adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.GoogleAccounts. Sets related.R.User appropriately.
func (*User) AddOrganizationMembers ¶
func (o *User) AddOrganizationMembers(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*OrganizationMember) error
AddOrganizationMembers adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.OrganizationMembers. Sets related.R.User appropriately.
func (*User) AddOwnerRepositories ¶
func (o *User) AddOwnerRepositories(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Repository) error
AddOwnerRepositories adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.OwnerRepositories. Sets related.R.Owner appropriately.
func (*User) AddSessions ¶
func (o *User) AddSessions(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Session) error
AddSessions adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.Sessions. Sets related.R.User appropriately.
func (*User) AddUserLinkReviews ¶
func (o *User) AddUserLinkReviews(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*UserLinkReview) error
AddUserLinkReviews adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.UserLinkReviews. Sets related.R.User appropriately.
func (*User) AddUserLinks ¶
func (o *User) AddUserLinks(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*UserLink) error
AddUserLinks adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.UserLinks. Sets related.R.User appropriately.
func (*User) DefaultRepo ¶
func (u *User) DefaultRepo(ctx context.Context, exec boil.ContextExecutor) (*Repository, error)
DefaultRepo returns the user's default repo.
func (User) DefaultView ¶
DefaultView returns a view that can be used in return values for mutations and similar situations
func (*User) Delete ¶
Delete deletes a single User record with an executor. Delete will match against the primary key column to find the record to delete.
func (User) DisplayName ¶
DisplayName returns the name to be used for the user in case the Name field is not set.
func (*User) GithubAccounts ¶
GithubAccounts retrieves all the github_account's GithubAccounts with an executor.
func (*User) GoogleAccounts ¶
GoogleAccounts retrieves all the google_account's GoogleAccounts with an executor.
func (*User) Insert ¶
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*User) OrganizationMembers ¶
OrganizationMembers retrieves all the organization_member's OrganizationMembers with an executor.
func (*User) OwnerRepositories ¶
OwnerRepositories retrieves all the repository's Repositories with an executor via owner_id column.
func (*User) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*User) RemoveSelectedRepository ¶
func (o *User) RemoveSelectedRepository(ctx context.Context, exec boil.ContextExecutor, related *Repository) error
RemoveSelectedRepository relationship. Sets o.R.SelectedRepository to nil. Removes o from all passed in related items' relationships struct.
func (*User) SelectedRepository ¶
SelectedRepository pointed to by the foreign key.
func (*User) SetSelectedRepository ¶
func (o *User) SetSelectedRepository(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Repository) error
SetSelectedRepository of the user to the related item. Sets o.R.SelectedRepository to related. Adds o to related.R.SelectedRepositoryUsers.
func (*User) Update ¶
func (o *User) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the User. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*User) Upsert ¶
func (o *User) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
func (*User) UserLinkReviews ¶
UserLinkReviews retrieves all the user_link_review's UserLinkReviews with an executor.
type UserLink ¶
type UserLink struct { ID string `boil:"id" json:"id" toml:"id" yaml:"id"` OrganizationID string `boil:"organization_id" json:"organization_id" toml:"organization_id" yaml:"organization_id"` RepositoryID string `boil:"repository_id" json:"repository_id" toml:"repository_id" yaml:"repository_id"` UserID string `boil:"user_id" json:"user_id" toml:"user_id" yaml:"user_id"` LinkID string `boil:"link_id" json:"link_id" toml:"link_id" yaml:"link_id"` CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"` Action string `boil:"action" json:"action" toml:"action" yaml:"action"` R *userLinkR `boil:"-" json:"-" toml:"-" yaml:"-"` L userLinkL `boil:"-" json:"-" toml:"-" yaml:"-"` }
UserLink is an object representing the database table.
func FindUserLink ¶
func FindUserLink(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*UserLink, error)
FindUserLink retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*UserLink) AddUserLinkTopics ¶
func (o *UserLink) AddUserLinkTopics(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*UserLinkTopic) error
AddUserLinkTopics adds the given related objects to the existing relationships of the user_link, optionally inserting them as new records. Appends related to o.R.UserLinkTopics. Sets related.R.UserLink appropriately.
func (*UserLink) Delete ¶
Delete deletes a single UserLink record with an executor. Delete will match against the primary key column to find the record to delete.
func (*UserLink) Insert ¶
func (o *UserLink) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*UserLink) Organization ¶
Organization pointed to by the foreign key.
func (*UserLink) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*UserLink) Repository ¶
Repository pointed to by the foreign key.
func (*UserLink) SetLink ¶
func (o *UserLink) SetLink(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Link) error
SetLink of the userLink to the related item. Sets o.R.Link to related. Adds o to related.R.UserLinks.
func (*UserLink) SetOrganization ¶
func (o *UserLink) SetOrganization(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Organization) error
SetOrganization of the userLink to the related item. Sets o.R.Organization to related. Adds o to related.R.UserLinks.
func (*UserLink) SetRepository ¶
func (o *UserLink) SetRepository(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Repository) error
SetRepository of the userLink to the related item. Sets o.R.Repository to related. Adds o to related.R.UserLinks.
func (*UserLink) SetUser ¶
func (o *UserLink) SetUser(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User) error
SetUser of the userLink to the related item. Sets o.R.User to related. Adds o to related.R.UserLinks.
func (*UserLink) Update ¶
func (o *UserLink) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the UserLink. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*UserLink) Upsert ¶
func (o *UserLink) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
func (*UserLink) UserLinkTopics ¶
UserLinkTopics retrieves all the user_link_topic's UserLinkTopics with an executor.
type UserLinkReview ¶
type UserLinkReview struct { UserID string `boil:"user_id" json:"user_id" toml:"user_id" yaml:"user_id"` LinkID string `boil:"link_id" json:"link_id" toml:"link_id" yaml:"link_id"` CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"` UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"` ReviewedAt null.Time `boil:"reviewed_at" json:"reviewed_at,omitempty" toml:"reviewed_at" yaml:"reviewed_at,omitempty"` R *userLinkReviewR `boil:"-" json:"-" toml:"-" yaml:"-"` L userLinkReviewL `boil:"-" json:"-" toml:"-" yaml:"-"` }
UserLinkReview is an object representing the database table.
func FindUserLinkReview ¶
func FindUserLinkReview(ctx context.Context, exec boil.ContextExecutor, userID string, linkID string, selectCols ...string) (*UserLinkReview, error)
FindUserLinkReview retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*UserLinkReview) Delete ¶
func (o *UserLinkReview) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single UserLinkReview record with an executor. Delete will match against the primary key column to find the record to delete.
func (*UserLinkReview) Insert ¶
func (o *UserLinkReview) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*UserLinkReview) Link ¶
func (o *UserLinkReview) Link(mods ...qm.QueryMod) linkQuery
Link pointed to by the foreign key.
func (*UserLinkReview) Reload ¶
func (o *UserLinkReview) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*UserLinkReview) SetLink ¶
func (o *UserLinkReview) SetLink(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Link) error
SetLink of the userLinkReview to the related item. Sets o.R.Link to related. Adds o to related.R.UserLinkReviews.
func (*UserLinkReview) SetUser ¶
func (o *UserLinkReview) SetUser(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User) error
SetUser of the userLinkReview to the related item. Sets o.R.User to related. Adds o to related.R.UserLinkReviews.
func (*UserLinkReview) Update ¶
func (o *UserLinkReview) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the UserLinkReview. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*UserLinkReview) Upsert ¶
func (o *UserLinkReview) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
func (*UserLinkReview) User ¶
func (o *UserLinkReview) User(mods ...qm.QueryMod) userQuery
User pointed to by the foreign key.
type UserLinkReviewSlice ¶
type UserLinkReviewSlice []*UserLinkReview
UserLinkReviewSlice is an alias for a slice of pointers to UserLinkReview. This should almost always be used instead of []UserLinkReview.
func (UserLinkReviewSlice) DeleteAll ¶
func (o UserLinkReviewSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*UserLinkReviewSlice) ReloadAll ¶
func (o *UserLinkReviewSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (UserLinkReviewSlice) UpdateAll ¶
func (o UserLinkReviewSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type UserLinkSlice ¶
type UserLinkSlice []*UserLink
UserLinkSlice is an alias for a slice of pointers to UserLink. This should almost always be used instead of []UserLink.
func (UserLinkSlice) DeleteAll ¶
func (o UserLinkSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*UserLinkSlice) ReloadAll ¶
func (o *UserLinkSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (UserLinkSlice) UpdateAll ¶
func (o UserLinkSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type UserLinkTopic ¶
type UserLinkTopic struct { ID string `boil:"id" json:"id" toml:"id" yaml:"id"` UserLinkID string `boil:"user_link_id" json:"user_link_id" toml:"user_link_id" yaml:"user_link_id"` Action string `boil:"action" json:"action" toml:"action" yaml:"action"` TopicID string `boil:"topic_id" json:"topic_id" toml:"topic_id" yaml:"topic_id"` R *userLinkTopicR `boil:"-" json:"-" toml:"-" yaml:"-"` L userLinkTopicL `boil:"-" json:"-" toml:"-" yaml:"-"` }
UserLinkTopic is an object representing the database table.
func FindUserLinkTopic ¶
func FindUserLinkTopic(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*UserLinkTopic, error)
FindUserLinkTopic retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*UserLinkTopic) Delete ¶
func (o *UserLinkTopic) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single UserLinkTopic record with an executor. Delete will match against the primary key column to find the record to delete.
func (*UserLinkTopic) Insert ¶
func (o *UserLinkTopic) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*UserLinkTopic) Reload ¶
func (o *UserLinkTopic) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*UserLinkTopic) SetTopic ¶
func (o *UserLinkTopic) SetTopic(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Topic) error
SetTopic of the userLinkTopic to the related item. Sets o.R.Topic to related. Adds o to related.R.UserLinkTopics.
func (*UserLinkTopic) SetUserLink ¶
func (o *UserLinkTopic) SetUserLink(ctx context.Context, exec boil.ContextExecutor, insert bool, related *UserLink) error
SetUserLink of the userLinkTopic to the related item. Sets o.R.UserLink to related. Adds o to related.R.UserLinkTopics.
func (*UserLinkTopic) Topic ¶
func (o *UserLinkTopic) Topic(mods ...qm.QueryMod) topicQuery
Topic pointed to by the foreign key.
func (*UserLinkTopic) Update ¶
func (o *UserLinkTopic) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the UserLinkTopic. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*UserLinkTopic) Upsert ¶
func (o *UserLinkTopic) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
func (*UserLinkTopic) UserLink ¶
func (o *UserLinkTopic) UserLink(mods ...qm.QueryMod) userLinkQuery
UserLink pointed to by the foreign key.
type UserLinkTopicSlice ¶
type UserLinkTopicSlice []*UserLinkTopic
UserLinkTopicSlice is an alias for a slice of pointers to UserLinkTopic. This should almost always be used instead of []UserLinkTopic.
func (UserLinkTopicSlice) DeleteAll ¶
func (o UserLinkTopicSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*UserLinkTopicSlice) ReloadAll ¶
func (o *UserLinkTopicSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (UserLinkTopicSlice) UpdateAll ¶
func (o UserLinkTopicSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type UserResolver ¶
type UserResolver interface { AvatarURL(ctx context.Context, obj *User) (string, error) CreatedAt(ctx context.Context, obj *User) (string, error) DefaultRepository(ctx context.Context, obj *User) (*Repository, error) Repositories(ctx context.Context, obj *User, first *int, after *string, last *int, before *string) (*RepositoryConnection, error) SelectedRepository(ctx context.Context, obj *User) (*Repository, error) UpdatedAt(ctx context.Context, obj *User) (string, error) }
type UserSlice ¶
type UserSlice []*User
UserSlice is an alias for a slice of pointers to User. This should almost always be used instead of []User.
type View ¶
type View struct { CurrentOrganizationLogin string CurrentRepository *Repository CurrentRepositoryName *string RepositoryIds []string SearchString *string SessionID string ViewerID string }
View holds config information for what is seen in a given query.
func (View) Filter ¶
Filter filters a query according to the repos that have been selected and that the user can access.
func (*View) RepositoriesSelected ¶
RepositoriesSelected return true if there is at least one selected repository in the view.
func (*View) RepositoryIdsForQuery ¶
func (v *View) RepositoryIdsForQuery() []interface{}
RepositoryIdsForQuery is a helper method that converts respository ids on the view into something that can be used by sqlboiler to query the database.
type ViewResolver ¶
type ViewResolver interface { Activity(ctx context.Context, obj *View, first *int, after *string, last *int, before *string) (*ActivityLineItemConnection, error) DefaultOrganization(ctx context.Context, obj *View) (*Organization, error) Link(ctx context.Context, obj *View, id string) (*LinkValue, error) LinkCount(ctx context.Context, obj *View) (int, error) Links(ctx context.Context, obj *View, searchString *string, first *int, after *string, last *int, before *string, reviewed *bool) (*LinkConnection, error) QueryInfo(ctx context.Context, obj *View) (*QueryInfo, error) Topic(ctx context.Context, obj *View, id string) (*TopicValue, error) TopicCount(ctx context.Context, obj *View) (int, error) TopicGraph(ctx context.Context, obj *View) (*string, error) Topics(ctx context.Context, obj *View, searchString *string, first *int, after *string, last *int, before *string) (*TopicConnection, error) Viewer(ctx context.Context, obj *View) (*User, error) }
Source Files ¶
- boil_queries.go
- boil_table_names.go
- boil_types.go
- boil_view_names.go
- deleted_users.go
- generated.go
- github_accounts.go
- google_accounts.go
- link_transitive_closure.go
- links.go
- models.go
- models_gen.go
- organization_members.go
- organizations.go
- psql_upsert.go
- repositories.go
- schema_migrations.go
- sessions.go
- timeranges.go
- topic_transitive_closure.go
- topics.go
- user_link_reviews.go
- user_link_topics.go
- user_links.go
- users.go
- views.go