Documentation
¶
Index ¶
- Variables
- func MediaUploadExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func MediaUploadExistsP(ctx context.Context, exec boil.ContextExecutor, iD string) bool
- func MediaUploads(mods ...qm.QueryMod) mediaUploadQuery
- func NewQuery(mods ...qm.QueryMod) *queries.Query
- func NormalizedURLExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func NormalizedURLExistsP(ctx context.Context, exec boil.ContextExecutor, iD string) bool
- func NormalizedUrls(mods ...qm.QueryMod) normalizedURLQuery
- func OutgoingEmailExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func OutgoingEmailExistsP(ctx context.Context, exec boil.ContextExecutor, iD string) bool
- func OutgoingEmails(mods ...qm.QueryMod) outgoingEmailQuery
- func PostCommentExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func PostCommentExistsP(ctx context.Context, exec boil.ContextExecutor, iD string) bool
- func PostComments(mods ...qm.QueryMod) postCommentQuery
- func PostExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func PostExistsP(ctx context.Context, exec boil.ContextExecutor, iD string) bool
- func PostPromptExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func PostPromptExistsP(ctx context.Context, exec boil.ContextExecutor, iD string) bool
- func PostPrompts(mods ...qm.QueryMod) postPromptQuery
- func PostShareExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func PostShareExistsP(ctx context.Context, exec boil.ContextExecutor, iD string) bool
- func PostShares(mods ...qm.QueryMod) postShareQuery
- func PostStatExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func PostStatExistsP(ctx context.Context, exec boil.ContextExecutor, iD string) bool
- func PostStats(mods ...qm.QueryMod) postStatQuery
- func Posts(mods ...qm.QueryMod) postQuery
- func RSSFeedExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func RSSFeedExistsP(ctx context.Context, exec boil.ContextExecutor, iD string) bool
- func RSSFeeds(mods ...qm.QueryMod) rssFeedQuery
- func RSSItemExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func RSSItemExistsP(ctx context.Context, exec boil.ContextExecutor, iD string) bool
- func RSSItems(mods ...qm.QueryMod) rssItemQuery
- func SystemSettingExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func SystemSettingExistsP(ctx context.Context, exec boil.ContextExecutor, iD string) bool
- func SystemSettings(mods ...qm.QueryMod) systemSettingQuery
- func UserAPIKeyExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func UserAPIKeyExistsP(ctx context.Context, exec boil.ContextExecutor, iD string) bool
- func UserAPIKeys(mods ...qm.QueryMod) userAPIKeyQuery
- func UserConnectionExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func UserConnectionExistsP(ctx context.Context, exec boil.ContextExecutor, iD string) bool
- func UserConnectionMediationRequestExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func UserConnectionMediationRequestExistsP(ctx context.Context, exec boil.ContextExecutor, iD string) bool
- func UserConnectionMediationRequests(mods ...qm.QueryMod) userConnectionMediationRequestQuery
- func UserConnectionMediatorExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func UserConnectionMediatorExistsP(ctx context.Context, exec boil.ContextExecutor, iD string) bool
- func UserConnectionMediators(mods ...qm.QueryMod) userConnectionMediatorQuery
- func UserConnections(mods ...qm.QueryMod) userConnectionQuery
- func UserExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func UserExistsP(ctx context.Context, exec boil.ContextExecutor, iD string) bool
- func UserFeedItemExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func UserFeedItemExistsP(ctx context.Context, exec boil.ContextExecutor, iD string) bool
- func UserFeedItems(mods ...qm.QueryMod) userFeedItemQuery
- func UserFeedSubscriptionExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func UserFeedSubscriptionExistsP(ctx context.Context, exec boil.ContextExecutor, iD string) bool
- func UserFeedSubscriptions(mods ...qm.QueryMod) userFeedSubscriptionQuery
- func UserInvitationExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func UserInvitationExistsP(ctx context.Context, exec boil.ContextExecutor, iD string) bool
- func UserInvitations(mods ...qm.QueryMod) userInvitationQuery
- func UserSignupRequestExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func UserSignupRequestExistsP(ctx context.Context, exec boil.ContextExecutor, iD string) bool
- func UserSignupRequests(mods ...qm.QueryMod) userSignupRequestQuery
- func UserStyleExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func UserStyleExistsP(ctx context.Context, exec boil.ContextExecutor, iD string) bool
- func UserStyles(mods ...qm.QueryMod) userStyleQuery
- func Users(mods ...qm.QueryMod) userQuery
- func WhitelistedConnectionExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func WhitelistedConnectionExistsP(ctx context.Context, exec boil.ContextExecutor, iD string) bool
- func WhitelistedConnections(mods ...qm.QueryMod) whitelistedConnectionQuery
- type ConnectionMediationDecision
- type ConnectionRequestDecision
- type M
- type MediaUpload
- func (o *MediaUpload) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *MediaUpload) DeleteP(ctx context.Context, exec boil.ContextExecutor) int64
- func (o *MediaUpload) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *MediaUpload) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *MediaUpload) InsertP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns)
- func (o *MediaUpload) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *MediaUpload) ReloadP(ctx context.Context, exec boil.ContextExecutor)
- func (o *MediaUpload) SetUser(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User) error
- func (o *MediaUpload) SetUserP(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User)
- func (o *MediaUpload) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *MediaUpload) UpdateP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) int64
- func (o *MediaUpload) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- func (o *MediaUpload) UpsertP(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...)
- func (o *MediaUpload) User(mods ...qm.QueryMod) userQuery
- type MediaUploadSlice
- func (o MediaUploadSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o MediaUploadSlice) DeleteAllP(ctx context.Context, exec boil.ContextExecutor) int64
- func (o *MediaUploadSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o *MediaUploadSlice) ReloadAllP(ctx context.Context, exec boil.ContextExecutor)
- func (o MediaUploadSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- func (o MediaUploadSlice) UpdateAllP(ctx context.Context, exec boil.ContextExecutor, cols M) int64
- type NormalizedURL
- func (o *NormalizedURL) AddURLPosts(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Post) error
- func (o *NormalizedURL) AddURLPostsP(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Post)
- func (o *NormalizedURL) AddURLRSSItems(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *NormalizedURL) AddURLRSSItemsP(ctx context.Context, exec boil.ContextExecutor, insert bool, ...)
- func (o *NormalizedURL) AddURLUserFeedItems(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *NormalizedURL) AddURLUserFeedItemsP(ctx context.Context, exec boil.ContextExecutor, insert bool, ...)
- func (o *NormalizedURL) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *NormalizedURL) DeleteP(ctx context.Context, exec boil.ContextExecutor) int64
- func (o *NormalizedURL) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *NormalizedURL) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *NormalizedURL) InsertP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns)
- func (o *NormalizedURL) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *NormalizedURL) ReloadP(ctx context.Context, exec boil.ContextExecutor)
- func (o *NormalizedURL) RemoveURLPosts(ctx context.Context, exec boil.ContextExecutor, related ...*Post) error
- func (o *NormalizedURL) RemoveURLPostsP(ctx context.Context, exec boil.ContextExecutor, related ...*Post)
- func (o *NormalizedURL) SetURLPosts(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Post) error
- func (o *NormalizedURL) SetURLPostsP(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Post)
- func (o *NormalizedURL) URLPosts(mods ...qm.QueryMod) postQuery
- func (o *NormalizedURL) URLRSSItems(mods ...qm.QueryMod) rssItemQuery
- func (o *NormalizedURL) URLUserFeedItems(mods ...qm.QueryMod) userFeedItemQuery
- func (o *NormalizedURL) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *NormalizedURL) UpdateP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) int64
- func (o *NormalizedURL) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- func (o *NormalizedURL) UpsertP(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...)
- type NormalizedURLSlice
- func (o NormalizedURLSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o NormalizedURLSlice) DeleteAllP(ctx context.Context, exec boil.ContextExecutor) int64
- func (o *NormalizedURLSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o *NormalizedURLSlice) ReloadAllP(ctx context.Context, exec boil.ContextExecutor)
- func (o NormalizedURLSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- func (o NormalizedURLSlice) UpdateAllP(ctx context.Context, exec boil.ContextExecutor, cols M) int64
- type NullConnectionRequestDecision
- func NewNullConnectionRequestDecision(v ConnectionRequestDecision, valid bool) NullConnectionRequestDecision
- func NullConnectionRequestDecisionFrom(v ConnectionRequestDecision) NullConnectionRequestDecision
- func NullConnectionRequestDecisionFromPtr(v *ConnectionRequestDecision) NullConnectionRequestDecision
- func (e NullConnectionRequestDecision) IsZero() bool
- func (e NullConnectionRequestDecision) MarshalJSON() ([]byte, error)
- func (e NullConnectionRequestDecision) MarshalText() ([]byte, error)
- func (e NullConnectionRequestDecision) Ptr() *ConnectionRequestDecision
- func (e *NullConnectionRequestDecision) Scan(value interface{}) error
- func (e *NullConnectionRequestDecision) SetValid(v ConnectionRequestDecision)
- func (e *NullConnectionRequestDecision) UnmarshalJSON(data []byte) error
- func (e *NullConnectionRequestDecision) UnmarshalText(text []byte) error
- func (e NullConnectionRequestDecision) Value() (driver.Value, error)
- type NullRSSFeedDisableReason
- func (e NullRSSFeedDisableReason) IsZero() bool
- func (e NullRSSFeedDisableReason) MarshalJSON() ([]byte, error)
- func (e NullRSSFeedDisableReason) MarshalText() ([]byte, error)
- func (e NullRSSFeedDisableReason) Ptr() *RSSFeedDisableReason
- func (e *NullRSSFeedDisableReason) Scan(value interface{}) error
- func (e *NullRSSFeedDisableReason) SetValid(v RSSFeedDisableReason)
- func (e *NullRSSFeedDisableReason) UnmarshalJSON(data []byte) error
- func (e *NullRSSFeedDisableReason) UnmarshalText(text []byte) error
- func (e NullRSSFeedDisableReason) Value() (driver.Value, error)
- type OutgoingEmail
- func (o *OutgoingEmail) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *OutgoingEmail) DeleteP(ctx context.Context, exec boil.ContextExecutor) int64
- func (o *OutgoingEmail) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *OutgoingEmail) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *OutgoingEmail) InsertP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns)
- func (o *OutgoingEmail) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *OutgoingEmail) ReloadP(ctx context.Context, exec boil.ContextExecutor)
- func (o *OutgoingEmail) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *OutgoingEmail) UpdateP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) int64
- func (o *OutgoingEmail) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- func (o *OutgoingEmail) UpsertP(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...)
- type OutgoingEmailSlice
- func (o OutgoingEmailSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o OutgoingEmailSlice) DeleteAllP(ctx context.Context, exec boil.ContextExecutor) int64
- func (o *OutgoingEmailSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o *OutgoingEmailSlice) ReloadAllP(ctx context.Context, exec boil.ContextExecutor)
- func (o OutgoingEmailSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- func (o OutgoingEmailSlice) UpdateAllP(ctx context.Context, exec boil.ContextExecutor, cols M) int64
- type OutgoingEmailStatus
- type Post
- func (o *Post) AddPostComments(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Post) AddPostCommentsP(ctx context.Context, exec boil.ContextExecutor, insert bool, ...)
- func (o *Post) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *Post) DeleteP(ctx context.Context, exec boil.ContextExecutor) int64
- func (o *Post) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *Post) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *Post) InsertP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns)
- func (o *Post) PostComments(mods ...qm.QueryMod) postCommentQuery
- func (o *Post) PostPrompt(mods ...qm.QueryMod) postPromptQuery
- func (o *Post) PostShare(mods ...qm.QueryMod) postShareQuery
- func (o *Post) PostStat(mods ...qm.QueryMod) postStatQuery
- func (o *Post) RSSItem(mods ...qm.QueryMod) rssItemQuery
- func (o *Post) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Post) ReloadP(ctx context.Context, exec boil.ContextExecutor)
- func (o *Post) RemovePostPrompt(ctx context.Context, exec boil.ContextExecutor, related *PostPrompt) error
- func (o *Post) RemovePostPromptP(ctx context.Context, exec boil.ContextExecutor, related *PostPrompt)
- func (o *Post) RemoveRSSItem(ctx context.Context, exec boil.ContextExecutor, related *RSSItem) error
- func (o *Post) RemoveRSSItemP(ctx context.Context, exec boil.ContextExecutor, related *RSSItem)
- func (o *Post) RemoveURL(ctx context.Context, exec boil.ContextExecutor, related *NormalizedURL) error
- func (o *Post) RemoveURLP(ctx context.Context, exec boil.ContextExecutor, related *NormalizedURL)
- func (o *Post) SetPostPrompt(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Post) SetPostPromptP(ctx context.Context, exec boil.ContextExecutor, insert bool, ...)
- func (o *Post) SetPostShare(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Post) SetPostShareP(ctx context.Context, exec boil.ContextExecutor, insert bool, ...)
- func (o *Post) SetPostStat(ctx context.Context, exec boil.ContextExecutor, insert bool, related *PostStat) error
- func (o *Post) SetPostStatP(ctx context.Context, exec boil.ContextExecutor, insert bool, related *PostStat)
- func (o *Post) SetRSSItem(ctx context.Context, exec boil.ContextExecutor, insert bool, related *RSSItem) error
- func (o *Post) SetRSSItemP(ctx context.Context, exec boil.ContextExecutor, insert bool, related *RSSItem)
- func (o *Post) SetURL(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Post) SetURLP(ctx context.Context, exec boil.ContextExecutor, insert bool, ...)
- func (o *Post) SetUser(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User) error
- func (o *Post) SetUserP(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User)
- func (o *Post) URL(mods ...qm.QueryMod) normalizedURLQuery
- func (o *Post) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *Post) UpdateP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) int64
- func (o *Post) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- func (o *Post) UpsertP(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...)
- func (o *Post) User(mods ...qm.QueryMod) userQuery
- type PostComment
- func (o *PostComment) AddParentCommentPostComments(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *PostComment) AddParentCommentPostCommentsP(ctx context.Context, exec boil.ContextExecutor, insert bool, ...)
- func (o *PostComment) AddTopCommentPostComments(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *PostComment) AddTopCommentPostCommentsP(ctx context.Context, exec boil.ContextExecutor, insert bool, ...)
- func (o *PostComment) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *PostComment) DeleteP(ctx context.Context, exec boil.ContextExecutor) int64
- func (o *PostComment) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *PostComment) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *PostComment) InsertP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns)
- func (o *PostComment) ParentComment(mods ...qm.QueryMod) postCommentQuery
- func (o *PostComment) ParentCommentPostComments(mods ...qm.QueryMod) postCommentQuery
- func (o *PostComment) Post(mods ...qm.QueryMod) postQuery
- func (o *PostComment) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *PostComment) ReloadP(ctx context.Context, exec boil.ContextExecutor)
- func (o *PostComment) RemoveParentComment(ctx context.Context, exec boil.ContextExecutor, related *PostComment) error
- func (o *PostComment) RemoveParentCommentP(ctx context.Context, exec boil.ContextExecutor, related *PostComment)
- func (o *PostComment) RemoveParentCommentPostComments(ctx context.Context, exec boil.ContextExecutor, related ...*PostComment) error
- func (o *PostComment) RemoveParentCommentPostCommentsP(ctx context.Context, exec boil.ContextExecutor, related ...*PostComment)
- func (o *PostComment) SetParentComment(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *PostComment) SetParentCommentP(ctx context.Context, exec boil.ContextExecutor, insert bool, ...)
- func (o *PostComment) SetParentCommentPostComments(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *PostComment) SetParentCommentPostCommentsP(ctx context.Context, exec boil.ContextExecutor, insert bool, ...)
- func (o *PostComment) SetPost(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Post) error
- func (o *PostComment) SetPostP(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Post)
- func (o *PostComment) SetTopComment(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *PostComment) SetTopCommentP(ctx context.Context, exec boil.ContextExecutor, insert bool, ...)
- func (o *PostComment) SetUser(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User) error
- func (o *PostComment) SetUserP(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User)
- func (o *PostComment) TopComment(mods ...qm.QueryMod) postCommentQuery
- func (o *PostComment) TopCommentPostComments(mods ...qm.QueryMod) postCommentQuery
- func (o *PostComment) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *PostComment) UpdateP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) int64
- func (o *PostComment) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- func (o *PostComment) UpsertP(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...)
- func (o *PostComment) User(mods ...qm.QueryMod) userQuery
- type PostCommentSlice
- func (o PostCommentSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o PostCommentSlice) DeleteAllP(ctx context.Context, exec boil.ContextExecutor) int64
- func (o *PostCommentSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o *PostCommentSlice) ReloadAllP(ctx context.Context, exec boil.ContextExecutor)
- func (o PostCommentSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- func (o PostCommentSlice) UpdateAllP(ctx context.Context, exec boil.ContextExecutor, cols M) int64
- type PostPrompt
- func (o *PostPrompt) Asker(mods ...qm.QueryMod) userQuery
- func (o *PostPrompt) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *PostPrompt) DeleteP(ctx context.Context, exec boil.ContextExecutor) int64
- func (o *PostPrompt) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *PostPrompt) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *PostPrompt) InsertP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns)
- func (o *PostPrompt) Post(mods ...qm.QueryMod) postQuery
- func (o *PostPrompt) Recipient(mods ...qm.QueryMod) userQuery
- func (o *PostPrompt) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *PostPrompt) ReloadP(ctx context.Context, exec boil.ContextExecutor)
- func (o *PostPrompt) RemovePost(ctx context.Context, exec boil.ContextExecutor, related *Post) error
- func (o *PostPrompt) RemovePostP(ctx context.Context, exec boil.ContextExecutor, related *Post)
- func (o *PostPrompt) SetAsker(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User) error
- func (o *PostPrompt) SetAskerP(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User)
- func (o *PostPrompt) SetPost(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Post) error
- func (o *PostPrompt) SetPostP(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Post)
- func (o *PostPrompt) SetRecipient(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User) error
- func (o *PostPrompt) SetRecipientP(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User)
- func (o *PostPrompt) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *PostPrompt) UpdateP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) int64
- func (o *PostPrompt) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- func (o *PostPrompt) UpsertP(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...)
- type PostPromptSlice
- func (o PostPromptSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o PostPromptSlice) DeleteAllP(ctx context.Context, exec boil.ContextExecutor) int64
- func (o *PostPromptSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o *PostPromptSlice) ReloadAllP(ctx context.Context, exec boil.ContextExecutor)
- func (o PostPromptSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- func (o PostPromptSlice) UpdateAllP(ctx context.Context, exec boil.ContextExecutor, cols M) int64
- type PostShare
- func (o *PostShare) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *PostShare) DeleteP(ctx context.Context, exec boil.ContextExecutor) int64
- func (o *PostShare) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *PostShare) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *PostShare) InsertP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns)
- func (o *PostShare) Post(mods ...qm.QueryMod) postQuery
- func (o *PostShare) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *PostShare) ReloadP(ctx context.Context, exec boil.ContextExecutor)
- func (o *PostShare) SetPost(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Post) error
- func (o *PostShare) SetPostP(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Post)
- func (o *PostShare) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *PostShare) UpdateP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) int64
- func (o *PostShare) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- func (o *PostShare) UpsertP(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...)
- type PostShareSlice
- func (o PostShareSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o PostShareSlice) DeleteAllP(ctx context.Context, exec boil.ContextExecutor) int64
- func (o *PostShareSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o *PostShareSlice) ReloadAllP(ctx context.Context, exec boil.ContextExecutor)
- func (o PostShareSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- func (o PostShareSlice) UpdateAllP(ctx context.Context, exec boil.ContextExecutor, cols M) int64
- type PostSlice
- func (o PostSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o PostSlice) DeleteAllP(ctx context.Context, exec boil.ContextExecutor) int64
- func (o *PostSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o *PostSlice) ReloadAllP(ctx context.Context, exec boil.ContextExecutor)
- func (o PostSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- func (o PostSlice) UpdateAllP(ctx context.Context, exec boil.ContextExecutor, cols M) int64
- type PostStat
- func (o *PostStat) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *PostStat) DeleteP(ctx context.Context, exec boil.ContextExecutor) int64
- func (o *PostStat) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *PostStat) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *PostStat) InsertP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns)
- func (o *PostStat) Post(mods ...qm.QueryMod) postQuery
- func (o *PostStat) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *PostStat) ReloadP(ctx context.Context, exec boil.ContextExecutor)
- func (o *PostStat) SetPost(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Post) error
- func (o *PostStat) SetPostP(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Post)
- func (o *PostStat) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *PostStat) UpdateP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) int64
- func (o *PostStat) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- func (o *PostStat) UpsertP(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...)
- type PostStatSlice
- func (o PostStatSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o PostStatSlice) DeleteAllP(ctx context.Context, exec boil.ContextExecutor) int64
- func (o *PostStatSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o *PostStatSlice) ReloadAllP(ctx context.Context, exec boil.ContextExecutor)
- func (o PostStatSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- func (o PostStatSlice) UpdateAllP(ctx context.Context, exec boil.ContextExecutor, cols M) int64
- type PostVisibility
- type ProfileVisibility
- type RSSFeed
- func (o *RSSFeed) AddFeedRSSItems(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *RSSFeed) AddFeedRSSItemsP(ctx context.Context, exec boil.ContextExecutor, insert bool, ...)
- func (o *RSSFeed) AddFeedUserFeedSubscriptions(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *RSSFeed) AddFeedUserFeedSubscriptionsP(ctx context.Context, exec boil.ContextExecutor, insert bool, ...)
- func (o *RSSFeed) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *RSSFeed) DeleteP(ctx context.Context, exec boil.ContextExecutor) int64
- func (o *RSSFeed) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *RSSFeed) FeedRSSItems(mods ...qm.QueryMod) rssItemQuery
- func (o *RSSFeed) FeedUserFeedSubscriptions(mods ...qm.QueryMod) userFeedSubscriptionQuery
- func (o *RSSFeed) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *RSSFeed) InsertP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns)
- func (o *RSSFeed) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *RSSFeed) ReloadP(ctx context.Context, exec boil.ContextExecutor)
- func (o *RSSFeed) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *RSSFeed) UpdateP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) int64
- func (o *RSSFeed) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- func (o *RSSFeed) UpsertP(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...)
- type RSSFeedDisableReason
- type RSSFeedSlice
- func (o RSSFeedSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o RSSFeedSlice) DeleteAllP(ctx context.Context, exec boil.ContextExecutor) int64
- func (o *RSSFeedSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o *RSSFeedSlice) ReloadAllP(ctx context.Context, exec boil.ContextExecutor)
- func (o RSSFeedSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- func (o RSSFeedSlice) UpdateAllP(ctx context.Context, exec boil.ContextExecutor, cols M) int64
- type RSSItem
- func (o *RSSItem) AddPosts(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Post) error
- func (o *RSSItem) AddPostsP(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Post)
- func (o *RSSItem) AddUserFeedItems(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *RSSItem) AddUserFeedItemsP(ctx context.Context, exec boil.ContextExecutor, insert bool, ...)
- func (o *RSSItem) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *RSSItem) DeleteP(ctx context.Context, exec boil.ContextExecutor) int64
- func (o *RSSItem) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *RSSItem) Feed(mods ...qm.QueryMod) rssFeedQuery
- func (o *RSSItem) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *RSSItem) InsertP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns)
- func (o *RSSItem) Posts(mods ...qm.QueryMod) postQuery
- func (o *RSSItem) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *RSSItem) ReloadP(ctx context.Context, exec boil.ContextExecutor)
- func (o *RSSItem) RemovePosts(ctx context.Context, exec boil.ContextExecutor, related ...*Post) error
- func (o *RSSItem) RemovePostsP(ctx context.Context, exec boil.ContextExecutor, related ...*Post)
- func (o *RSSItem) SetFeed(ctx context.Context, exec boil.ContextExecutor, insert bool, related *RSSFeed) error
- func (o *RSSItem) SetFeedP(ctx context.Context, exec boil.ContextExecutor, insert bool, related *RSSFeed)
- func (o *RSSItem) SetPosts(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Post) error
- func (o *RSSItem) SetPostsP(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Post)
- func (o *RSSItem) SetURL(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *RSSItem) SetURLP(ctx context.Context, exec boil.ContextExecutor, insert bool, ...)
- func (o *RSSItem) URL(mods ...qm.QueryMod) normalizedURLQuery
- func (o *RSSItem) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *RSSItem) UpdateP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) int64
- func (o *RSSItem) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- func (o *RSSItem) UpsertP(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...)
- func (o *RSSItem) UserFeedItems(mods ...qm.QueryMod) userFeedItemQuery
- type RSSItemSlice
- func (o RSSItemSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o RSSItemSlice) DeleteAllP(ctx context.Context, exec boil.ContextExecutor) int64
- func (o *RSSItemSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o *RSSItemSlice) ReloadAllP(ctx context.Context, exec boil.ContextExecutor)
- func (o RSSItemSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- func (o RSSItemSlice) UpdateAllP(ctx context.Context, exec boil.ContextExecutor, cols M) int64
- type SystemSetting
- func (o *SystemSetting) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *SystemSetting) DeleteP(ctx context.Context, exec boil.ContextExecutor) int64
- func (o *SystemSetting) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *SystemSetting) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *SystemSetting) InsertP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns)
- func (o *SystemSetting) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *SystemSetting) ReloadP(ctx context.Context, exec boil.ContextExecutor)
- func (o *SystemSetting) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *SystemSetting) UpdateP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) int64
- func (o *SystemSetting) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- func (o *SystemSetting) UpsertP(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...)
- type SystemSettingSlice
- func (o SystemSettingSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o SystemSettingSlice) DeleteAllP(ctx context.Context, exec boil.ContextExecutor) int64
- func (o *SystemSettingSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o *SystemSettingSlice) ReloadAllP(ctx context.Context, exec boil.ContextExecutor)
- func (o SystemSettingSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- func (o SystemSettingSlice) UpdateAllP(ctx context.Context, exec boil.ContextExecutor, cols M) int64
- type UpsertOptionFunc
- type UpsertOptions
- type User
- func (o *User) AddAllowsWhoWhitelistedConnections(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *User) AddAllowsWhoWhitelistedConnectionsP(ctx context.Context, exec boil.ContextExecutor, insert bool, ...)
- func (o *User) AddAskerPostPrompts(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *User) AddAskerPostPromptsP(ctx context.Context, exec boil.ContextExecutor, insert bool, ...)
- func (o *User) AddCreatedUserUserInvitations(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *User) AddCreatedUserUserInvitationsP(ctx context.Context, exec boil.ContextExecutor, insert bool, ...)
- func (o *User) AddCreatedUserUserSignupRequests(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *User) AddCreatedUserUserSignupRequestsP(ctx context.Context, exec boil.ContextExecutor, insert bool, ...)
- func (o *User) AddMediaUploads(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *User) AddMediaUploadsP(ctx context.Context, exec boil.ContextExecutor, insert bool, ...)
- func (o *User) AddPostComments(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *User) AddPostCommentsP(ctx context.Context, exec boil.ContextExecutor, insert bool, ...)
- func (o *User) AddPosts(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Post) error
- func (o *User) AddPostsP(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Post)
- func (o *User) AddRecipientPostPrompts(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *User) AddRecipientPostPromptsP(ctx context.Context, exec boil.ContextExecutor, insert bool, ...)
- func (o *User) AddTargetUserUserConnectionMediationRequests(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *User) AddTargetUserUserConnectionMediationRequestsP(ctx context.Context, exec boil.ContextExecutor, insert bool, ...)
- func (o *User) AddUser1UserConnections(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *User) AddUser1UserConnectionsP(ctx context.Context, exec boil.ContextExecutor, insert bool, ...)
- func (o *User) AddUser2UserConnections(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *User) AddUser2UserConnectionsP(ctx context.Context, exec boil.ContextExecutor, insert bool, ...)
- func (o *User) AddUserConnectionMediators(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *User) AddUserConnectionMediatorsP(ctx context.Context, exec boil.ContextExecutor, insert bool, ...)
- func (o *User) AddUserFeedItems(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *User) AddUserFeedItemsP(ctx context.Context, exec boil.ContextExecutor, insert bool, ...)
- func (o *User) AddUserFeedSubscriptions(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *User) AddUserFeedSubscriptionsP(ctx context.Context, exec boil.ContextExecutor, insert bool, ...)
- func (o *User) AddUserInvitations(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *User) AddUserInvitationsP(ctx context.Context, exec boil.ContextExecutor, insert bool, ...)
- func (o *User) AddWhoUserUserConnectionMediationRequests(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *User) AddWhoUserUserConnectionMediationRequestsP(ctx context.Context, exec boil.ContextExecutor, insert bool, ...)
- func (o *User) AddWhoWhitelistedConnections(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *User) AddWhoWhitelistedConnectionsP(ctx context.Context, exec boil.ContextExecutor, insert bool, ...)
- func (o *User) AllowsWhoWhitelistedConnections(mods ...qm.QueryMod) whitelistedConnectionQuery
- func (o *User) AskerPostPrompts(mods ...qm.QueryMod) postPromptQuery
- func (o *User) CreatedUserUserInvitations(mods ...qm.QueryMod) userInvitationQuery
- func (o *User) CreatedUserUserSignupRequests(mods ...qm.QueryMod) userSignupRequestQuery
- func (o *User) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *User) DeleteP(ctx context.Context, exec boil.ContextExecutor) int64
- func (o *User) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *User) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *User) InsertP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns)
- func (o *User) MediaUploads(mods ...qm.QueryMod) mediaUploadQuery
- func (o *User) PostComments(mods ...qm.QueryMod) postCommentQuery
- func (o *User) Posts(mods ...qm.QueryMod) postQuery
- func (o *User) RecipientPostPrompts(mods ...qm.QueryMod) postPromptQuery
- func (o *User) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *User) ReloadP(ctx context.Context, exec boil.ContextExecutor)
- func (o *User) RemoveCreatedUserUserInvitations(ctx context.Context, exec boil.ContextExecutor, related ...*UserInvitation) error
- func (o *User) RemoveCreatedUserUserInvitationsP(ctx context.Context, exec boil.ContextExecutor, related ...*UserInvitation)
- func (o *User) RemoveCreatedUserUserSignupRequests(ctx context.Context, exec boil.ContextExecutor, related ...*UserSignupRequest) error
- func (o *User) RemoveCreatedUserUserSignupRequestsP(ctx context.Context, exec boil.ContextExecutor, related ...*UserSignupRequest)
- func (o *User) SetCreatedUserUserInvitations(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *User) SetCreatedUserUserInvitationsP(ctx context.Context, exec boil.ContextExecutor, insert bool, ...)
- func (o *User) SetCreatedUserUserSignupRequests(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *User) SetCreatedUserUserSignupRequestsP(ctx context.Context, exec boil.ContextExecutor, insert bool, ...)
- func (o *User) SetUserAPIKey(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *User) SetUserAPIKeyP(ctx context.Context, exec boil.ContextExecutor, insert bool, ...)
- func (o *User) SetUserStyle(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *User) SetUserStyleP(ctx context.Context, exec boil.ContextExecutor, insert bool, ...)
- func (o *User) TargetUserUserConnectionMediationRequests(mods ...qm.QueryMod) userConnectionMediationRequestQuery
- func (o *User) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *User) UpdateP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) int64
- func (o *User) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- func (o *User) UpsertP(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...)
- func (o *User) User1UserConnections(mods ...qm.QueryMod) userConnectionQuery
- func (o *User) User2UserConnections(mods ...qm.QueryMod) userConnectionQuery
- func (o *User) UserAPIKey(mods ...qm.QueryMod) userAPIKeyQuery
- func (o *User) UserConnectionMediators(mods ...qm.QueryMod) userConnectionMediatorQuery
- func (o *User) UserFeedItems(mods ...qm.QueryMod) userFeedItemQuery
- func (o *User) UserFeedSubscriptions(mods ...qm.QueryMod) userFeedSubscriptionQuery
- func (o *User) UserInvitations(mods ...qm.QueryMod) userInvitationQuery
- func (o *User) UserStyle(mods ...qm.QueryMod) userStyleQuery
- func (o *User) WhoUserUserConnectionMediationRequests(mods ...qm.QueryMod) userConnectionMediationRequestQuery
- func (o *User) WhoWhitelistedConnections(mods ...qm.QueryMod) whitelistedConnectionQuery
- type UserAPIKey
- func (o *UserAPIKey) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *UserAPIKey) DeleteP(ctx context.Context, exec boil.ContextExecutor) int64
- func (o *UserAPIKey) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *UserAPIKey) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *UserAPIKey) InsertP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns)
- func (o *UserAPIKey) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *UserAPIKey) ReloadP(ctx context.Context, exec boil.ContextExecutor)
- func (o *UserAPIKey) SetUser(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User) error
- func (o *UserAPIKey) SetUserP(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User)
- func (o *UserAPIKey) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *UserAPIKey) UpdateP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) int64
- func (o *UserAPIKey) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- func (o *UserAPIKey) UpsertP(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...)
- func (o *UserAPIKey) User(mods ...qm.QueryMod) userQuery
- type UserAPIKeySlice
- func (o UserAPIKeySlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o UserAPIKeySlice) DeleteAllP(ctx context.Context, exec boil.ContextExecutor) int64
- func (o *UserAPIKeySlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o *UserAPIKeySlice) ReloadAllP(ctx context.Context, exec boil.ContextExecutor)
- func (o UserAPIKeySlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- func (o UserAPIKeySlice) UpdateAllP(ctx context.Context, exec boil.ContextExecutor, cols M) int64
- type UserConnection
- func (o *UserConnection) ConnectionUserConnectionMediationRequest(mods ...qm.QueryMod) userConnectionMediationRequestQuery
- func (o *UserConnection) ConnectionWhitelistedConnection(mods ...qm.QueryMod) whitelistedConnectionQuery
- func (o *UserConnection) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *UserConnection) DeleteP(ctx context.Context, exec boil.ContextExecutor) int64
- func (o *UserConnection) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *UserConnection) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *UserConnection) InsertP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns)
- func (o *UserConnection) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *UserConnection) ReloadP(ctx context.Context, exec boil.ContextExecutor)
- func (o *UserConnection) RemoveConnectionUserConnectionMediationRequest(ctx context.Context, exec boil.ContextExecutor, ...) error
- func (o *UserConnection) RemoveConnectionUserConnectionMediationRequestP(ctx context.Context, exec boil.ContextExecutor, ...)
- func (o *UserConnection) RemoveConnectionWhitelistedConnection(ctx context.Context, exec boil.ContextExecutor, related *WhitelistedConnection) error
- func (o *UserConnection) RemoveConnectionWhitelistedConnectionP(ctx context.Context, exec boil.ContextExecutor, related *WhitelistedConnection)
- func (o *UserConnection) SetConnectionUserConnectionMediationRequest(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *UserConnection) SetConnectionUserConnectionMediationRequestP(ctx context.Context, exec boil.ContextExecutor, insert bool, ...)
- func (o *UserConnection) SetConnectionWhitelistedConnection(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *UserConnection) SetConnectionWhitelistedConnectionP(ctx context.Context, exec boil.ContextExecutor, insert bool, ...)
- func (o *UserConnection) SetUser1(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User) error
- func (o *UserConnection) SetUser1P(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User)
- func (o *UserConnection) SetUser2(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User) error
- func (o *UserConnection) SetUser2P(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User)
- func (o *UserConnection) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *UserConnection) UpdateP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) int64
- func (o *UserConnection) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- func (o *UserConnection) UpsertP(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...)
- func (o *UserConnection) User1(mods ...qm.QueryMod) userQuery
- func (o *UserConnection) User2(mods ...qm.QueryMod) userQuery
- type UserConnectionMediationRequest
- func (o *UserConnectionMediationRequest) AddMediationUserConnectionMediators(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *UserConnectionMediationRequest) AddMediationUserConnectionMediatorsP(ctx context.Context, exec boil.ContextExecutor, insert bool, ...)
- func (o *UserConnectionMediationRequest) Connection(mods ...qm.QueryMod) userConnectionQuery
- func (o *UserConnectionMediationRequest) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *UserConnectionMediationRequest) DeleteP(ctx context.Context, exec boil.ContextExecutor) int64
- func (o *UserConnectionMediationRequest) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *UserConnectionMediationRequest) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *UserConnectionMediationRequest) InsertP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns)
- func (o *UserConnectionMediationRequest) MediationUserConnectionMediators(mods ...qm.QueryMod) userConnectionMediatorQuery
- func (o *UserConnectionMediationRequest) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *UserConnectionMediationRequest) ReloadP(ctx context.Context, exec boil.ContextExecutor)
- func (o *UserConnectionMediationRequest) RemoveConnection(ctx context.Context, exec boil.ContextExecutor, related *UserConnection) error
- func (o *UserConnectionMediationRequest) RemoveConnectionP(ctx context.Context, exec boil.ContextExecutor, related *UserConnection)
- func (o *UserConnectionMediationRequest) SetConnection(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *UserConnectionMediationRequest) SetConnectionP(ctx context.Context, exec boil.ContextExecutor, insert bool, ...)
- func (o *UserConnectionMediationRequest) SetTargetUser(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User) error
- func (o *UserConnectionMediationRequest) SetTargetUserP(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User)
- func (o *UserConnectionMediationRequest) SetWhoUser(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User) error
- func (o *UserConnectionMediationRequest) SetWhoUserP(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User)
- func (o *UserConnectionMediationRequest) TargetUser(mods ...qm.QueryMod) userQuery
- func (o *UserConnectionMediationRequest) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *UserConnectionMediationRequest) UpdateP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) int64
- func (o *UserConnectionMediationRequest) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- func (o *UserConnectionMediationRequest) UpsertP(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...)
- func (o *UserConnectionMediationRequest) WhoUser(mods ...qm.QueryMod) userQuery
- type UserConnectionMediationRequestSlice
- func (o UserConnectionMediationRequestSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o UserConnectionMediationRequestSlice) DeleteAllP(ctx context.Context, exec boil.ContextExecutor) int64
- func (o *UserConnectionMediationRequestSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o *UserConnectionMediationRequestSlice) ReloadAllP(ctx context.Context, exec boil.ContextExecutor)
- func (o UserConnectionMediationRequestSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- func (o UserConnectionMediationRequestSlice) UpdateAllP(ctx context.Context, exec boil.ContextExecutor, cols M) int64
- type UserConnectionMediator
- func (o *UserConnectionMediator) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *UserConnectionMediator) DeleteP(ctx context.Context, exec boil.ContextExecutor) int64
- func (o *UserConnectionMediator) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *UserConnectionMediator) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *UserConnectionMediator) InsertP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns)
- func (o *UserConnectionMediator) Mediation(mods ...qm.QueryMod) userConnectionMediationRequestQuery
- func (o *UserConnectionMediator) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *UserConnectionMediator) ReloadP(ctx context.Context, exec boil.ContextExecutor)
- func (o *UserConnectionMediator) SetMediation(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *UserConnectionMediator) SetMediationP(ctx context.Context, exec boil.ContextExecutor, insert bool, ...)
- func (o *UserConnectionMediator) SetUser(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User) error
- func (o *UserConnectionMediator) SetUserP(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User)
- func (o *UserConnectionMediator) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *UserConnectionMediator) UpdateP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) int64
- func (o *UserConnectionMediator) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- func (o *UserConnectionMediator) UpsertP(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...)
- func (o *UserConnectionMediator) User(mods ...qm.QueryMod) userQuery
- type UserConnectionMediatorSlice
- func (o UserConnectionMediatorSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o UserConnectionMediatorSlice) DeleteAllP(ctx context.Context, exec boil.ContextExecutor) int64
- func (o *UserConnectionMediatorSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o *UserConnectionMediatorSlice) ReloadAllP(ctx context.Context, exec boil.ContextExecutor)
- func (o UserConnectionMediatorSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- func (o UserConnectionMediatorSlice) UpdateAllP(ctx context.Context, exec boil.ContextExecutor, cols M) int64
- type UserConnectionSlice
- func (o UserConnectionSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o UserConnectionSlice) DeleteAllP(ctx context.Context, exec boil.ContextExecutor) int64
- func (o *UserConnectionSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o *UserConnectionSlice) ReloadAllP(ctx context.Context, exec boil.ContextExecutor)
- func (o UserConnectionSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- func (o UserConnectionSlice) UpdateAllP(ctx context.Context, exec boil.ContextExecutor, cols M) int64
- type UserFeedItem
- func (o *UserFeedItem) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *UserFeedItem) DeleteP(ctx context.Context, exec boil.ContextExecutor) int64
- func (o *UserFeedItem) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *UserFeedItem) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *UserFeedItem) InsertP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns)
- func (o *UserFeedItem) RSSItem(mods ...qm.QueryMod) rssItemQuery
- func (o *UserFeedItem) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *UserFeedItem) ReloadP(ctx context.Context, exec boil.ContextExecutor)
- func (o *UserFeedItem) SetRSSItem(ctx context.Context, exec boil.ContextExecutor, insert bool, related *RSSItem) error
- func (o *UserFeedItem) SetRSSItemP(ctx context.Context, exec boil.ContextExecutor, insert bool, related *RSSItem)
- func (o *UserFeedItem) SetURL(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *UserFeedItem) SetURLP(ctx context.Context, exec boil.ContextExecutor, insert bool, ...)
- func (o *UserFeedItem) SetUser(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User) error
- func (o *UserFeedItem) SetUserP(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User)
- func (o *UserFeedItem) URL(mods ...qm.QueryMod) normalizedURLQuery
- func (o *UserFeedItem) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *UserFeedItem) UpdateP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) int64
- func (o *UserFeedItem) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- func (o *UserFeedItem) UpsertP(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...)
- func (o *UserFeedItem) User(mods ...qm.QueryMod) userQuery
- type UserFeedItemSlice
- func (o UserFeedItemSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o UserFeedItemSlice) DeleteAllP(ctx context.Context, exec boil.ContextExecutor) int64
- func (o *UserFeedItemSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o *UserFeedItemSlice) ReloadAllP(ctx context.Context, exec boil.ContextExecutor)
- func (o UserFeedItemSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- func (o UserFeedItemSlice) UpdateAllP(ctx context.Context, exec boil.ContextExecutor, cols M) int64
- type UserFeedSubscription
- func (o *UserFeedSubscription) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *UserFeedSubscription) DeleteP(ctx context.Context, exec boil.ContextExecutor) int64
- func (o *UserFeedSubscription) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *UserFeedSubscription) Feed(mods ...qm.QueryMod) rssFeedQuery
- func (o *UserFeedSubscription) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *UserFeedSubscription) InsertP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns)
- func (o *UserFeedSubscription) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *UserFeedSubscription) ReloadP(ctx context.Context, exec boil.ContextExecutor)
- func (o *UserFeedSubscription) SetFeed(ctx context.Context, exec boil.ContextExecutor, insert bool, related *RSSFeed) error
- func (o *UserFeedSubscription) SetFeedP(ctx context.Context, exec boil.ContextExecutor, insert bool, related *RSSFeed)
- func (o *UserFeedSubscription) SetUser(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User) error
- func (o *UserFeedSubscription) SetUserP(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User)
- func (o *UserFeedSubscription) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *UserFeedSubscription) UpdateP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) int64
- func (o *UserFeedSubscription) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- func (o *UserFeedSubscription) UpsertP(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...)
- func (o *UserFeedSubscription) User(mods ...qm.QueryMod) userQuery
- type UserFeedSubscriptionSlice
- func (o UserFeedSubscriptionSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o UserFeedSubscriptionSlice) DeleteAllP(ctx context.Context, exec boil.ContextExecutor) int64
- func (o *UserFeedSubscriptionSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o *UserFeedSubscriptionSlice) ReloadAllP(ctx context.Context, exec boil.ContextExecutor)
- func (o UserFeedSubscriptionSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- func (o UserFeedSubscriptionSlice) UpdateAllP(ctx context.Context, exec boil.ContextExecutor, cols M) int64
- type UserInvitation
- func (o *UserInvitation) CreatedUser(mods ...qm.QueryMod) userQuery
- func (o *UserInvitation) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *UserInvitation) DeleteP(ctx context.Context, exec boil.ContextExecutor) int64
- func (o *UserInvitation) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *UserInvitation) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *UserInvitation) InsertP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns)
- func (o *UserInvitation) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *UserInvitation) ReloadP(ctx context.Context, exec boil.ContextExecutor)
- func (o *UserInvitation) RemoveCreatedUser(ctx context.Context, exec boil.ContextExecutor, related *User) error
- func (o *UserInvitation) RemoveCreatedUserP(ctx context.Context, exec boil.ContextExecutor, related *User)
- func (o *UserInvitation) SetCreatedUser(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User) error
- func (o *UserInvitation) SetCreatedUserP(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User)
- func (o *UserInvitation) SetUser(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User) error
- func (o *UserInvitation) SetUserP(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User)
- func (o *UserInvitation) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *UserInvitation) UpdateP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) int64
- func (o *UserInvitation) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- func (o *UserInvitation) UpsertP(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...)
- func (o *UserInvitation) User(mods ...qm.QueryMod) userQuery
- type UserInvitationSlice
- func (o UserInvitationSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o UserInvitationSlice) DeleteAllP(ctx context.Context, exec boil.ContextExecutor) int64
- func (o *UserInvitationSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o *UserInvitationSlice) ReloadAllP(ctx context.Context, exec boil.ContextExecutor)
- func (o UserInvitationSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- func (o UserInvitationSlice) UpdateAllP(ctx context.Context, exec boil.ContextExecutor, cols M) int64
- type UserSignupRequest
- func (o *UserSignupRequest) CreatedUser(mods ...qm.QueryMod) userQuery
- func (o *UserSignupRequest) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *UserSignupRequest) DeleteP(ctx context.Context, exec boil.ContextExecutor) int64
- func (o *UserSignupRequest) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *UserSignupRequest) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *UserSignupRequest) InsertP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns)
- func (o *UserSignupRequest) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *UserSignupRequest) ReloadP(ctx context.Context, exec boil.ContextExecutor)
- func (o *UserSignupRequest) RemoveCreatedUser(ctx context.Context, exec boil.ContextExecutor, related *User) error
- func (o *UserSignupRequest) RemoveCreatedUserP(ctx context.Context, exec boil.ContextExecutor, related *User)
- func (o *UserSignupRequest) SetCreatedUser(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User) error
- func (o *UserSignupRequest) SetCreatedUserP(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User)
- func (o *UserSignupRequest) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *UserSignupRequest) UpdateP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) int64
- func (o *UserSignupRequest) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- func (o *UserSignupRequest) UpsertP(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...)
- type UserSignupRequestSlice
- func (o UserSignupRequestSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o UserSignupRequestSlice) DeleteAllP(ctx context.Context, exec boil.ContextExecutor) int64
- func (o *UserSignupRequestSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o *UserSignupRequestSlice) ReloadAllP(ctx context.Context, exec boil.ContextExecutor)
- func (o UserSignupRequestSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- func (o UserSignupRequestSlice) UpdateAllP(ctx context.Context, exec boil.ContextExecutor, cols M) int64
- type UserSlice
- func (o UserSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o UserSlice) DeleteAllP(ctx context.Context, exec boil.ContextExecutor) int64
- func (o *UserSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o *UserSlice) ReloadAllP(ctx context.Context, exec boil.ContextExecutor)
- func (o UserSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- func (o UserSlice) UpdateAllP(ctx context.Context, exec boil.ContextExecutor, cols M) int64
- type UserStyle
- func (o *UserStyle) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *UserStyle) DeleteP(ctx context.Context, exec boil.ContextExecutor) int64
- func (o *UserStyle) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *UserStyle) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *UserStyle) InsertP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns)
- func (o *UserStyle) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *UserStyle) ReloadP(ctx context.Context, exec boil.ContextExecutor)
- func (o *UserStyle) SetUser(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User) error
- func (o *UserStyle) SetUserP(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User)
- func (o *UserStyle) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *UserStyle) UpdateP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) int64
- func (o *UserStyle) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- func (o *UserStyle) UpsertP(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...)
- func (o *UserStyle) User(mods ...qm.QueryMod) userQuery
- type UserStyleSlice
- func (o UserStyleSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o UserStyleSlice) DeleteAllP(ctx context.Context, exec boil.ContextExecutor) int64
- func (o *UserStyleSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o *UserStyleSlice) ReloadAllP(ctx context.Context, exec boil.ContextExecutor)
- func (o UserStyleSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- func (o UserStyleSlice) UpdateAllP(ctx context.Context, exec boil.ContextExecutor, cols M) int64
- type WhitelistedConnection
- func (o *WhitelistedConnection) AllowsWho(mods ...qm.QueryMod) userQuery
- func (o *WhitelistedConnection) Connection(mods ...qm.QueryMod) userConnectionQuery
- func (o *WhitelistedConnection) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *WhitelistedConnection) DeleteP(ctx context.Context, exec boil.ContextExecutor) int64
- func (o *WhitelistedConnection) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *WhitelistedConnection) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *WhitelistedConnection) InsertP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns)
- func (o *WhitelistedConnection) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *WhitelistedConnection) ReloadP(ctx context.Context, exec boil.ContextExecutor)
- func (o *WhitelistedConnection) RemoveConnection(ctx context.Context, exec boil.ContextExecutor, related *UserConnection) error
- func (o *WhitelistedConnection) RemoveConnectionP(ctx context.Context, exec boil.ContextExecutor, related *UserConnection)
- func (o *WhitelistedConnection) SetAllowsWho(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User) error
- func (o *WhitelistedConnection) SetAllowsWhoP(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User)
- func (o *WhitelistedConnection) SetConnection(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *WhitelistedConnection) SetConnectionP(ctx context.Context, exec boil.ContextExecutor, insert bool, ...)
- func (o *WhitelistedConnection) SetWho(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User) error
- func (o *WhitelistedConnection) SetWhoP(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User)
- func (o *WhitelistedConnection) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *WhitelistedConnection) UpdateP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) int64
- func (o *WhitelistedConnection) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- func (o *WhitelistedConnection) UpsertP(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...)
- func (o *WhitelistedConnection) Who(mods ...qm.QueryMod) userQuery
- type WhitelistedConnectionSlice
- func (o WhitelistedConnectionSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o WhitelistedConnectionSlice) DeleteAllP(ctx context.Context, exec boil.ContextExecutor) int64
- func (o *WhitelistedConnectionSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o *WhitelistedConnectionSlice) ReloadAllP(ctx context.Context, exec boil.ContextExecutor)
- func (o WhitelistedConnectionSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- func (o WhitelistedConnectionSlice) UpdateAllP(ctx context.Context, exec boil.ContextExecutor, cols M) int64
Constants ¶
This section is empty.
Variables ¶
var ErrSyncFail = errors.New("core: 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 MediaUploadColumns = struct { ID string UserID string UploadedFname string ContentType string CreatedAt string UpdatedAt string }{ ID: "id", UserID: "user_id", UploadedFname: "uploaded_fname", ContentType: "content_type", CreatedAt: "created_at", UpdatedAt: "updated_at", }
var MediaUploadRels = struct { User string }{ User: "User", }
MediaUploadRels is where relationship names are stored.
var MediaUploadTableColumns = struct { ID string UserID string UploadedFname string ContentType string CreatedAt string UpdatedAt string }{ ID: "media_uploads.id", UserID: "media_uploads.user_id", UploadedFname: "media_uploads.uploaded_fname", ContentType: "media_uploads.content_type", CreatedAt: "media_uploads.created_at", UpdatedAt: "media_uploads.updated_at", }
var MediaUploadWhere = struct { ID whereHelperstring UserID whereHelperstring UploadedFname whereHelperstring ContentType whereHelperstring CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time }{ ID: whereHelperstring{/* contains filtered or unexported fields */}, UserID: whereHelperstring{/* contains filtered or unexported fields */}, UploadedFname: whereHelperstring{/* contains filtered or unexported fields */}, ContentType: whereHelperstring{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, }
var NormalizedURLColumns = struct { ID string URL string CreatedAt string UpdatedAt string }{ ID: "id", URL: "url", CreatedAt: "created_at", UpdatedAt: "updated_at", }
var NormalizedURLRels = struct { URLPosts string URLRSSItems string URLUserFeedItems string }{ URLPosts: "URLPosts", URLRSSItems: "URLRSSItems", URLUserFeedItems: "URLUserFeedItems", }
NormalizedURLRels is where relationship names are stored.
var NormalizedURLTableColumns = struct { ID string URL string CreatedAt string UpdatedAt string }{ ID: "normalized_urls.id", URL: "normalized_urls.url", CreatedAt: "normalized_urls.created_at", UpdatedAt: "normalized_urls.updated_at", }
var NormalizedURLWhere = struct { ID whereHelperstring URL whereHelperstring CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time }{ ID: whereHelperstring{/* contains filtered or unexported fields */}, URL: whereHelperstring{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, }
var OutgoingEmailColumns = struct { ID string UniqueID string Payload string Status string AttemptsNumber string TryAt string SentAt string CreatedAt string UpdatedAt string EmailType string }{ ID: "id", UniqueID: "unique_id", Payload: "payload", Status: "status", AttemptsNumber: "attempts_number", TryAt: "try_at", SentAt: "sent_at", CreatedAt: "created_at", UpdatedAt: "updated_at", EmailType: "email_type", }
var OutgoingEmailRels = struct {
}{}
OutgoingEmailRels is where relationship names are stored.
var OutgoingEmailTableColumns = struct { ID string UniqueID string Payload string Status string AttemptsNumber string TryAt string SentAt string CreatedAt string UpdatedAt string EmailType string }{ ID: "outgoing_emails.id", UniqueID: "outgoing_emails.unique_id", Payload: "outgoing_emails.payload", Status: "outgoing_emails.status", AttemptsNumber: "outgoing_emails.attempts_number", TryAt: "outgoing_emails.try_at", SentAt: "outgoing_emails.sent_at", CreatedAt: "outgoing_emails.created_at", UpdatedAt: "outgoing_emails.updated_at", EmailType: "outgoing_emails.email_type", }
var OutgoingEmailWhere = struct { ID whereHelperstring UniqueID whereHelperstring Payload whereHelpertypes_JSON Status whereHelperOutgoingEmailStatus AttemptsNumber whereHelperint TryAt whereHelpertime_Time SentAt whereHelpernull_Time CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time EmailType whereHelperstring }{ ID: whereHelperstring{/* contains filtered or unexported fields */}, UniqueID: whereHelperstring{/* contains filtered or unexported fields */}, Payload: whereHelpertypes_JSON{/* contains filtered or unexported fields */}, Status: whereHelperOutgoingEmailStatus{/* contains filtered or unexported fields */}, AttemptsNumber: whereHelperint{/* contains filtered or unexported fields */}, TryAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, SentAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, EmailType: whereHelperstring{/* contains filtered or unexported fields */}, }
var PostColumns = struct { ID string Subject string Body string UserID string CreatedAt string UpdatedAt string VisibilityRadius string PublishedAt string URLID string RSSItemID string }{ ID: "id", Subject: "subject", Body: "body", UserID: "user_id", CreatedAt: "created_at", UpdatedAt: "updated_at", VisibilityRadius: "visibility_radius", PublishedAt: "published_at", URLID: "url_id", RSSItemID: "rss_item_id", }
var PostCommentColumns = struct { ID string UserID string PostID string ParentCommentID string Body string CreatedAt string UpdatedAt string TopCommentID string }{ ID: "id", UserID: "user_id", PostID: "post_id", ParentCommentID: "parent_comment_id", Body: "body", CreatedAt: "created_at", UpdatedAt: "updated_at", TopCommentID: "top_comment_id", }
var PostCommentRels = struct { ParentComment string Post string TopComment string User string ParentCommentPostComments string TopCommentPostComments string }{ ParentComment: "ParentComment", Post: "Post", TopComment: "TopComment", User: "User", ParentCommentPostComments: "ParentCommentPostComments", TopCommentPostComments: "TopCommentPostComments", }
PostCommentRels is where relationship names are stored.
var PostCommentTableColumns = struct { ID string UserID string PostID string ParentCommentID string Body string CreatedAt string UpdatedAt string TopCommentID string }{ ID: "post_comments.id", UserID: "post_comments.user_id", PostID: "post_comments.post_id", ParentCommentID: "post_comments.parent_comment_id", Body: "post_comments.body", CreatedAt: "post_comments.created_at", UpdatedAt: "post_comments.updated_at", TopCommentID: "post_comments.top_comment_id", }
var PostCommentWhere = struct { ID whereHelperstring UserID whereHelperstring PostID whereHelperstring ParentCommentID whereHelpernull_String Body whereHelperstring CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time TopCommentID whereHelperstring }{ ID: whereHelperstring{/* contains filtered or unexported fields */}, UserID: whereHelperstring{/* contains filtered or unexported fields */}, PostID: whereHelperstring{/* contains filtered or unexported fields */}, ParentCommentID: whereHelpernull_String{/* contains filtered or unexported fields */}, Body: whereHelperstring{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, TopCommentID: whereHelperstring{/* contains filtered or unexported fields */}, }
var PostPromptColumns = struct { ID string AskerID string RecipientID string Message string DismissedAt string PostID string CreatedAt string UpdatedAt string }{ ID: "id", AskerID: "asker_id", RecipientID: "recipient_id", Message: "message", DismissedAt: "dismissed_at", PostID: "post_id", CreatedAt: "created_at", UpdatedAt: "updated_at", }
var PostPromptRels = struct { Asker string Post string Recipient string }{ Asker: "Asker", Post: "Post", Recipient: "Recipient", }
PostPromptRels is where relationship names are stored.
var PostPromptTableColumns = struct { ID string AskerID string RecipientID string Message string DismissedAt string PostID string CreatedAt string UpdatedAt string }{ ID: "post_prompts.id", AskerID: "post_prompts.asker_id", RecipientID: "post_prompts.recipient_id", Message: "post_prompts.message", DismissedAt: "post_prompts.dismissed_at", PostID: "post_prompts.post_id", CreatedAt: "post_prompts.created_at", UpdatedAt: "post_prompts.updated_at", }
var PostPromptWhere = struct { ID whereHelperstring AskerID whereHelperstring RecipientID whereHelperstring Message whereHelperstring DismissedAt whereHelpernull_Time PostID whereHelpernull_String CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time }{ ID: whereHelperstring{/* contains filtered or unexported fields */}, AskerID: whereHelperstring{/* contains filtered or unexported fields */}, RecipientID: whereHelperstring{/* contains filtered or unexported fields */}, Message: whereHelperstring{/* contains filtered or unexported fields */}, DismissedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, PostID: whereHelpernull_String{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, }
var PostRels = struct { RSSItem string URL string User string PostPrompt string PostShare string PostStat string PostComments string }{ RSSItem: "RSSItem", URL: "URL", User: "User", PostPrompt: "PostPrompt", PostShare: "PostShare", PostStat: "PostStat", PostComments: "PostComments", }
PostRels is where relationship names are stored.
string PostID string CreatedAt string UpdatedAt string }{ ID: "id", PostID: "post_id", CreatedAt: "created_at", UpdatedAt: "updated_at", }ID
string }{ Post: "Post", }Post
PostShareRels is where relationship names are stored.
string PostID string CreatedAt string UpdatedAt string }{ ID: "post_shares.id", PostID: "post_shares.post_id", CreatedAt: "post_shares.created_at", UpdatedAt: "post_shares.updated_at", }ID
/* contains filtered or unexported fields */}, PostID: whereHelperstring{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, }ID whereHelperstring PostID whereHelperstring CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time }{ ID: whereHelperstring{
var PostStatColumns = struct { ID string PostID string CommentsNumber string CreatedAt string UpdatedAt string }{ ID: "id", PostID: "post_id", CommentsNumber: "comments_number", CreatedAt: "created_at", UpdatedAt: "updated_at", }
var PostStatRels = struct { Post string }{ Post: "Post", }
PostStatRels is where relationship names are stored.
var PostStatTableColumns = struct { ID string PostID string CommentsNumber string CreatedAt string UpdatedAt string }{ ID: "post_stats.id", PostID: "post_stats.post_id", CommentsNumber: "post_stats.comments_number", CreatedAt: "post_stats.created_at", UpdatedAt: "post_stats.updated_at", }
var PostStatWhere = struct { ID whereHelperstring PostID whereHelperstring CommentsNumber whereHelperint64 CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time }{ ID: whereHelperstring{/* contains filtered or unexported fields */}, PostID: whereHelperstring{/* contains filtered or unexported fields */}, CommentsNumber: whereHelperint64{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, }
var PostTableColumns = struct { ID string Subject string Body string UserID string CreatedAt string UpdatedAt string VisibilityRadius string PublishedAt string URLID string RSSItemID string }{ ID: "posts.id", Subject: "posts.subject", Body: "posts.body", UserID: "posts.user_id", CreatedAt: "posts.created_at", UpdatedAt: "posts.updated_at", VisibilityRadius: "posts.visibility_radius", PublishedAt: "posts.published_at", URLID: "posts.url_id", RSSItemID: "posts.rss_item_id", }
var PostWhere = struct { ID whereHelperstring Subject whereHelpernull_String Body whereHelperstring UserID whereHelperstring CreatedAt whereHelpernull_Time UpdatedAt whereHelpernull_Time VisibilityRadius whereHelperPostVisibility PublishedAt whereHelpernull_Time URLID whereHelpernull_String RSSItemID whereHelpernull_String }{ ID: whereHelperstring{/* contains filtered or unexported fields */}, Subject: whereHelpernull_String{/* contains filtered or unexported fields */}, Body: whereHelperstring{/* contains filtered or unexported fields */}, UserID: whereHelperstring{/* contains filtered or unexported fields */}, CreatedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, VisibilityRadius: whereHelperPostVisibility{/* contains filtered or unexported fields */}, PublishedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, URLID: whereHelpernull_String{/* contains filtered or unexported fields */}, RSSItemID: whereHelpernull_String{/* contains filtered or unexported fields */}, }
var RSSFeedColumns = struct { ID string URL string Title string Description string LastFetchedAt string AvgItemsPerDay string LastItemsCount string UpdateFrequencyMinutes string NextFetchAt string LastManualRefreshAt string ConsecutiveEmptyFetches string CreatedAt string UpdatedAt string LastFetchError string DisableReason string }{ ID: "id", URL: "url", Title: "title", Description: "description", LastFetchedAt: "last_fetched_at", AvgItemsPerDay: "avg_items_per_day", LastItemsCount: "last_items_count", UpdateFrequencyMinutes: "update_frequency_minutes", NextFetchAt: "next_fetch_at", LastManualRefreshAt: "last_manual_refresh_at", ConsecutiveEmptyFetches: "consecutive_empty_fetches", CreatedAt: "created_at", UpdatedAt: "updated_at", LastFetchError: "last_fetch_error", DisableReason: "disable_reason", }
var RSSFeedRels = struct { FeedRSSItems string FeedUserFeedSubscriptions string }{ FeedRSSItems: "FeedRSSItems", FeedUserFeedSubscriptions: "FeedUserFeedSubscriptions", }
RSSFeedRels is where relationship names are stored.
var RSSFeedTableColumns = struct { ID string URL string Title string Description string LastFetchedAt string AvgItemsPerDay string LastItemsCount string UpdateFrequencyMinutes string NextFetchAt string LastManualRefreshAt string ConsecutiveEmptyFetches string CreatedAt string UpdatedAt string LastFetchError string DisableReason string }{ ID: "rss_feeds.id", URL: "rss_feeds.url", Title: "rss_feeds.title", Description: "rss_feeds.description", LastFetchedAt: "rss_feeds.last_fetched_at", AvgItemsPerDay: "rss_feeds.avg_items_per_day", LastItemsCount: "rss_feeds.last_items_count", UpdateFrequencyMinutes: "rss_feeds.update_frequency_minutes", NextFetchAt: "rss_feeds.next_fetch_at", LastManualRefreshAt: "rss_feeds.last_manual_refresh_at", ConsecutiveEmptyFetches: "rss_feeds.consecutive_empty_fetches", CreatedAt: "rss_feeds.created_at", UpdatedAt: "rss_feeds.updated_at", LastFetchError: "rss_feeds.last_fetch_error", DisableReason: "rss_feeds.disable_reason", }
var RSSFeedWhere = struct { ID whereHelperstring URL whereHelperstring Title whereHelpernull_String Description whereHelpernull_String LastFetchedAt whereHelpernull_Time AvgItemsPerDay whereHelperfloat64 LastItemsCount whereHelperint UpdateFrequencyMinutes whereHelperint NextFetchAt whereHelpernull_Time LastManualRefreshAt whereHelpernull_Time ConsecutiveEmptyFetches whereHelperint CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time LastFetchError whereHelpernull_String DisableReason whereHelperNullRSSFeedDisableReason }{ ID: whereHelperstring{/* contains filtered or unexported fields */}, URL: whereHelperstring{/* contains filtered or unexported fields */}, Title: whereHelpernull_String{/* contains filtered or unexported fields */}, Description: whereHelpernull_String{/* contains filtered or unexported fields */}, LastFetchedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, AvgItemsPerDay: whereHelperfloat64{/* contains filtered or unexported fields */}, LastItemsCount: whereHelperint{/* contains filtered or unexported fields */}, UpdateFrequencyMinutes: whereHelperint{/* contains filtered or unexported fields */}, NextFetchAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, LastManualRefreshAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, ConsecutiveEmptyFetches: whereHelperint{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, LastFetchError: whereHelpernull_String{/* contains filtered or unexported fields */}, DisableReason: whereHelperNullRSSFeedDisableReason{/* contains filtered or unexported fields */}, }
var RSSItemColumns = struct { ID string FeedID string URLID string GUID string Title string Description string SanitizedDescription string PublishedAt string CreatedAt string UpdatedAt string }{ ID: "id", FeedID: "feed_id", URLID: "url_id", GUID: "guid", Title: "title", Description: "description", SanitizedDescription: "sanitized_description", PublishedAt: "published_at", CreatedAt: "created_at", UpdatedAt: "updated_at", }
var RSSItemRels = struct { Feed string URL string Posts string UserFeedItems string }{ Feed: "Feed", URL: "URL", Posts: "Posts", UserFeedItems: "UserFeedItems", }
RSSItemRels is where relationship names are stored.
var RSSItemTableColumns = struct { ID string FeedID string URLID string GUID string Title string Description string SanitizedDescription string PublishedAt string CreatedAt string UpdatedAt string }{ ID: "rss_items.id", FeedID: "rss_items.feed_id", URLID: "rss_items.url_id", GUID: "rss_items.guid", Title: "rss_items.title", Description: "rss_items.description", SanitizedDescription: "rss_items.sanitized_description", PublishedAt: "rss_items.published_at", CreatedAt: "rss_items.created_at", UpdatedAt: "rss_items.updated_at", }
var RSSItemWhere = struct { ID whereHelperstring FeedID whereHelperstring URLID whereHelperstring GUID whereHelperstring Title whereHelperstring Description whereHelperstring SanitizedDescription whereHelperstring PublishedAt whereHelpertime_Time CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time }{ ID: whereHelperstring{/* contains filtered or unexported fields */}, FeedID: whereHelperstring{/* contains filtered or unexported fields */}, URLID: whereHelperstring{/* contains filtered or unexported fields */}, GUID: whereHelperstring{/* contains filtered or unexported fields */}, Title: whereHelperstring{/* contains filtered or unexported fields */}, Description: whereHelperstring{/* contains filtered or unexported fields */}, SanitizedDescription: whereHelperstring{/* contains filtered or unexported fields */}, PublishedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, }
var SystemSettingColumns = struct { ID string RegistrationOpen string }{ ID: "id", RegistrationOpen: "registration_open", }
var SystemSettingRels = struct {
}{}
SystemSettingRels is where relationship names are stored.
var SystemSettingTableColumns = struct { ID string RegistrationOpen string }{ ID: "system_settings.id", RegistrationOpen: "system_settings.registration_open", }
var SystemSettingWhere = struct { ID whereHelperstring RegistrationOpen whereHelperbool }{ ID: whereHelperstring{/* contains filtered or unexported fields */}, RegistrationOpen: whereHelperbool{/* contains filtered or unexported fields */}, }
var TableNames = struct { MediaUploads string NormalizedUrls string OutgoingEmails string PostComments string PostPrompts string PostShares string PostStats string Posts string RSSFeeds string RSSItems string SystemSettings string UserAPIKeys string UserConnectionMediationRequests string UserConnectionMediators string UserConnections string UserFeedItems string UserFeedSubscriptions string UserInvitations string UserSignupRequests string UserStyles string Users string WhitelistedConnections string }{ MediaUploads: "media_uploads", NormalizedUrls: "normalized_urls", OutgoingEmails: "outgoing_emails", PostComments: "post_comments", PostPrompts: "post_prompts", PostShares: "post_shares", PostStats: "post_stats", Posts: "posts", RSSFeeds: "rss_feeds", RSSItems: "rss_items", SystemSettings: "system_settings", UserAPIKeys: "user_api_keys", UserConnectionMediationRequests: "user_connection_mediation_requests", UserConnectionMediators: "user_connection_mediators", UserConnections: "user_connections", UserFeedItems: "user_feed_items", UserFeedSubscriptions: "user_feed_subscriptions", UserInvitations: "user_invitations", UserSignupRequests: "user_signup_requests", UserStyles: "user_styles", Users: "users", WhitelistedConnections: "whitelisted_connections", }
var UserAPIKeyColumns = struct { ID string APIKey string UserID string CreatedAt string UpdatedAt string }{ ID: "id", APIKey: "api_key", UserID: "user_id", CreatedAt: "created_at", UpdatedAt: "updated_at", }
var UserAPIKeyRels = struct { User string }{ User: "User", }
UserAPIKeyRels is where relationship names are stored.
var UserAPIKeyTableColumns = struct { ID string APIKey string UserID string CreatedAt string UpdatedAt string }{ ID: "user_api_keys.id", APIKey: "user_api_keys.api_key", UserID: "user_api_keys.user_id", CreatedAt: "user_api_keys.created_at", UpdatedAt: "user_api_keys.updated_at", }
var UserAPIKeyWhere = struct { ID whereHelperstring APIKey whereHelperstring UserID whereHelperstring CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time }{ ID: whereHelperstring{/* contains filtered or unexported fields */}, APIKey: whereHelperstring{/* contains filtered or unexported fields */}, UserID: whereHelperstring{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, }
var UserColumns = struct { ID string Email string CreatedAt string UpdatedAt string Timezone string EmailConfirmedAt string EmailConfirmSeed string SignupAttribution string Pwdhash string Username string ProfileVisibility string }{ ID: "id", Email: "email", CreatedAt: "created_at", UpdatedAt: "updated_at", Timezone: "timezone", EmailConfirmedAt: "email_confirmed_at", EmailConfirmSeed: "email_confirm_seed", SignupAttribution: "signup_attribution", Pwdhash: "pwdhash", Username: "username", ProfileVisibility: "profile_visibility", }
var UserConnectionColumns = struct { ID string User1ID string User2ID string CreatedAt string UpdatedAt string }{ ID: "id", User1ID: "user1_id", User2ID: "user2_id", CreatedAt: "created_at", UpdatedAt: "updated_at", }
var UserConnectionMediationRequestColumns = struct { ID string WhoUserID string TargetUserID string TargetDecision string TargetDecidedAt string TargetNote string ConnectionID string CreatedAt string UpdatedAt string SourceNote string }{ ID: "id", WhoUserID: "who_user_id", TargetUserID: "target_user_id", TargetDecision: "target_decision", TargetDecidedAt: "target_decided_at", TargetNote: "target_note", ConnectionID: "connection_id", CreatedAt: "created_at", UpdatedAt: "updated_at", SourceNote: "source_note", }
var UserConnectionMediationRequestRels = struct { Connection string TargetUser string WhoUser string MediationUserConnectionMediators string }{ Connection: "Connection", TargetUser: "TargetUser", WhoUser: "WhoUser", MediationUserConnectionMediators: "MediationUserConnectionMediators", }
UserConnectionMediationRequestRels is where relationship names are stored.
var UserConnectionMediationRequestTableColumns = struct { ID string WhoUserID string TargetUserID string TargetDecision string TargetDecidedAt string TargetNote string ConnectionID string CreatedAt string UpdatedAt string SourceNote string }{ ID: "user_connection_mediation_requests.id", WhoUserID: "user_connection_mediation_requests.who_user_id", TargetUserID: "user_connection_mediation_requests.target_user_id", TargetDecision: "user_connection_mediation_requests.target_decision", TargetDecidedAt: "user_connection_mediation_requests.target_decided_at", TargetNote: "user_connection_mediation_requests.target_note", ConnectionID: "user_connection_mediation_requests.connection_id", CreatedAt: "user_connection_mediation_requests.created_at", UpdatedAt: "user_connection_mediation_requests.updated_at", SourceNote: "user_connection_mediation_requests.source_note", }
var UserConnectionMediationRequestWhere = struct { ID whereHelperstring WhoUserID whereHelperstring TargetUserID whereHelperstring TargetDecision whereHelperNullConnectionRequestDecision TargetDecidedAt whereHelpernull_Time TargetNote whereHelpernull_String ConnectionID whereHelpernull_String CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time SourceNote whereHelpernull_String }{ ID: whereHelperstring{/* contains filtered or unexported fields */}, WhoUserID: whereHelperstring{/* contains filtered or unexported fields */}, TargetUserID: whereHelperstring{/* contains filtered or unexported fields */}, TargetDecision: whereHelperNullConnectionRequestDecision{/* contains filtered or unexported fields */}, TargetDecidedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, TargetNote: whereHelpernull_String{/* contains filtered or unexported fields */}, ConnectionID: whereHelpernull_String{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, SourceNote: whereHelpernull_String{/* contains filtered or unexported fields */}, }
var UserConnectionMediatorColumns = struct { ID string MediationID string UserID string Decision string DecidedAt string MediatorNote string }{ ID: "id", MediationID: "mediation_id", UserID: "user_id", Decision: "decision", DecidedAt: "decided_at", MediatorNote: "mediator_note", }
var UserConnectionMediatorRels = struct { Mediation string User string }{ Mediation: "Mediation", User: "User", }
UserConnectionMediatorRels is where relationship names are stored.
var UserConnectionMediatorTableColumns = struct { ID string MediationID string UserID string Decision string DecidedAt string MediatorNote string }{ ID: "user_connection_mediators.id", MediationID: "user_connection_mediators.mediation_id", UserID: "user_connection_mediators.user_id", Decision: "user_connection_mediators.decision", DecidedAt: "user_connection_mediators.decided_at", MediatorNote: "user_connection_mediators.mediator_note", }
var UserConnectionMediatorWhere = struct { ID whereHelperstring MediationID whereHelperstring UserID whereHelperstring Decision whereHelperConnectionMediationDecision DecidedAt whereHelpertime_Time MediatorNote whereHelpernull_String }{ ID: whereHelperstring{/* contains filtered or unexported fields */}, MediationID: whereHelperstring{/* contains filtered or unexported fields */}, UserID: whereHelperstring{/* contains filtered or unexported fields */}, Decision: whereHelperConnectionMediationDecision{/* contains filtered or unexported fields */}, DecidedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, MediatorNote: whereHelpernull_String{/* contains filtered or unexported fields */}, }
var UserConnectionRels = struct { User1 string User2 string ConnectionUserConnectionMediationRequest string ConnectionWhitelistedConnection string }{ User1: "User1", User2: "User2", ConnectionUserConnectionMediationRequest: "ConnectionUserConnectionMediationRequest", ConnectionWhitelistedConnection: "ConnectionWhitelistedConnection", }
UserConnectionRels is where relationship names are stored.
var UserConnectionTableColumns = struct { ID string User1ID string User2ID string CreatedAt string UpdatedAt string }{ ID: "user_connections.id", User1ID: "user_connections.user1_id", User2ID: "user_connections.user2_id", CreatedAt: "user_connections.created_at", UpdatedAt: "user_connections.updated_at", }
var UserConnectionWhere = struct { ID whereHelperstring User1ID whereHelperstring User2ID whereHelperstring CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time }{ ID: whereHelperstring{/* contains filtered or unexported fields */}, User1ID: whereHelperstring{/* contains filtered or unexported fields */}, User2ID: whereHelperstring{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, }
var UserFeedItemColumns = struct { ID string UserID string RSSItemID string URLID string IsDismissed string CreatedAt string UpdatedAt string }{ ID: "id", UserID: "user_id", RSSItemID: "rss_item_id", URLID: "url_id", IsDismissed: "is_dismissed", CreatedAt: "created_at", UpdatedAt: "updated_at", }
var UserFeedItemRels = struct { RSSItem string URL string User string }{ RSSItem: "RSSItem", URL: "URL", User: "User", }
UserFeedItemRels is where relationship names are stored.
var UserFeedItemTableColumns = struct { ID string UserID string RSSItemID string URLID string IsDismissed string CreatedAt string UpdatedAt string }{ ID: "user_feed_items.id", UserID: "user_feed_items.user_id", RSSItemID: "user_feed_items.rss_item_id", URLID: "user_feed_items.url_id", IsDismissed: "user_feed_items.is_dismissed", CreatedAt: "user_feed_items.created_at", UpdatedAt: "user_feed_items.updated_at", }
var UserFeedItemWhere = struct { ID whereHelperstring UserID whereHelperstring RSSItemID whereHelperstring URLID whereHelperstring IsDismissed whereHelperbool CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time }{ ID: whereHelperstring{/* contains filtered or unexported fields */}, UserID: whereHelperstring{/* contains filtered or unexported fields */}, RSSItemID: whereHelperstring{/* contains filtered or unexported fields */}, URLID: whereHelperstring{/* contains filtered or unexported fields */}, IsDismissed: whereHelperbool{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, }
var UserFeedSubscriptionColumns = struct { ID string UserID string FeedID string CreatedAt string UpdatedAt string }{ ID: "id", UserID: "user_id", FeedID: "feed_id", CreatedAt: "created_at", UpdatedAt: "updated_at", }
var UserFeedSubscriptionRels = struct { Feed string User string }{ Feed: "Feed", User: "User", }
UserFeedSubscriptionRels is where relationship names are stored.
var UserFeedSubscriptionTableColumns = struct { ID string UserID string FeedID string CreatedAt string UpdatedAt string }{ ID: "user_feed_subscriptions.id", UserID: "user_feed_subscriptions.user_id", FeedID: "user_feed_subscriptions.feed_id", CreatedAt: "user_feed_subscriptions.created_at", UpdatedAt: "user_feed_subscriptions.updated_at", }
var UserFeedSubscriptionWhere = struct { ID whereHelperstring UserID whereHelperstring FeedID whereHelperstring CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time }{ ID: whereHelperstring{/* contains filtered or unexported fields */}, UserID: whereHelperstring{/* contains filtered or unexported fields */}, FeedID: whereHelperstring{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, }
var UserInvitationColumns = struct { ID string UserID string InvitationEmail string InvitationSentAt string CreatedAt string UpdatedAt string CreatedUserID string }{ ID: "id", UserID: "user_id", InvitationEmail: "invitation_email", InvitationSentAt: "invitation_sent_at", CreatedAt: "created_at", UpdatedAt: "updated_at", CreatedUserID: "created_user_id", }
var UserInvitationRels = struct { CreatedUser string User string }{ CreatedUser: "CreatedUser", User: "User", }
UserInvitationRels is where relationship names are stored.
var UserInvitationTableColumns = struct { ID string UserID string InvitationEmail string InvitationSentAt string CreatedAt string UpdatedAt string CreatedUserID string }{ ID: "user_invitations.id", UserID: "user_invitations.user_id", InvitationEmail: "user_invitations.invitation_email", InvitationSentAt: "user_invitations.invitation_sent_at", CreatedAt: "user_invitations.created_at", UpdatedAt: "user_invitations.updated_at", CreatedUserID: "user_invitations.created_user_id", }
var UserInvitationWhere = struct { ID whereHelperstring UserID whereHelperstring InvitationEmail whereHelpernull_String InvitationSentAt whereHelpernull_Time CreatedAt whereHelpernull_Time UpdatedAt whereHelpernull_Time CreatedUserID whereHelpernull_String }{ ID: whereHelperstring{/* contains filtered or unexported fields */}, UserID: whereHelperstring{/* contains filtered or unexported fields */}, InvitationEmail: whereHelpernull_String{/* contains filtered or unexported fields */}, InvitationSentAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, CreatedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, CreatedUserID: whereHelpernull_String{/* contains filtered or unexported fields */}, }
var UserRels = struct { UserAPIKey string UserStyle string MediaUploads string PostComments string AskerPostPrompts string RecipientPostPrompts string Posts string TargetUserUserConnectionMediationRequests string WhoUserUserConnectionMediationRequests string UserConnectionMediators string User1UserConnections string User2UserConnections string UserFeedItems string UserFeedSubscriptions string CreatedUserUserInvitations string UserInvitations string CreatedUserUserSignupRequests string AllowsWhoWhitelistedConnections string WhoWhitelistedConnections string }{ UserAPIKey: "UserAPIKey", UserStyle: "UserStyle", MediaUploads: "MediaUploads", PostComments: "PostComments", AskerPostPrompts: "AskerPostPrompts", RecipientPostPrompts: "RecipientPostPrompts", Posts: "Posts", TargetUserUserConnectionMediationRequests: "TargetUserUserConnectionMediationRequests", WhoUserUserConnectionMediationRequests: "WhoUserUserConnectionMediationRequests", UserConnectionMediators: "UserConnectionMediators", User1UserConnections: "User1UserConnections", User2UserConnections: "User2UserConnections", UserFeedItems: "UserFeedItems", UserFeedSubscriptions: "UserFeedSubscriptions", CreatedUserUserInvitations: "CreatedUserUserInvitations", UserInvitations: "UserInvitations", CreatedUserUserSignupRequests: "CreatedUserUserSignupRequests", AllowsWhoWhitelistedConnections: "AllowsWhoWhitelistedConnections", WhoWhitelistedConnections: "WhoWhitelistedConnections", }
UserRels is where relationship names are stored.
var UserSignupRequestColumns = struct { ID string Email string Reason string SignupAttribution string CreatedUserID string VerificationSentAt string EmailConfirmedAt string CreatedAt string UpdatedAt string }{ ID: "id", Email: "email", Reason: "reason", SignupAttribution: "signup_attribution", CreatedUserID: "created_user_id", VerificationSentAt: "verification_sent_at", EmailConfirmedAt: "email_confirmed_at", CreatedAt: "created_at", UpdatedAt: "updated_at", }
var UserSignupRequestRels = struct { CreatedUser string }{ CreatedUser: "CreatedUser", }
UserSignupRequestRels is where relationship names are stored.
var UserSignupRequestTableColumns = struct { ID string Email string Reason string SignupAttribution string CreatedUserID string VerificationSentAt string EmailConfirmedAt string CreatedAt string UpdatedAt string }{ ID: "user_signup_requests.id", Email: "user_signup_requests.email", Reason: "user_signup_requests.reason", SignupAttribution: "user_signup_requests.signup_attribution", CreatedUserID: "user_signup_requests.created_user_id", VerificationSentAt: "user_signup_requests.verification_sent_at", EmailConfirmedAt: "user_signup_requests.email_confirmed_at", CreatedAt: "user_signup_requests.created_at", UpdatedAt: "user_signup_requests.updated_at", }
var UserSignupRequestWhere = struct { ID whereHelperstring Email whereHelperstring Reason whereHelpernull_String SignupAttribution whereHelpernull_String CreatedUserID whereHelpernull_String VerificationSentAt whereHelpernull_Time EmailConfirmedAt whereHelpernull_Time CreatedAt whereHelpernull_Time UpdatedAt whereHelpernull_Time }{ ID: whereHelperstring{/* contains filtered or unexported fields */}, Email: whereHelperstring{/* contains filtered or unexported fields */}, Reason: whereHelpernull_String{/* contains filtered or unexported fields */}, SignupAttribution: whereHelpernull_String{/* contains filtered or unexported fields */}, CreatedUserID: whereHelpernull_String{/* contains filtered or unexported fields */}, VerificationSentAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, EmailConfirmedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, CreatedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, }
var UserStyleColumns = struct { ID string UserID string Styles string CreatedAt string UpdatedAt string }{ ID: "id", UserID: "user_id", Styles: "styles", CreatedAt: "created_at", UpdatedAt: "updated_at", }
var UserStyleRels = struct { User string }{ User: "User", }
UserStyleRels is where relationship names are stored.
var UserStyleTableColumns = struct { ID string UserID string Styles string CreatedAt string UpdatedAt string }{ ID: "user_styles.id", UserID: "user_styles.user_id", Styles: "user_styles.styles", CreatedAt: "user_styles.created_at", UpdatedAt: "user_styles.updated_at", }
var UserStyleWhere = struct { ID whereHelperstring UserID whereHelperstring Styles whereHelperstring CreatedAt whereHelpernull_Time UpdatedAt whereHelpernull_Time }{ ID: whereHelperstring{/* contains filtered or unexported fields */}, UserID: whereHelperstring{/* contains filtered or unexported fields */}, Styles: whereHelperstring{/* contains filtered or unexported fields */}, CreatedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, }
var UserTableColumns = struct { ID string Email string CreatedAt string UpdatedAt string Timezone string EmailConfirmedAt string EmailConfirmSeed string SignupAttribution string Pwdhash string Username string ProfileVisibility string }{ ID: "users.id", Email: "users.email", CreatedAt: "users.created_at", UpdatedAt: "users.updated_at", Timezone: "users.timezone", EmailConfirmedAt: "users.email_confirmed_at", EmailConfirmSeed: "users.email_confirm_seed", SignupAttribution: "users.signup_attribution", Pwdhash: "users.pwdhash", Username: "users.username", ProfileVisibility: "users.profile_visibility", }
var UserWhere = struct { ID whereHelperstring Email whereHelperstring CreatedAt whereHelpernull_Time UpdatedAt whereHelpernull_Time Timezone whereHelperstring EmailConfirmedAt whereHelpernull_Time EmailConfirmSeed whereHelpernull_String SignupAttribution whereHelpernull_String Pwdhash whereHelpernull_String Username whereHelperstring ProfileVisibility whereHelperProfileVisibility }{ ID: whereHelperstring{/* contains filtered or unexported fields */}, Email: whereHelperstring{/* contains filtered or unexported fields */}, CreatedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, Timezone: whereHelperstring{/* contains filtered or unexported fields */}, EmailConfirmedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, EmailConfirmSeed: whereHelpernull_String{/* contains filtered or unexported fields */}, SignupAttribution: whereHelpernull_String{/* contains filtered or unexported fields */}, Pwdhash: whereHelpernull_String{/* contains filtered or unexported fields */}, Username: whereHelperstring{/* contains filtered or unexported fields */}, ProfileVisibility: whereHelperProfileVisibility{/* contains filtered or unexported fields */}, }
var ViewNames = struct {
}{}
var WhitelistedConnectionColumns = struct { ID string WhoID string AllowsWhoID string CreatedAt string UpdatedAt string ConnectionID string }{ ID: "id", WhoID: "who_id", AllowsWhoID: "allows_who_id", CreatedAt: "created_at", UpdatedAt: "updated_at", ConnectionID: "connection_id", }
var WhitelistedConnectionRels = struct { AllowsWho string Connection string Who string }{ AllowsWho: "AllowsWho", Connection: "Connection", Who: "Who", }
WhitelistedConnectionRels is where relationship names are stored.
var WhitelistedConnectionTableColumns = struct { ID string WhoID string AllowsWhoID string CreatedAt string UpdatedAt string ConnectionID string }{ ID: "whitelisted_connections.id", WhoID: "whitelisted_connections.who_id", AllowsWhoID: "whitelisted_connections.allows_who_id", CreatedAt: "whitelisted_connections.created_at", UpdatedAt: "whitelisted_connections.updated_at", ConnectionID: "whitelisted_connections.connection_id", }
var WhitelistedConnectionWhere = struct { ID whereHelperstring WhoID whereHelperstring AllowsWhoID whereHelperstring CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time ConnectionID whereHelpernull_String }{ ID: whereHelperstring{/* contains filtered or unexported fields */}, WhoID: whereHelperstring{/* contains filtered or unexported fields */}, AllowsWhoID: whereHelperstring{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, ConnectionID: whereHelpernull_String{/* contains filtered or unexported fields */}, }
Functions ¶
func MediaUploadExists ¶
MediaUploadExists checks if the MediaUpload row exists.
func MediaUploadExistsP ¶
MediaUploadExistsP checks if the MediaUpload row exists. Panics on error.
func MediaUploads ¶
MediaUploads retrieves all the records using an executor.
func NormalizedURLExists ¶
NormalizedURLExists checks if the NormalizedURL row exists.
func NormalizedURLExistsP ¶
NormalizedURLExistsP checks if the NormalizedURL row exists. Panics on error.
func NormalizedUrls ¶
NormalizedUrls retrieves all the records using an executor.
func OutgoingEmailExists ¶
OutgoingEmailExists checks if the OutgoingEmail row exists.
func OutgoingEmailExistsP ¶
OutgoingEmailExistsP checks if the OutgoingEmail row exists. Panics on error.
func OutgoingEmails ¶
OutgoingEmails retrieves all the records using an executor.
func PostCommentExists ¶
PostCommentExists checks if the PostComment row exists.
func PostCommentExistsP ¶
PostCommentExistsP checks if the PostComment row exists. Panics on error.
func PostComments ¶
PostComments retrieves all the records using an executor.
func PostExists ¶
PostExists checks if the Post row exists.
func PostExistsP ¶
PostExistsP checks if the Post row exists. Panics on error.
func PostPromptExists ¶
PostPromptExists checks if the PostPrompt row exists.
func PostPromptExistsP ¶
PostPromptExistsP checks if the PostPrompt row exists. Panics on error.
func PostPrompts ¶
PostPrompts retrieves all the records using an executor.
func PostShareExists ¶
PostShareExists checks if the PostShare row exists.
func PostShareExistsP ¶
PostShareExistsP checks if the PostShare row exists. Panics on error.
func PostShares ¶
PostShares retrieves all the records using an executor.
func PostStatExists ¶
PostStatExists checks if the PostStat row exists.
func PostStatExistsP ¶
PostStatExistsP checks if the PostStat row exists. Panics on error.
func RSSFeedExists ¶
RSSFeedExists checks if the RSSFeed row exists.
func RSSFeedExistsP ¶
RSSFeedExistsP checks if the RSSFeed row exists. Panics on error.
func RSSItemExists ¶
RSSItemExists checks if the RSSItem row exists.
func RSSItemExistsP ¶
RSSItemExistsP checks if the RSSItem row exists. Panics on error.
func SystemSettingExists ¶
SystemSettingExists checks if the SystemSetting row exists.
func SystemSettingExistsP ¶
SystemSettingExistsP checks if the SystemSetting row exists. Panics on error.
func SystemSettings ¶
SystemSettings retrieves all the records using an executor.
func UserAPIKeyExists ¶
UserAPIKeyExists checks if the UserAPIKey row exists.
func UserAPIKeyExistsP ¶
UserAPIKeyExistsP checks if the UserAPIKey row exists. Panics on error.
func UserAPIKeys ¶
UserAPIKeys retrieves all the records using an executor.
func UserConnectionExists ¶
UserConnectionExists checks if the UserConnection row exists.
func UserConnectionExistsP ¶
UserConnectionExistsP checks if the UserConnection row exists. Panics on error.
func UserConnectionMediationRequestExists ¶
func UserConnectionMediationRequestExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
UserConnectionMediationRequestExists checks if the UserConnectionMediationRequest row exists.
func UserConnectionMediationRequestExistsP ¶
func UserConnectionMediationRequestExistsP(ctx context.Context, exec boil.ContextExecutor, iD string) bool
UserConnectionMediationRequestExistsP checks if the UserConnectionMediationRequest row exists. Panics on error.
func UserConnectionMediationRequests ¶
UserConnectionMediationRequests retrieves all the records using an executor.
func UserConnectionMediatorExists ¶
func UserConnectionMediatorExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
UserConnectionMediatorExists checks if the UserConnectionMediator row exists.
func UserConnectionMediatorExistsP ¶
UserConnectionMediatorExistsP checks if the UserConnectionMediator row exists. Panics on error.
func UserConnectionMediators ¶
UserConnectionMediators retrieves all the records using an executor.
func UserConnections ¶
UserConnections retrieves all the records using an executor.
func UserExists ¶
UserExists checks if the User row exists.
func UserExistsP ¶
UserExistsP checks if the User row exists. Panics on error.
func UserFeedItemExists ¶
UserFeedItemExists checks if the UserFeedItem row exists.
func UserFeedItemExistsP ¶
UserFeedItemExistsP checks if the UserFeedItem row exists. Panics on error.
func UserFeedItems ¶
UserFeedItems retrieves all the records using an executor.
func UserFeedSubscriptionExists ¶
func UserFeedSubscriptionExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
UserFeedSubscriptionExists checks if the UserFeedSubscription row exists.
func UserFeedSubscriptionExistsP ¶
UserFeedSubscriptionExistsP checks if the UserFeedSubscription row exists. Panics on error.
func UserFeedSubscriptions ¶
UserFeedSubscriptions retrieves all the records using an executor.
func UserInvitationExists ¶
UserInvitationExists checks if the UserInvitation row exists.
func UserInvitationExistsP ¶
UserInvitationExistsP checks if the UserInvitation row exists. Panics on error.
func UserInvitations ¶
UserInvitations retrieves all the records using an executor.
func UserSignupRequestExists ¶
func UserSignupRequestExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
UserSignupRequestExists checks if the UserSignupRequest row exists.
func UserSignupRequestExistsP ¶
UserSignupRequestExistsP checks if the UserSignupRequest row exists. Panics on error.
func UserSignupRequests ¶
UserSignupRequests retrieves all the records using an executor.
func UserStyleExists ¶
UserStyleExists checks if the UserStyle row exists.
func UserStyleExistsP ¶
UserStyleExistsP checks if the UserStyle row exists. Panics on error.
func UserStyles ¶
UserStyles retrieves all the records using an executor.
func WhitelistedConnectionExists ¶
func WhitelistedConnectionExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
WhitelistedConnectionExists checks if the WhitelistedConnection row exists.
func WhitelistedConnectionExistsP ¶
WhitelistedConnectionExistsP checks if the WhitelistedConnection row exists. Panics on error.
func WhitelistedConnections ¶
WhitelistedConnections retrieves all the records using an executor.
Types ¶
type ConnectionMediationDecision ¶
type ConnectionMediationDecision string
const ( ConnectionMediationDecisionSigned ConnectionMediationDecision = "signed" ConnectionMediationDecisionDismissed ConnectionMediationDecision = "dismissed" )
Enum values for ConnectionMediationDecision
func AllConnectionMediationDecision ¶
func AllConnectionMediationDecision() []ConnectionMediationDecision
func (ConnectionMediationDecision) IsValid ¶
func (e ConnectionMediationDecision) IsValid() error
func (ConnectionMediationDecision) Ordinal ¶
func (e ConnectionMediationDecision) Ordinal() int
func (ConnectionMediationDecision) String ¶
func (e ConnectionMediationDecision) String() string
type ConnectionRequestDecision ¶
type ConnectionRequestDecision string
const ( ConnectionRequestDecisionApproved ConnectionRequestDecision = "approved" ConnectionRequestDecisionDismissed ConnectionRequestDecision = "dismissed" )
Enum values for ConnectionRequestDecision
func AllConnectionRequestDecision ¶
func AllConnectionRequestDecision() []ConnectionRequestDecision
func (ConnectionRequestDecision) IsValid ¶
func (e ConnectionRequestDecision) IsValid() error
func (ConnectionRequestDecision) Ordinal ¶
func (e ConnectionRequestDecision) Ordinal() int
func (ConnectionRequestDecision) String ¶
func (e ConnectionRequestDecision) String() string
type M ¶
type M map[string]interface{}
M type is for providing columns and column values to UpdateAll.
type MediaUpload ¶
type MediaUpload 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"` UploadedFname string `boil:"uploaded_fname" json:"uploaded_fname" toml:"uploaded_fname" yaml:"uploaded_fname"` ContentType string `boil:"content_type" json:"content_type" toml:"content_type" yaml:"content_type"` CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"` UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"` R *mediaUploadR `boil:"-" json:"-" toml:"-" yaml:"-"` L mediaUploadL `boil:"-" json:"-" toml:"-" yaml:"-"` }
MediaUpload is an object representing the database table.
func FindMediaUpload ¶
func FindMediaUpload(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*MediaUpload, error)
FindMediaUpload retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindMediaUploadP ¶
func FindMediaUploadP(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) *MediaUpload
FindMediaUploadP retrieves a single record by ID with an executor, and panics on error.
func (*MediaUpload) Delete ¶
func (o *MediaUpload) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single MediaUpload record with an executor. Delete will match against the primary key column to find the record to delete.
func (*MediaUpload) DeleteP ¶
func (o *MediaUpload) DeleteP(ctx context.Context, exec boil.ContextExecutor) int64
DeleteP deletes a single MediaUpload record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*MediaUpload) Exists ¶
func (o *MediaUpload) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
Exists checks if the MediaUpload row exists.
func (*MediaUpload) Insert ¶
func (o *MediaUpload) 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 (*MediaUpload) InsertP ¶
func (o *MediaUpload) InsertP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns)
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*MediaUpload) Reload ¶
func (o *MediaUpload) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*MediaUpload) ReloadP ¶
func (o *MediaUpload) ReloadP(ctx context.Context, exec boil.ContextExecutor)
ReloadP refetches the object from the database with an executor. Panics on error.
func (*MediaUpload) SetUser ¶
func (o *MediaUpload) SetUser(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User) error
SetUser of the mediaUpload to the related item. Sets o.R.User to related. Adds o to related.R.MediaUploads.
func (*MediaUpload) SetUserP ¶
func (o *MediaUpload) SetUserP(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User)
SetUserP of the mediaUpload to the related item. Sets o.R.User to related. Adds o to related.R.MediaUploads. Panics on error.
func (*MediaUpload) Update ¶
func (o *MediaUpload) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the MediaUpload. 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 (*MediaUpload) UpdateP ¶
func (o *MediaUpload) UpdateP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) int64
UpdateP uses an executor to update the MediaUpload, and panics on error. See Update for more documentation.
func (*MediaUpload) Upsert ¶
func (o *MediaUpload) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc) 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 (*MediaUpload) UpsertP ¶
func (o *MediaUpload) UpsertP(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc)
UpsertP attempts an insert using an executor, and does an update or ignore on conflict. UpsertP panics on error.
func (*MediaUpload) User ¶
func (o *MediaUpload) User(mods ...qm.QueryMod) userQuery
User pointed to by the foreign key.
type MediaUploadSlice ¶
type MediaUploadSlice []*MediaUpload
MediaUploadSlice is an alias for a slice of pointers to MediaUpload. This should almost always be used instead of []MediaUpload.
func (MediaUploadSlice) DeleteAll ¶
func (o MediaUploadSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (MediaUploadSlice) DeleteAllP ¶
func (o MediaUploadSlice) DeleteAllP(ctx context.Context, exec boil.ContextExecutor) int64
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*MediaUploadSlice) ReloadAll ¶
func (o *MediaUploadSlice) 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 (*MediaUploadSlice) ReloadAllP ¶
func (o *MediaUploadSlice) ReloadAllP(ctx context.Context, exec boil.ContextExecutor)
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (MediaUploadSlice) UpdateAll ¶
func (o MediaUploadSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
func (MediaUploadSlice) UpdateAllP ¶
func (o MediaUploadSlice) UpdateAllP(ctx context.Context, exec boil.ContextExecutor, cols M) int64
UpdateAllP updates all rows with the specified column values, and panics on error.
type NormalizedURL ¶
type NormalizedURL struct { ID string `boil:"id" json:"id" toml:"id" yaml:"id"` URL string `boil:"url" json:"url" toml:"url" yaml:"url"` CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"` UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"` R *normalizedURLR `boil:"-" json:"-" toml:"-" yaml:"-"` L normalizedURLL `boil:"-" json:"-" toml:"-" yaml:"-"` }
NormalizedURL is an object representing the database table.
func FindNormalizedURL ¶
func FindNormalizedURL(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*NormalizedURL, error)
FindNormalizedURL retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindNormalizedURLP ¶
func FindNormalizedURLP(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) *NormalizedURL
FindNormalizedURLP retrieves a single record by ID with an executor, and panics on error.
func (*NormalizedURL) AddURLPosts ¶
func (o *NormalizedURL) AddURLPosts(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Post) error
AddURLPosts adds the given related objects to the existing relationships of the normalized_url, optionally inserting them as new records. Appends related to o.R.URLPosts. Sets related.R.URL appropriately.
func (*NormalizedURL) AddURLPostsP ¶
func (o *NormalizedURL) AddURLPostsP(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Post)
AddURLPostsP adds the given related objects to the existing relationships of the normalized_url, optionally inserting them as new records. Appends related to o.R.URLPosts. Sets related.R.URL appropriately. Panics on error.
func (*NormalizedURL) AddURLRSSItems ¶
func (o *NormalizedURL) AddURLRSSItems(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*RSSItem) error
AddURLRSSItems adds the given related objects to the existing relationships of the normalized_url, optionally inserting them as new records. Appends related to o.R.URLRSSItems. Sets related.R.URL appropriately.
func (*NormalizedURL) AddURLRSSItemsP ¶
func (o *NormalizedURL) AddURLRSSItemsP(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*RSSItem)
AddURLRSSItemsP adds the given related objects to the existing relationships of the normalized_url, optionally inserting them as new records. Appends related to o.R.URLRSSItems. Sets related.R.URL appropriately. Panics on error.
func (*NormalizedURL) AddURLUserFeedItems ¶
func (o *NormalizedURL) AddURLUserFeedItems(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*UserFeedItem) error
AddURLUserFeedItems adds the given related objects to the existing relationships of the normalized_url, optionally inserting them as new records. Appends related to o.R.URLUserFeedItems. Sets related.R.URL appropriately.
func (*NormalizedURL) AddURLUserFeedItemsP ¶
func (o *NormalizedURL) AddURLUserFeedItemsP(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*UserFeedItem)
AddURLUserFeedItemsP adds the given related objects to the existing relationships of the normalized_url, optionally inserting them as new records. Appends related to o.R.URLUserFeedItems. Sets related.R.URL appropriately. Panics on error.
func (*NormalizedURL) Delete ¶
func (o *NormalizedURL) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single NormalizedURL record with an executor. Delete will match against the primary key column to find the record to delete.
func (*NormalizedURL) DeleteP ¶
func (o *NormalizedURL) DeleteP(ctx context.Context, exec boil.ContextExecutor) int64
DeleteP deletes a single NormalizedURL record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*NormalizedURL) Exists ¶
func (o *NormalizedURL) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
Exists checks if the NormalizedURL row exists.
func (*NormalizedURL) Insert ¶
func (o *NormalizedURL) 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 (*NormalizedURL) InsertP ¶
func (o *NormalizedURL) InsertP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns)
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*NormalizedURL) Reload ¶
func (o *NormalizedURL) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*NormalizedURL) ReloadP ¶
func (o *NormalizedURL) ReloadP(ctx context.Context, exec boil.ContextExecutor)
ReloadP refetches the object from the database with an executor. Panics on error.
func (*NormalizedURL) RemoveURLPosts ¶
func (o *NormalizedURL) RemoveURLPosts(ctx context.Context, exec boil.ContextExecutor, related ...*Post) error
RemoveURLPosts relationships from objects passed in. Removes related items from R.URLPosts (uses pointer comparison, removal does not keep order) Sets related.R.URL.
func (*NormalizedURL) RemoveURLPostsP ¶
func (o *NormalizedURL) RemoveURLPostsP(ctx context.Context, exec boil.ContextExecutor, related ...*Post)
RemoveURLPostsP relationships from objects passed in. Removes related items from R.URLPosts (uses pointer comparison, removal does not keep order) Sets related.R.URL. Panics on error.
func (*NormalizedURL) SetURLPosts ¶
func (o *NormalizedURL) SetURLPosts(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Post) error
SetURLPosts removes all previously related items of the normalized_url replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.URL's URLPosts accordingly. Replaces o.R.URLPosts with related. Sets related.R.URL's URLPosts accordingly.
func (*NormalizedURL) SetURLPostsP ¶
func (o *NormalizedURL) SetURLPostsP(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Post)
SetURLPostsP removes all previously related items of the normalized_url replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.URL's URLPosts accordingly. Replaces o.R.URLPosts with related. Sets related.R.URL's URLPosts accordingly. Panics on error.
func (*NormalizedURL) URLPosts ¶
func (o *NormalizedURL) URLPosts(mods ...qm.QueryMod) postQuery
URLPosts retrieves all the post's Posts with an executor via url_id column.
func (*NormalizedURL) URLRSSItems ¶
func (o *NormalizedURL) URLRSSItems(mods ...qm.QueryMod) rssItemQuery
URLRSSItems retrieves all the rss_item's RSSItems with an executor via url_id column.
func (*NormalizedURL) URLUserFeedItems ¶
func (o *NormalizedURL) URLUserFeedItems(mods ...qm.QueryMod) userFeedItemQuery
URLUserFeedItems retrieves all the user_feed_item's UserFeedItems with an executor via url_id column.
func (*NormalizedURL) Update ¶
func (o *NormalizedURL) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the NormalizedURL. 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 (*NormalizedURL) UpdateP ¶
func (o *NormalizedURL) UpdateP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) int64
UpdateP uses an executor to update the NormalizedURL, and panics on error. See Update for more documentation.
func (*NormalizedURL) Upsert ¶
func (o *NormalizedURL) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc) 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 (*NormalizedURL) UpsertP ¶
func (o *NormalizedURL) UpsertP(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc)
UpsertP attempts an insert using an executor, and does an update or ignore on conflict. UpsertP panics on error.
type NormalizedURLSlice ¶
type NormalizedURLSlice []*NormalizedURL
NormalizedURLSlice is an alias for a slice of pointers to NormalizedURL. This should almost always be used instead of []NormalizedURL.
func (NormalizedURLSlice) DeleteAll ¶
func (o NormalizedURLSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (NormalizedURLSlice) DeleteAllP ¶
func (o NormalizedURLSlice) DeleteAllP(ctx context.Context, exec boil.ContextExecutor) int64
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*NormalizedURLSlice) ReloadAll ¶
func (o *NormalizedURLSlice) 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 (*NormalizedURLSlice) ReloadAllP ¶
func (o *NormalizedURLSlice) ReloadAllP(ctx context.Context, exec boil.ContextExecutor)
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (NormalizedURLSlice) UpdateAll ¶
func (o NormalizedURLSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
func (NormalizedURLSlice) UpdateAllP ¶
func (o NormalizedURLSlice) UpdateAllP(ctx context.Context, exec boil.ContextExecutor, cols M) int64
UpdateAllP updates all rows with the specified column values, and panics on error.
type NullConnectionRequestDecision ¶
type NullConnectionRequestDecision struct { Val ConnectionRequestDecision Valid bool }
NullConnectionRequestDecision is a nullable ConnectionRequestDecision enum type. It supports SQL and JSON serialization.
func NewNullConnectionRequestDecision ¶
func NewNullConnectionRequestDecision(v ConnectionRequestDecision, valid bool) NullConnectionRequestDecision
NewNullConnectionRequestDecision creates a new NullConnectionRequestDecision
func NullConnectionRequestDecisionFrom ¶
func NullConnectionRequestDecisionFrom(v ConnectionRequestDecision) NullConnectionRequestDecision
NullConnectionRequestDecisionFrom creates a new ConnectionRequestDecision that will never be blank.
func NullConnectionRequestDecisionFromPtr ¶
func NullConnectionRequestDecisionFromPtr(v *ConnectionRequestDecision) NullConnectionRequestDecision
NullConnectionRequestDecisionFromPtr creates a new NullConnectionRequestDecision that be null if s is nil.
func (NullConnectionRequestDecision) IsZero ¶
func (e NullConnectionRequestDecision) IsZero() bool
IsZero returns true for null types.
func (NullConnectionRequestDecision) MarshalJSON ¶
func (e NullConnectionRequestDecision) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler.
func (NullConnectionRequestDecision) MarshalText ¶
func (e NullConnectionRequestDecision) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (NullConnectionRequestDecision) Ptr ¶
func (e NullConnectionRequestDecision) Ptr() *ConnectionRequestDecision
Ptr returns a pointer to this NullConnectionRequestDecision value, or a nil pointer if this NullConnectionRequestDecision is null.
func (*NullConnectionRequestDecision) Scan ¶
func (e *NullConnectionRequestDecision) Scan(value interface{}) error
Scan implements the Scanner interface.
func (*NullConnectionRequestDecision) SetValid ¶
func (e *NullConnectionRequestDecision) SetValid(v ConnectionRequestDecision)
SetValid changes this NullConnectionRequestDecision value and also sets it to be non-null.
func (*NullConnectionRequestDecision) UnmarshalJSON ¶
func (e *NullConnectionRequestDecision) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Unmarshaler.
func (*NullConnectionRequestDecision) UnmarshalText ¶
func (e *NullConnectionRequestDecision) UnmarshalText(text []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
type NullRSSFeedDisableReason ¶
type NullRSSFeedDisableReason struct { Val RSSFeedDisableReason Valid bool }
NullRSSFeedDisableReason is a nullable RSSFeedDisableReason enum type. It supports SQL and JSON serialization.
func NewNullRSSFeedDisableReason ¶
func NewNullRSSFeedDisableReason(v RSSFeedDisableReason, valid bool) NullRSSFeedDisableReason
NewNullRSSFeedDisableReason creates a new NullRSSFeedDisableReason
func NullRSSFeedDisableReasonFrom ¶
func NullRSSFeedDisableReasonFrom(v RSSFeedDisableReason) NullRSSFeedDisableReason
NullRSSFeedDisableReasonFrom creates a new RSSFeedDisableReason that will never be blank.
func NullRSSFeedDisableReasonFromPtr ¶
func NullRSSFeedDisableReasonFromPtr(v *RSSFeedDisableReason) NullRSSFeedDisableReason
NullRSSFeedDisableReasonFromPtr creates a new NullRSSFeedDisableReason that be null if s is nil.
func (NullRSSFeedDisableReason) IsZero ¶
func (e NullRSSFeedDisableReason) IsZero() bool
IsZero returns true for null types.
func (NullRSSFeedDisableReason) MarshalJSON ¶
func (e NullRSSFeedDisableReason) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler.
func (NullRSSFeedDisableReason) MarshalText ¶
func (e NullRSSFeedDisableReason) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (NullRSSFeedDisableReason) Ptr ¶
func (e NullRSSFeedDisableReason) Ptr() *RSSFeedDisableReason
Ptr returns a pointer to this NullRSSFeedDisableReason value, or a nil pointer if this NullRSSFeedDisableReason is null.
func (*NullRSSFeedDisableReason) Scan ¶
func (e *NullRSSFeedDisableReason) Scan(value interface{}) error
Scan implements the Scanner interface.
func (*NullRSSFeedDisableReason) SetValid ¶
func (e *NullRSSFeedDisableReason) SetValid(v RSSFeedDisableReason)
SetValid changes this NullRSSFeedDisableReason value and also sets it to be non-null.
func (*NullRSSFeedDisableReason) UnmarshalJSON ¶
func (e *NullRSSFeedDisableReason) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Unmarshaler.
func (*NullRSSFeedDisableReason) UnmarshalText ¶
func (e *NullRSSFeedDisableReason) UnmarshalText(text []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
type OutgoingEmail ¶
type OutgoingEmail struct { ID string `boil:"id" json:"id" toml:"id" yaml:"id"` UniqueID string `boil:"unique_id" json:"unique_id" toml:"unique_id" yaml:"unique_id"` Payload types.JSON `boil:"payload" json:"payload" toml:"payload" yaml:"payload"` Status OutgoingEmailStatus `boil:"status" json:"status" toml:"status" yaml:"status"` AttemptsNumber int `boil:"attempts_number" json:"attempts_number" toml:"attempts_number" yaml:"attempts_number"` TryAt time.Time `boil:"try_at" json:"try_at" toml:"try_at" yaml:"try_at"` SentAt null.Time `boil:"sent_at" json:"sent_at,omitempty" toml:"sent_at" yaml:"sent_at,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"` EmailType string `boil:"email_type" json:"email_type" toml:"email_type" yaml:"email_type"` R *outgoingEmailR `boil:"-" json:"-" toml:"-" yaml:"-"` L outgoingEmailL `boil:"-" json:"-" toml:"-" yaml:"-"` }
OutgoingEmail is an object representing the database table.
func FindOutgoingEmail ¶
func FindOutgoingEmail(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*OutgoingEmail, error)
FindOutgoingEmail retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindOutgoingEmailP ¶
func FindOutgoingEmailP(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) *OutgoingEmail
FindOutgoingEmailP retrieves a single record by ID with an executor, and panics on error.
func (*OutgoingEmail) Delete ¶
func (o *OutgoingEmail) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single OutgoingEmail record with an executor. Delete will match against the primary key column to find the record to delete.
func (*OutgoingEmail) DeleteP ¶
func (o *OutgoingEmail) DeleteP(ctx context.Context, exec boil.ContextExecutor) int64
DeleteP deletes a single OutgoingEmail record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*OutgoingEmail) Exists ¶
func (o *OutgoingEmail) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
Exists checks if the OutgoingEmail row exists.
func (*OutgoingEmail) Insert ¶
func (o *OutgoingEmail) 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 (*OutgoingEmail) InsertP ¶
func (o *OutgoingEmail) InsertP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns)
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*OutgoingEmail) Reload ¶
func (o *OutgoingEmail) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*OutgoingEmail) ReloadP ¶
func (o *OutgoingEmail) ReloadP(ctx context.Context, exec boil.ContextExecutor)
ReloadP refetches the object from the database with an executor. Panics on error.
func (*OutgoingEmail) Update ¶
func (o *OutgoingEmail) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the OutgoingEmail. 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 (*OutgoingEmail) UpdateP ¶
func (o *OutgoingEmail) UpdateP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) int64
UpdateP uses an executor to update the OutgoingEmail, and panics on error. See Update for more documentation.
func (*OutgoingEmail) Upsert ¶
func (o *OutgoingEmail) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc) 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 (*OutgoingEmail) UpsertP ¶
func (o *OutgoingEmail) UpsertP(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc)
UpsertP attempts an insert using an executor, and does an update or ignore on conflict. UpsertP panics on error.
type OutgoingEmailSlice ¶
type OutgoingEmailSlice []*OutgoingEmail
OutgoingEmailSlice is an alias for a slice of pointers to OutgoingEmail. This should almost always be used instead of []OutgoingEmail.
func (OutgoingEmailSlice) DeleteAll ¶
func (o OutgoingEmailSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (OutgoingEmailSlice) DeleteAllP ¶
func (o OutgoingEmailSlice) DeleteAllP(ctx context.Context, exec boil.ContextExecutor) int64
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*OutgoingEmailSlice) ReloadAll ¶
func (o *OutgoingEmailSlice) 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 (*OutgoingEmailSlice) ReloadAllP ¶
func (o *OutgoingEmailSlice) ReloadAllP(ctx context.Context, exec boil.ContextExecutor)
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (OutgoingEmailSlice) UpdateAll ¶
func (o OutgoingEmailSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
func (OutgoingEmailSlice) UpdateAllP ¶
func (o OutgoingEmailSlice) UpdateAllP(ctx context.Context, exec boil.ContextExecutor, cols M) int64
UpdateAllP updates all rows with the specified column values, and panics on error.
type OutgoingEmailStatus ¶
type OutgoingEmailStatus string
const ( OutgoingEmailStatusNew OutgoingEmailStatus = "new" OutgoingEmailStatusSent OutgoingEmailStatus = "sent" OutgoingEmailStatusFailed OutgoingEmailStatus = "failed" )
Enum values for OutgoingEmailStatus
func AllOutgoingEmailStatus ¶
func AllOutgoingEmailStatus() []OutgoingEmailStatus
func (OutgoingEmailStatus) IsValid ¶
func (e OutgoingEmailStatus) IsValid() error
func (OutgoingEmailStatus) Ordinal ¶
func (e OutgoingEmailStatus) Ordinal() int
func (OutgoingEmailStatus) String ¶
func (e OutgoingEmailStatus) String() string
type Post ¶
type Post struct { ID string `boil:"id" json:"id" toml:"id" yaml:"id"` Subject null.String `boil:"subject" json:"subject,omitempty" toml:"subject" yaml:"subject,omitempty"` Body string `boil:"body" json:"body" toml:"body" yaml:"body"` UserID string `boil:"user_id" json:"user_id" toml:"user_id" yaml:"user_id"` CreatedAt null.Time `boil:"created_at" json:"created_at,omitempty" toml:"created_at" yaml:"created_at,omitempty"` UpdatedAt null.Time `boil:"updated_at" json:"updated_at,omitempty" toml:"updated_at" yaml:"updated_at,omitempty"` VisibilityRadius PostVisibility `boil:"visibility_radius" json:"visibility_radius" toml:"visibility_radius" yaml:"visibility_radius"` PublishedAt null.Time `boil:"published_at" json:"published_at,omitempty" toml:"published_at" yaml:"published_at,omitempty"` URLID null.String `boil:"url_id" json:"url_id,omitempty" toml:"url_id" yaml:"url_id,omitempty"` RSSItemID null.String `boil:"rss_item_id" json:"rss_item_id,omitempty" toml:"rss_item_id" yaml:"rss_item_id,omitempty"` R *postR `boil:"-" json:"-" toml:"-" yaml:"-"` L postL `boil:"-" json:"-" toml:"-" yaml:"-"` }
Post is an object representing the database table.
func FindPost ¶
func FindPost(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*Post, error)
FindPost retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindPostP ¶
func FindPostP(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) *Post
FindPostP retrieves a single record by ID with an executor, and panics on error.
func (*Post) AddPostComments ¶
func (o *Post) AddPostComments(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*PostComment) error
AddPostComments adds the given related objects to the existing relationships of the post, optionally inserting them as new records. Appends related to o.R.PostComments. Sets related.R.Post appropriately.
func (*Post) AddPostCommentsP ¶
func (o *Post) AddPostCommentsP(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*PostComment)
AddPostCommentsP adds the given related objects to the existing relationships of the post, optionally inserting them as new records. Appends related to o.R.PostComments. Sets related.R.Post appropriately. Panics on error.
func (*Post) Delete ¶
Delete deletes a single Post record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Post) DeleteP ¶
DeleteP deletes a single Post record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*Post) Insert ¶
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*Post) InsertP ¶
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*Post) PostComments ¶
PostComments retrieves all the post_comment's PostComments with an executor.
func (*Post) PostPrompt ¶
PostPrompt pointed to by the foreign key.
func (*Post) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*Post) ReloadP ¶
func (o *Post) ReloadP(ctx context.Context, exec boil.ContextExecutor)
ReloadP refetches the object from the database with an executor. Panics on error.
func (*Post) RemovePostPrompt ¶
func (o *Post) RemovePostPrompt(ctx context.Context, exec boil.ContextExecutor, related *PostPrompt) error
RemovePostPrompt relationship. Sets o.R.PostPrompt to nil. Removes o from all passed in related items' relationships struct.
func (*Post) RemovePostPromptP ¶
func (o *Post) RemovePostPromptP(ctx context.Context, exec boil.ContextExecutor, related *PostPrompt)
RemovePostPromptP relationship. Sets o.R.PostPrompt to nil. Removes o from all passed in related items' relationships struct. Panics on error.
func (*Post) RemoveRSSItem ¶
func (o *Post) RemoveRSSItem(ctx context.Context, exec boil.ContextExecutor, related *RSSItem) error
RemoveRSSItem relationship. Sets o.R.RSSItem to nil. Removes o from all passed in related items' relationships struct.
func (*Post) RemoveRSSItemP ¶
RemoveRSSItemP relationship. Sets o.R.RSSItem to nil. Removes o from all passed in related items' relationships struct. Panics on error.
func (*Post) RemoveURL ¶
func (o *Post) RemoveURL(ctx context.Context, exec boil.ContextExecutor, related *NormalizedURL) error
RemoveURL relationship. Sets o.R.URL to nil. Removes o from all passed in related items' relationships struct.
func (*Post) RemoveURLP ¶
func (o *Post) RemoveURLP(ctx context.Context, exec boil.ContextExecutor, related *NormalizedURL)
RemoveURLP relationship. Sets o.R.URL to nil. Removes o from all passed in related items' relationships struct. Panics on error.
func (*Post) SetPostPrompt ¶
func (o *Post) SetPostPrompt(ctx context.Context, exec boil.ContextExecutor, insert bool, related *PostPrompt) error
SetPostPrompt of the post to the related item. Sets o.R.PostPrompt to related. Adds o to related.R.Post.
func (*Post) SetPostPromptP ¶
func (o *Post) SetPostPromptP(ctx context.Context, exec boil.ContextExecutor, insert bool, related *PostPrompt)
SetPostPromptP of the post to the related item. Sets o.R.PostPrompt to related. Adds o to related.R.Post. Panics on error.
func (*Post) SetPostShare ¶
func (o *Post) SetPostShare(ctx context.Context, exec boil.ContextExecutor, insert bool, related *PostShare) error
SetPostShare of the post to the related item. Sets o.R.PostShare to related. Adds o to related.R.Post.
func (*Post) SetPostShareP ¶
func (o *Post) SetPostShareP(ctx context.Context, exec boil.ContextExecutor, insert bool, related *PostShare)
SetPostShareP of the post to the related item. Sets o.R.PostShare to related. Adds o to related.R.Post. Panics on error.
func (*Post) SetPostStat ¶
func (o *Post) SetPostStat(ctx context.Context, exec boil.ContextExecutor, insert bool, related *PostStat) error
SetPostStat of the post to the related item. Sets o.R.PostStat to related. Adds o to related.R.Post.
func (*Post) SetPostStatP ¶
func (o *Post) SetPostStatP(ctx context.Context, exec boil.ContextExecutor, insert bool, related *PostStat)
SetPostStatP of the post to the related item. Sets o.R.PostStat to related. Adds o to related.R.Post. Panics on error.
func (*Post) SetRSSItem ¶
func (o *Post) SetRSSItem(ctx context.Context, exec boil.ContextExecutor, insert bool, related *RSSItem) error
SetRSSItem of the post to the related item. Sets o.R.RSSItem to related. Adds o to related.R.Posts.
func (*Post) SetRSSItemP ¶
func (o *Post) SetRSSItemP(ctx context.Context, exec boil.ContextExecutor, insert bool, related *RSSItem)
SetRSSItemP of the post to the related item. Sets o.R.RSSItem to related. Adds o to related.R.Posts. Panics on error.
func (*Post) SetURL ¶
func (o *Post) SetURL(ctx context.Context, exec boil.ContextExecutor, insert bool, related *NormalizedURL) error
SetURL of the post to the related item. Sets o.R.URL to related. Adds o to related.R.URLPosts.
func (*Post) SetURLP ¶
func (o *Post) SetURLP(ctx context.Context, exec boil.ContextExecutor, insert bool, related *NormalizedURL)
SetURLP of the post to the related item. Sets o.R.URL to related. Adds o to related.R.URLPosts. Panics on error.
func (*Post) SetUser ¶
func (o *Post) SetUser(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User) error
SetUser of the post to the related item. Sets o.R.User to related. Adds o to related.R.Posts.
func (*Post) SetUserP ¶
SetUserP of the post to the related item. Sets o.R.User to related. Adds o to related.R.Posts. Panics on error.
func (*Post) Update ¶
func (o *Post) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the Post. 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 (*Post) UpdateP ¶
UpdateP uses an executor to update the Post, and panics on error. See Update for more documentation.
func (*Post) Upsert ¶
func (o *Post) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc) 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 (*Post) UpsertP ¶
func (o *Post) UpsertP(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc)
UpsertP attempts an insert using an executor, and does an update or ignore on conflict. UpsertP panics on error.
type PostComment ¶
type PostComment 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"` PostID string `boil:"post_id" json:"post_id" toml:"post_id" yaml:"post_id"` ParentCommentID null.String `boil:"parent_comment_id" json:"parent_comment_id,omitempty" toml:"parent_comment_id" yaml:"parent_comment_id,omitempty"` Body string `boil:"body" json:"body" toml:"body" yaml:"body"` 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"` TopCommentID string `boil:"top_comment_id" json:"top_comment_id" toml:"top_comment_id" yaml:"top_comment_id"` R *postCommentR `boil:"-" json:"-" toml:"-" yaml:"-"` L postCommentL `boil:"-" json:"-" toml:"-" yaml:"-"` }
PostComment is an object representing the database table.
func FindPostComment ¶
func FindPostComment(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*PostComment, error)
FindPostComment retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindPostCommentP ¶
func FindPostCommentP(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) *PostComment
FindPostCommentP retrieves a single record by ID with an executor, and panics on error.
func (*PostComment) AddParentCommentPostComments ¶
func (o *PostComment) AddParentCommentPostComments(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*PostComment) error
AddParentCommentPostComments adds the given related objects to the existing relationships of the post_comment, optionally inserting them as new records. Appends related to o.R.ParentCommentPostComments. Sets related.R.ParentComment appropriately.
func (*PostComment) AddParentCommentPostCommentsP ¶
func (o *PostComment) AddParentCommentPostCommentsP(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*PostComment)
AddParentCommentPostCommentsP adds the given related objects to the existing relationships of the post_comment, optionally inserting them as new records. Appends related to o.R.ParentCommentPostComments. Sets related.R.ParentComment appropriately. Panics on error.
func (*PostComment) AddTopCommentPostComments ¶
func (o *PostComment) AddTopCommentPostComments(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*PostComment) error
AddTopCommentPostComments adds the given related objects to the existing relationships of the post_comment, optionally inserting them as new records. Appends related to o.R.TopCommentPostComments. Sets related.R.TopComment appropriately.
func (*PostComment) AddTopCommentPostCommentsP ¶
func (o *PostComment) AddTopCommentPostCommentsP(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*PostComment)
AddTopCommentPostCommentsP adds the given related objects to the existing relationships of the post_comment, optionally inserting them as new records. Appends related to o.R.TopCommentPostComments. Sets related.R.TopComment appropriately. Panics on error.
func (*PostComment) Delete ¶
func (o *PostComment) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single PostComment record with an executor. Delete will match against the primary key column to find the record to delete.
func (*PostComment) DeleteP ¶
func (o *PostComment) DeleteP(ctx context.Context, exec boil.ContextExecutor) int64
DeleteP deletes a single PostComment record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*PostComment) Exists ¶
func (o *PostComment) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
Exists checks if the PostComment row exists.
func (*PostComment) Insert ¶
func (o *PostComment) 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 (*PostComment) InsertP ¶
func (o *PostComment) InsertP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns)
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*PostComment) ParentComment ¶
func (o *PostComment) ParentComment(mods ...qm.QueryMod) postCommentQuery
ParentComment pointed to by the foreign key.
func (*PostComment) ParentCommentPostComments ¶
func (o *PostComment) ParentCommentPostComments(mods ...qm.QueryMod) postCommentQuery
ParentCommentPostComments retrieves all the post_comment's PostComments with an executor via parent_comment_id column.
func (*PostComment) Post ¶
func (o *PostComment) Post(mods ...qm.QueryMod) postQuery
Post pointed to by the foreign key.
func (*PostComment) Reload ¶
func (o *PostComment) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*PostComment) ReloadP ¶
func (o *PostComment) ReloadP(ctx context.Context, exec boil.ContextExecutor)
ReloadP refetches the object from the database with an executor. Panics on error.
func (*PostComment) RemoveParentComment ¶
func (o *PostComment) RemoveParentComment(ctx context.Context, exec boil.ContextExecutor, related *PostComment) error
RemoveParentComment relationship. Sets o.R.ParentComment to nil. Removes o from all passed in related items' relationships struct.
func (*PostComment) RemoveParentCommentP ¶
func (o *PostComment) RemoveParentCommentP(ctx context.Context, exec boil.ContextExecutor, related *PostComment)
RemoveParentCommentP relationship. Sets o.R.ParentComment to nil. Removes o from all passed in related items' relationships struct. Panics on error.
func (*PostComment) RemoveParentCommentPostComments ¶
func (o *PostComment) RemoveParentCommentPostComments(ctx context.Context, exec boil.ContextExecutor, related ...*PostComment) error
RemoveParentCommentPostComments relationships from objects passed in. Removes related items from R.ParentCommentPostComments (uses pointer comparison, removal does not keep order) Sets related.R.ParentComment.
func (*PostComment) RemoveParentCommentPostCommentsP ¶
func (o *PostComment) RemoveParentCommentPostCommentsP(ctx context.Context, exec boil.ContextExecutor, related ...*PostComment)
RemoveParentCommentPostCommentsP relationships from objects passed in. Removes related items from R.ParentCommentPostComments (uses pointer comparison, removal does not keep order) Sets related.R.ParentComment. Panics on error.
func (*PostComment) SetParentComment ¶
func (o *PostComment) SetParentComment(ctx context.Context, exec boil.ContextExecutor, insert bool, related *PostComment) error
SetParentComment of the postComment to the related item. Sets o.R.ParentComment to related. Adds o to related.R.ParentCommentPostComments.
func (*PostComment) SetParentCommentP ¶
func (o *PostComment) SetParentCommentP(ctx context.Context, exec boil.ContextExecutor, insert bool, related *PostComment)
SetParentCommentP of the postComment to the related item. Sets o.R.ParentComment to related. Adds o to related.R.ParentCommentPostComments. Panics on error.
func (*PostComment) SetParentCommentPostComments ¶
func (o *PostComment) SetParentCommentPostComments(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*PostComment) error
SetParentCommentPostComments removes all previously related items of the post_comment replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.ParentComment's ParentCommentPostComments accordingly. Replaces o.R.ParentCommentPostComments with related. Sets related.R.ParentComment's ParentCommentPostComments accordingly.
func (*PostComment) SetParentCommentPostCommentsP ¶
func (o *PostComment) SetParentCommentPostCommentsP(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*PostComment)
SetParentCommentPostCommentsP removes all previously related items of the post_comment replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.ParentComment's ParentCommentPostComments accordingly. Replaces o.R.ParentCommentPostComments with related. Sets related.R.ParentComment's ParentCommentPostComments accordingly. Panics on error.
func (*PostComment) SetPost ¶
func (o *PostComment) SetPost(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Post) error
SetPost of the postComment to the related item. Sets o.R.Post to related. Adds o to related.R.PostComments.
func (*PostComment) SetPostP ¶
func (o *PostComment) SetPostP(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Post)
SetPostP of the postComment to the related item. Sets o.R.Post to related. Adds o to related.R.PostComments. Panics on error.
func (*PostComment) SetTopComment ¶
func (o *PostComment) SetTopComment(ctx context.Context, exec boil.ContextExecutor, insert bool, related *PostComment) error
SetTopComment of the postComment to the related item. Sets o.R.TopComment to related. Adds o to related.R.TopCommentPostComments.
func (*PostComment) SetTopCommentP ¶
func (o *PostComment) SetTopCommentP(ctx context.Context, exec boil.ContextExecutor, insert bool, related *PostComment)
SetTopCommentP of the postComment to the related item. Sets o.R.TopComment to related. Adds o to related.R.TopCommentPostComments. Panics on error.
func (*PostComment) SetUser ¶
func (o *PostComment) SetUser(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User) error
SetUser of the postComment to the related item. Sets o.R.User to related. Adds o to related.R.PostComments.
func (*PostComment) SetUserP ¶
func (o *PostComment) SetUserP(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User)
SetUserP of the postComment to the related item. Sets o.R.User to related. Adds o to related.R.PostComments. Panics on error.
func (*PostComment) TopComment ¶
func (o *PostComment) TopComment(mods ...qm.QueryMod) postCommentQuery
TopComment pointed to by the foreign key.
func (*PostComment) TopCommentPostComments ¶
func (o *PostComment) TopCommentPostComments(mods ...qm.QueryMod) postCommentQuery
TopCommentPostComments retrieves all the post_comment's PostComments with an executor via top_comment_id column.
func (*PostComment) Update ¶
func (o *PostComment) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the PostComment. 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 (*PostComment) UpdateP ¶
func (o *PostComment) UpdateP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) int64
UpdateP uses an executor to update the PostComment, and panics on error. See Update for more documentation.
func (*PostComment) Upsert ¶
func (o *PostComment) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc) 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 (*PostComment) UpsertP ¶
func (o *PostComment) UpsertP(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc)
UpsertP attempts an insert using an executor, and does an update or ignore on conflict. UpsertP panics on error.
func (*PostComment) User ¶
func (o *PostComment) User(mods ...qm.QueryMod) userQuery
User pointed to by the foreign key.
type PostCommentSlice ¶
type PostCommentSlice []*PostComment
PostCommentSlice is an alias for a slice of pointers to PostComment. This should almost always be used instead of []PostComment.
func (PostCommentSlice) DeleteAll ¶
func (o PostCommentSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (PostCommentSlice) DeleteAllP ¶
func (o PostCommentSlice) DeleteAllP(ctx context.Context, exec boil.ContextExecutor) int64
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*PostCommentSlice) ReloadAll ¶
func (o *PostCommentSlice) 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 (*PostCommentSlice) ReloadAllP ¶
func (o *PostCommentSlice) ReloadAllP(ctx context.Context, exec boil.ContextExecutor)
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (PostCommentSlice) UpdateAll ¶
func (o PostCommentSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
func (PostCommentSlice) UpdateAllP ¶
func (o PostCommentSlice) UpdateAllP(ctx context.Context, exec boil.ContextExecutor, cols M) int64
UpdateAllP updates all rows with the specified column values, and panics on error.
type PostPrompt ¶
type PostPrompt struct { ID string `boil:"id" json:"id" toml:"id" yaml:"id"` AskerID string `boil:"asker_id" json:"asker_id" toml:"asker_id" yaml:"asker_id"` RecipientID string `boil:"recipient_id" json:"recipient_id" toml:"recipient_id" yaml:"recipient_id"` Message string `boil:"message" json:"message" toml:"message" yaml:"message"` DismissedAt null.Time `boil:"dismissed_at" json:"dismissed_at,omitempty" toml:"dismissed_at" yaml:"dismissed_at,omitempty"` PostID null.String `boil:"post_id" json:"post_id,omitempty" toml:"post_id" yaml:"post_id,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"` R *postPromptR `boil:"-" json:"-" toml:"-" yaml:"-"` L postPromptL `boil:"-" json:"-" toml:"-" yaml:"-"` }
PostPrompt is an object representing the database table.
func FindPostPrompt ¶
func FindPostPrompt(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*PostPrompt, error)
FindPostPrompt retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindPostPromptP ¶
func FindPostPromptP(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) *PostPrompt
FindPostPromptP retrieves a single record by ID with an executor, and panics on error.
func (*PostPrompt) Asker ¶
func (o *PostPrompt) Asker(mods ...qm.QueryMod) userQuery
Asker pointed to by the foreign key.
func (*PostPrompt) Delete ¶
func (o *PostPrompt) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single PostPrompt record with an executor. Delete will match against the primary key column to find the record to delete.
func (*PostPrompt) DeleteP ¶
func (o *PostPrompt) DeleteP(ctx context.Context, exec boil.ContextExecutor) int64
DeleteP deletes a single PostPrompt record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*PostPrompt) Exists ¶
func (o *PostPrompt) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
Exists checks if the PostPrompt row exists.
func (*PostPrompt) Insert ¶
func (o *PostPrompt) 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 (*PostPrompt) InsertP ¶
func (o *PostPrompt) InsertP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns)
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*PostPrompt) Post ¶
func (o *PostPrompt) Post(mods ...qm.QueryMod) postQuery
Post pointed to by the foreign key.
func (*PostPrompt) Recipient ¶
func (o *PostPrompt) Recipient(mods ...qm.QueryMod) userQuery
Recipient pointed to by the foreign key.
func (*PostPrompt) Reload ¶
func (o *PostPrompt) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*PostPrompt) ReloadP ¶
func (o *PostPrompt) ReloadP(ctx context.Context, exec boil.ContextExecutor)
ReloadP refetches the object from the database with an executor. Panics on error.
func (*PostPrompt) RemovePost ¶
func (o *PostPrompt) RemovePost(ctx context.Context, exec boil.ContextExecutor, related *Post) error
RemovePost relationship. Sets o.R.Post to nil. Removes o from all passed in related items' relationships struct.
func (*PostPrompt) RemovePostP ¶
func (o *PostPrompt) RemovePostP(ctx context.Context, exec boil.ContextExecutor, related *Post)
RemovePostP relationship. Sets o.R.Post to nil. Removes o from all passed in related items' relationships struct. Panics on error.
func (*PostPrompt) SetAsker ¶
func (o *PostPrompt) SetAsker(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User) error
SetAsker of the postPrompt to the related item. Sets o.R.Asker to related. Adds o to related.R.AskerPostPrompts.
func (*PostPrompt) SetAskerP ¶
func (o *PostPrompt) SetAskerP(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User)
SetAskerP of the postPrompt to the related item. Sets o.R.Asker to related. Adds o to related.R.AskerPostPrompts. Panics on error.
func (*PostPrompt) SetPost ¶
func (o *PostPrompt) SetPost(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Post) error
SetPost of the postPrompt to the related item. Sets o.R.Post to related. Adds o to related.R.PostPrompt.
func (*PostPrompt) SetPostP ¶
func (o *PostPrompt) SetPostP(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Post)
SetPostP of the postPrompt to the related item. Sets o.R.Post to related. Adds o to related.R.PostPrompt. Panics on error.
func (*PostPrompt) SetRecipient ¶
func (o *PostPrompt) SetRecipient(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User) error
SetRecipient of the postPrompt to the related item. Sets o.R.Recipient to related. Adds o to related.R.RecipientPostPrompts.
func (*PostPrompt) SetRecipientP ¶
func (o *PostPrompt) SetRecipientP(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User)
SetRecipientP of the postPrompt to the related item. Sets o.R.Recipient to related. Adds o to related.R.RecipientPostPrompts. Panics on error.
func (*PostPrompt) Update ¶
func (o *PostPrompt) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the PostPrompt. 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 (*PostPrompt) UpdateP ¶
func (o *PostPrompt) UpdateP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) int64
UpdateP uses an executor to update the PostPrompt, and panics on error. See Update for more documentation.
func (*PostPrompt) Upsert ¶
func (o *PostPrompt) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc) 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 (*PostPrompt) UpsertP ¶
func (o *PostPrompt) UpsertP(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc)
UpsertP attempts an insert using an executor, and does an update or ignore on conflict. UpsertP panics on error.
type PostPromptSlice ¶
type PostPromptSlice []*PostPrompt
PostPromptSlice is an alias for a slice of pointers to PostPrompt. This should almost always be used instead of []PostPrompt.
func (PostPromptSlice) DeleteAll ¶
func (o PostPromptSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (PostPromptSlice) DeleteAllP ¶
func (o PostPromptSlice) DeleteAllP(ctx context.Context, exec boil.ContextExecutor) int64
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*PostPromptSlice) ReloadAll ¶
func (o *PostPromptSlice) 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 (*PostPromptSlice) ReloadAllP ¶
func (o *PostPromptSlice) ReloadAllP(ctx context.Context, exec boil.ContextExecutor)
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (PostPromptSlice) UpdateAll ¶
func (o PostPromptSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
func (PostPromptSlice) UpdateAllP ¶
func (o PostPromptSlice) UpdateAllP(ctx context.Context, exec boil.ContextExecutor, cols M) int64
UpdateAllP updates all rows with the specified column values, and panics on error.
type PostShare ¶
type PostShare struct {}
PostShare is an object representing the database table.
func FindPostShare ¶
func FindPostShare(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*PostShare, error)
FindPostShare retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindPostShareP ¶
func FindPostShareP(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) *PostShare
FindPostShareP retrieves a single record by ID with an executor, and panics on error.
func (*PostShare) Delete ¶
Delete deletes a single PostShare record with an executor. Delete will match against the primary key column to find the record to delete.
func (*PostShare) DeleteP ¶
DeleteP deletes a single PostShare record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*PostShare) Insert ¶
func (o *PostShare) 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 (*PostShare) InsertP ¶
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*PostShare) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*PostShare) ReloadP ¶
func (o *PostShare) ReloadP(ctx context.Context, exec boil.ContextExecutor)
ReloadP refetches the object from the database with an executor. Panics on error.
func (*PostShare) SetPost ¶
func (o *PostShare) SetPost(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Post) error
SetPost of the postShare to the related item. Sets o.R.Post to related. Adds o to related.R.PostShare.
func (*PostShare) SetPostP ¶
func (o *PostShare) SetPostP(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Post)
SetPostP of the postShare to the related item. Sets o.R.Post to related. Adds o to related.R.PostShare. Panics on error.
func (*PostShare) Update ¶
func (o *PostShare) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the PostShare. 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 (*PostShare) UpdateP ¶
func (o *PostShare) UpdateP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) int64
UpdateP uses an executor to update the PostShare, and panics on error. See Update for more documentation.
func (*PostShare) Upsert ¶
func (o *PostShare) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc) 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 (*PostShare) UpsertP ¶
func (o *PostShare) UpsertP(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc)
UpsertP attempts an insert using an executor, and does an update or ignore on conflict. UpsertP panics on error.
type PostShareSlice ¶
type PostShareSlice []*PostShare
PostShareSlice is an alias for a slice of pointers to PostShare. This should almost always be used instead of []PostShare.
func (PostShareSlice) DeleteAll ¶
func (o PostShareSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (PostShareSlice) DeleteAllP ¶
func (o PostShareSlice) DeleteAllP(ctx context.Context, exec boil.ContextExecutor) int64
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*PostShareSlice) ReloadAll ¶
func (o *PostShareSlice) 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 (*PostShareSlice) ReloadAllP ¶
func (o *PostShareSlice) ReloadAllP(ctx context.Context, exec boil.ContextExecutor)
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (PostShareSlice) UpdateAll ¶
func (o PostShareSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
func (PostShareSlice) UpdateAllP ¶
func (o PostShareSlice) UpdateAllP(ctx context.Context, exec boil.ContextExecutor, cols M) int64
UpdateAllP updates all rows with the specified column values, and panics on error.
type PostSlice ¶
type PostSlice []*Post
PostSlice is an alias for a slice of pointers to Post. This should almost always be used instead of []Post.
func (PostSlice) DeleteAllP ¶
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*PostSlice) ReloadAll ¶
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*PostSlice) ReloadAllP ¶
func (o *PostSlice) ReloadAllP(ctx context.Context, exec boil.ContextExecutor)
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (PostSlice) UpdateAll ¶
UpdateAll updates all rows with the specified column values, using an executor.
func (PostSlice) UpdateAllP ¶
UpdateAllP updates all rows with the specified column values, and panics on error.
type PostStat ¶
type PostStat struct { ID string `boil:"id" json:"id" toml:"id" yaml:"id"` PostID string `boil:"post_id" json:"post_id" toml:"post_id" yaml:"post_id"` CommentsNumber int64 `boil:"comments_number" json:"comments_number" toml:"comments_number" yaml:"comments_number"` CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"` UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"` R *postStatR `boil:"-" json:"-" toml:"-" yaml:"-"` L postStatL `boil:"-" json:"-" toml:"-" yaml:"-"` }
PostStat is an object representing the database table.
func FindPostStat ¶
func FindPostStat(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*PostStat, error)
FindPostStat retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindPostStatP ¶
func FindPostStatP(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) *PostStat
FindPostStatP retrieves a single record by ID with an executor, and panics on error.
func (*PostStat) Delete ¶
Delete deletes a single PostStat record with an executor. Delete will match against the primary key column to find the record to delete.
func (*PostStat) DeleteP ¶
DeleteP deletes a single PostStat record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*PostStat) Insert ¶
func (o *PostStat) 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 (*PostStat) InsertP ¶
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*PostStat) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*PostStat) ReloadP ¶
func (o *PostStat) ReloadP(ctx context.Context, exec boil.ContextExecutor)
ReloadP refetches the object from the database with an executor. Panics on error.
func (*PostStat) SetPost ¶
func (o *PostStat) SetPost(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Post) error
SetPost of the postStat to the related item. Sets o.R.Post to related. Adds o to related.R.PostStat.
func (*PostStat) SetPostP ¶
func (o *PostStat) SetPostP(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Post)
SetPostP of the postStat to the related item. Sets o.R.Post to related. Adds o to related.R.PostStat. Panics on error.
func (*PostStat) Update ¶
func (o *PostStat) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the PostStat. 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 (*PostStat) UpdateP ¶
func (o *PostStat) UpdateP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) int64
UpdateP uses an executor to update the PostStat, and panics on error. See Update for more documentation.
func (*PostStat) Upsert ¶
func (o *PostStat) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc) 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 (*PostStat) UpsertP ¶
func (o *PostStat) UpsertP(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc)
UpsertP attempts an insert using an executor, and does an update or ignore on conflict. UpsertP panics on error.
type PostStatSlice ¶
type PostStatSlice []*PostStat
PostStatSlice is an alias for a slice of pointers to PostStat. This should almost always be used instead of []PostStat.
func (PostStatSlice) DeleteAll ¶
func (o PostStatSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (PostStatSlice) DeleteAllP ¶
func (o PostStatSlice) DeleteAllP(ctx context.Context, exec boil.ContextExecutor) int64
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*PostStatSlice) ReloadAll ¶
func (o *PostStatSlice) 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 (*PostStatSlice) ReloadAllP ¶
func (o *PostStatSlice) ReloadAllP(ctx context.Context, exec boil.ContextExecutor)
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (PostStatSlice) UpdateAll ¶
func (o PostStatSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
func (PostStatSlice) UpdateAllP ¶
func (o PostStatSlice) UpdateAllP(ctx context.Context, exec boil.ContextExecutor, cols M) int64
UpdateAllP updates all rows with the specified column values, and panics on error.
type PostVisibility ¶
type PostVisibility string
const ( PostVisibilityDirectOnly PostVisibility = "direct_only" PostVisibilitySecondDegree PostVisibility = "second_degree" PostVisibilityPublic PostVisibility = "public" )
Enum values for PostVisibility
func AllPostVisibility ¶
func AllPostVisibility() []PostVisibility
func (PostVisibility) IsValid ¶
func (e PostVisibility) IsValid() error
func (PostVisibility) Ordinal ¶
func (e PostVisibility) Ordinal() int
func (PostVisibility) String ¶
func (e PostVisibility) String() string
type ProfileVisibility ¶
type ProfileVisibility string
const ( ProfileVisibilityConnections ProfileVisibility = "connections" ProfileVisibilityRegisteredUsers ProfileVisibility = "registered_users" ProfileVisibilityPublic ProfileVisibility = "public" )
Enum values for ProfileVisibility
func AllProfileVisibility ¶
func AllProfileVisibility() []ProfileVisibility
func (ProfileVisibility) IsValid ¶
func (e ProfileVisibility) IsValid() error
func (ProfileVisibility) Ordinal ¶
func (e ProfileVisibility) Ordinal() int
func (ProfileVisibility) String ¶
func (e ProfileVisibility) String() string
type RSSFeed ¶
type RSSFeed struct { ID string `boil:"id" json:"id" toml:"id" yaml:"id"` URL string `boil:"url" json:"url" toml:"url" yaml:"url"` Title null.String `boil:"title" json:"title,omitempty" toml:"title" yaml:"title,omitempty"` Description null.String `boil:"description" json:"description,omitempty" toml:"description" yaml:"description,omitempty"` LastFetchedAt null.Time `boil:"last_fetched_at" json:"last_fetched_at,omitempty" toml:"last_fetched_at" yaml:"last_fetched_at,omitempty"` AvgItemsPerDay float64 `boil:"avg_items_per_day" json:"avg_items_per_day" toml:"avg_items_per_day" yaml:"avg_items_per_day"` LastItemsCount int `boil:"last_items_count" json:"last_items_count" toml:"last_items_count" yaml:"last_items_count"` UpdateFrequencyMinutes int `` /* 127-byte string literal not displayed */ NextFetchAt null.Time `boil:"next_fetch_at" json:"next_fetch_at,omitempty" toml:"next_fetch_at" yaml:"next_fetch_at,omitempty"` LastManualRefreshAt null.Time `` /* 139-byte string literal not displayed */ ConsecutiveEmptyFetches int `` /* 131-byte string literal not displayed */ 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"` LastFetchError null.String `boil:"last_fetch_error" json:"last_fetch_error,omitempty" toml:"last_fetch_error" yaml:"last_fetch_error,omitempty"` DisableReason NullRSSFeedDisableReason `boil:"disable_reason" json:"disable_reason,omitempty" toml:"disable_reason" yaml:"disable_reason,omitempty"` R *rssFeedR `boil:"-" json:"-" toml:"-" yaml:"-"` L rssFeedL `boil:"-" json:"-" toml:"-" yaml:"-"` }
RSSFeed is an object representing the database table.
func FindRSSFeed ¶
func FindRSSFeed(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*RSSFeed, error)
FindRSSFeed retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindRSSFeedP ¶
func FindRSSFeedP(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) *RSSFeed
FindRSSFeedP retrieves a single record by ID with an executor, and panics on error.
func (*RSSFeed) AddFeedRSSItems ¶
func (o *RSSFeed) AddFeedRSSItems(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*RSSItem) error
AddFeedRSSItems adds the given related objects to the existing relationships of the rss_feed, optionally inserting them as new records. Appends related to o.R.FeedRSSItems. Sets related.R.Feed appropriately.
func (*RSSFeed) AddFeedRSSItemsP ¶
func (o *RSSFeed) AddFeedRSSItemsP(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*RSSItem)
AddFeedRSSItemsP adds the given related objects to the existing relationships of the rss_feed, optionally inserting them as new records. Appends related to o.R.FeedRSSItems. Sets related.R.Feed appropriately. Panics on error.
func (*RSSFeed) AddFeedUserFeedSubscriptions ¶
func (o *RSSFeed) AddFeedUserFeedSubscriptions(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*UserFeedSubscription) error
AddFeedUserFeedSubscriptions adds the given related objects to the existing relationships of the rss_feed, optionally inserting them as new records. Appends related to o.R.FeedUserFeedSubscriptions. Sets related.R.Feed appropriately.
func (*RSSFeed) AddFeedUserFeedSubscriptionsP ¶
func (o *RSSFeed) AddFeedUserFeedSubscriptionsP(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*UserFeedSubscription)
AddFeedUserFeedSubscriptionsP adds the given related objects to the existing relationships of the rss_feed, optionally inserting them as new records. Appends related to o.R.FeedUserFeedSubscriptions. Sets related.R.Feed appropriately. Panics on error.
func (*RSSFeed) Delete ¶
Delete deletes a single RSSFeed record with an executor. Delete will match against the primary key column to find the record to delete.
func (*RSSFeed) DeleteP ¶
DeleteP deletes a single RSSFeed record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*RSSFeed) FeedRSSItems ¶
FeedRSSItems retrieves all the rss_item's RSSItems with an executor via feed_id column.
func (*RSSFeed) FeedUserFeedSubscriptions ¶
FeedUserFeedSubscriptions retrieves all the user_feed_subscription's UserFeedSubscriptions with an executor via feed_id column.
func (*RSSFeed) Insert ¶
func (o *RSSFeed) 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 (*RSSFeed) InsertP ¶
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*RSSFeed) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*RSSFeed) ReloadP ¶
func (o *RSSFeed) ReloadP(ctx context.Context, exec boil.ContextExecutor)
ReloadP refetches the object from the database with an executor. Panics on error.
func (*RSSFeed) Update ¶
func (o *RSSFeed) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the RSSFeed. 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 (*RSSFeed) UpdateP ¶
func (o *RSSFeed) UpdateP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) int64
UpdateP uses an executor to update the RSSFeed, and panics on error. See Update for more documentation.
func (*RSSFeed) Upsert ¶
func (o *RSSFeed) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc) 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 (*RSSFeed) UpsertP ¶
func (o *RSSFeed) UpsertP(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc)
UpsertP attempts an insert using an executor, and does an update or ignore on conflict. UpsertP panics on error.
type RSSFeedDisableReason ¶
type RSSFeedDisableReason string
const ( RSSFeedDisableReasonFetchFailure RSSFeedDisableReason = "fetch_failure" RSSFeedDisableReasonNoSubscribers RSSFeedDisableReason = "no_subscribers" )
Enum values for RSSFeedDisableReason
func AllRSSFeedDisableReason ¶
func AllRSSFeedDisableReason() []RSSFeedDisableReason
func (RSSFeedDisableReason) IsValid ¶
func (e RSSFeedDisableReason) IsValid() error
func (RSSFeedDisableReason) Ordinal ¶
func (e RSSFeedDisableReason) Ordinal() int
func (RSSFeedDisableReason) String ¶
func (e RSSFeedDisableReason) String() string
type RSSFeedSlice ¶
type RSSFeedSlice []*RSSFeed
RSSFeedSlice is an alias for a slice of pointers to RSSFeed. This should almost always be used instead of []RSSFeed.
func (RSSFeedSlice) DeleteAll ¶
func (o RSSFeedSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (RSSFeedSlice) DeleteAllP ¶
func (o RSSFeedSlice) DeleteAllP(ctx context.Context, exec boil.ContextExecutor) int64
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*RSSFeedSlice) ReloadAll ¶
func (o *RSSFeedSlice) 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 (*RSSFeedSlice) ReloadAllP ¶
func (o *RSSFeedSlice) ReloadAllP(ctx context.Context, exec boil.ContextExecutor)
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (RSSFeedSlice) UpdateAll ¶
func (o RSSFeedSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
func (RSSFeedSlice) UpdateAllP ¶
func (o RSSFeedSlice) UpdateAllP(ctx context.Context, exec boil.ContextExecutor, cols M) int64
UpdateAllP updates all rows with the specified column values, and panics on error.
type RSSItem ¶
type RSSItem struct { ID string `boil:"id" json:"id" toml:"id" yaml:"id"` FeedID string `boil:"feed_id" json:"feed_id" toml:"feed_id" yaml:"feed_id"` URLID string `boil:"url_id" json:"url_id" toml:"url_id" yaml:"url_id"` GUID string `boil:"guid" json:"guid" toml:"guid" yaml:"guid"` Title string `boil:"title" json:"title" toml:"title" yaml:"title"` Description string `boil:"description" json:"description" toml:"description" yaml:"description"` SanitizedDescription string `boil:"sanitized_description" json:"sanitized_description" toml:"sanitized_description" yaml:"sanitized_description"` PublishedAt time.Time `boil:"published_at" json:"published_at" toml:"published_at" yaml:"published_at"` CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"` UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"` R *rssItemR `boil:"-" json:"-" toml:"-" yaml:"-"` L rssItemL `boil:"-" json:"-" toml:"-" yaml:"-"` }
RSSItem is an object representing the database table.
func FindRSSItem ¶
func FindRSSItem(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*RSSItem, error)
FindRSSItem retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindRSSItemP ¶
func FindRSSItemP(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) *RSSItem
FindRSSItemP retrieves a single record by ID with an executor, and panics on error.
func (*RSSItem) AddPosts ¶
func (o *RSSItem) AddPosts(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Post) error
AddPosts adds the given related objects to the existing relationships of the rss_item, optionally inserting them as new records. Appends related to o.R.Posts. Sets related.R.RSSItem appropriately.
func (*RSSItem) AddPostsP ¶
func (o *RSSItem) AddPostsP(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Post)
AddPostsP adds the given related objects to the existing relationships of the rss_item, optionally inserting them as new records. Appends related to o.R.Posts. Sets related.R.RSSItem appropriately. Panics on error.
func (*RSSItem) AddUserFeedItems ¶
func (o *RSSItem) AddUserFeedItems(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*UserFeedItem) error
AddUserFeedItems adds the given related objects to the existing relationships of the rss_item, optionally inserting them as new records. Appends related to o.R.UserFeedItems. Sets related.R.RSSItem appropriately.
func (*RSSItem) AddUserFeedItemsP ¶
func (o *RSSItem) AddUserFeedItemsP(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*UserFeedItem)
AddUserFeedItemsP adds the given related objects to the existing relationships of the rss_item, optionally inserting them as new records. Appends related to o.R.UserFeedItems. Sets related.R.RSSItem appropriately. Panics on error.
func (*RSSItem) Delete ¶
Delete deletes a single RSSItem record with an executor. Delete will match against the primary key column to find the record to delete.
func (*RSSItem) DeleteP ¶
DeleteP deletes a single RSSItem record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*RSSItem) Insert ¶
func (o *RSSItem) 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 (*RSSItem) InsertP ¶
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*RSSItem) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*RSSItem) ReloadP ¶
func (o *RSSItem) ReloadP(ctx context.Context, exec boil.ContextExecutor)
ReloadP refetches the object from the database with an executor. Panics on error.
func (*RSSItem) RemovePosts ¶
func (o *RSSItem) RemovePosts(ctx context.Context, exec boil.ContextExecutor, related ...*Post) error
RemovePosts relationships from objects passed in. Removes related items from R.Posts (uses pointer comparison, removal does not keep order) Sets related.R.RSSItem.
func (*RSSItem) RemovePostsP ¶
RemovePostsP relationships from objects passed in. Removes related items from R.Posts (uses pointer comparison, removal does not keep order) Sets related.R.RSSItem. Panics on error.
func (*RSSItem) SetFeed ¶
func (o *RSSItem) SetFeed(ctx context.Context, exec boil.ContextExecutor, insert bool, related *RSSFeed) error
SetFeed of the rssItem to the related item. Sets o.R.Feed to related. Adds o to related.R.FeedRSSItems.
func (*RSSItem) SetFeedP ¶
func (o *RSSItem) SetFeedP(ctx context.Context, exec boil.ContextExecutor, insert bool, related *RSSFeed)
SetFeedP of the rssItem to the related item. Sets o.R.Feed to related. Adds o to related.R.FeedRSSItems. Panics on error.
func (*RSSItem) SetPosts ¶
func (o *RSSItem) SetPosts(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Post) error
SetPosts removes all previously related items of the rss_item replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.RSSItem's Posts accordingly. Replaces o.R.Posts with related. Sets related.R.RSSItem's Posts accordingly.
func (*RSSItem) SetPostsP ¶
func (o *RSSItem) SetPostsP(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Post)
SetPostsP removes all previously related items of the rss_item replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.RSSItem's Posts accordingly. Replaces o.R.Posts with related. Sets related.R.RSSItem's Posts accordingly. Panics on error.
func (*RSSItem) SetURL ¶
func (o *RSSItem) SetURL(ctx context.Context, exec boil.ContextExecutor, insert bool, related *NormalizedURL) error
SetURL of the rssItem to the related item. Sets o.R.URL to related. Adds o to related.R.URLRSSItems.
func (*RSSItem) SetURLP ¶
func (o *RSSItem) SetURLP(ctx context.Context, exec boil.ContextExecutor, insert bool, related *NormalizedURL)
SetURLP of the rssItem to the related item. Sets o.R.URL to related. Adds o to related.R.URLRSSItems. Panics on error.
func (*RSSItem) Update ¶
func (o *RSSItem) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the RSSItem. 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 (*RSSItem) UpdateP ¶
func (o *RSSItem) UpdateP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) int64
UpdateP uses an executor to update the RSSItem, and panics on error. See Update for more documentation.
func (*RSSItem) Upsert ¶
func (o *RSSItem) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc) 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 (*RSSItem) UpsertP ¶
func (o *RSSItem) UpsertP(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc)
UpsertP attempts an insert using an executor, and does an update or ignore on conflict. UpsertP panics on error.
func (*RSSItem) UserFeedItems ¶
UserFeedItems retrieves all the user_feed_item's UserFeedItems with an executor.
type RSSItemSlice ¶
type RSSItemSlice []*RSSItem
RSSItemSlice is an alias for a slice of pointers to RSSItem. This should almost always be used instead of []RSSItem.
func (RSSItemSlice) DeleteAll ¶
func (o RSSItemSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (RSSItemSlice) DeleteAllP ¶
func (o RSSItemSlice) DeleteAllP(ctx context.Context, exec boil.ContextExecutor) int64
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*RSSItemSlice) ReloadAll ¶
func (o *RSSItemSlice) 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 (*RSSItemSlice) ReloadAllP ¶
func (o *RSSItemSlice) ReloadAllP(ctx context.Context, exec boil.ContextExecutor)
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (RSSItemSlice) UpdateAll ¶
func (o RSSItemSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
func (RSSItemSlice) UpdateAllP ¶
func (o RSSItemSlice) UpdateAllP(ctx context.Context, exec boil.ContextExecutor, cols M) int64
UpdateAllP updates all rows with the specified column values, and panics on error.
type SystemSetting ¶
type SystemSetting struct { ID string `boil:"id" json:"id" toml:"id" yaml:"id"` RegistrationOpen bool `boil:"registration_open" json:"registration_open" toml:"registration_open" yaml:"registration_open"` R *systemSettingR `boil:"-" json:"-" toml:"-" yaml:"-"` L systemSettingL `boil:"-" json:"-" toml:"-" yaml:"-"` }
SystemSetting is an object representing the database table.
func FindSystemSetting ¶
func FindSystemSetting(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*SystemSetting, error)
FindSystemSetting retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindSystemSettingP ¶
func FindSystemSettingP(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) *SystemSetting
FindSystemSettingP retrieves a single record by ID with an executor, and panics on error.
func (*SystemSetting) Delete ¶
func (o *SystemSetting) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single SystemSetting record with an executor. Delete will match against the primary key column to find the record to delete.
func (*SystemSetting) DeleteP ¶
func (o *SystemSetting) DeleteP(ctx context.Context, exec boil.ContextExecutor) int64
DeleteP deletes a single SystemSetting record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*SystemSetting) Exists ¶
func (o *SystemSetting) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
Exists checks if the SystemSetting row exists.
func (*SystemSetting) Insert ¶
func (o *SystemSetting) 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 (*SystemSetting) InsertP ¶
func (o *SystemSetting) InsertP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns)
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*SystemSetting) Reload ¶
func (o *SystemSetting) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*SystemSetting) ReloadP ¶
func (o *SystemSetting) ReloadP(ctx context.Context, exec boil.ContextExecutor)
ReloadP refetches the object from the database with an executor. Panics on error.
func (*SystemSetting) Update ¶
func (o *SystemSetting) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the SystemSetting. 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 (*SystemSetting) UpdateP ¶
func (o *SystemSetting) UpdateP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) int64
UpdateP uses an executor to update the SystemSetting, and panics on error. See Update for more documentation.
func (*SystemSetting) Upsert ¶
func (o *SystemSetting) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc) 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 (*SystemSetting) UpsertP ¶
func (o *SystemSetting) UpsertP(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc)
UpsertP attempts an insert using an executor, and does an update or ignore on conflict. UpsertP panics on error.
type SystemSettingSlice ¶
type SystemSettingSlice []*SystemSetting
SystemSettingSlice is an alias for a slice of pointers to SystemSetting. This should almost always be used instead of []SystemSetting.
func (SystemSettingSlice) DeleteAll ¶
func (o SystemSettingSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (SystemSettingSlice) DeleteAllP ¶
func (o SystemSettingSlice) DeleteAllP(ctx context.Context, exec boil.ContextExecutor) int64
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*SystemSettingSlice) ReloadAll ¶
func (o *SystemSettingSlice) 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 (*SystemSettingSlice) ReloadAllP ¶
func (o *SystemSettingSlice) ReloadAllP(ctx context.Context, exec boil.ContextExecutor)
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (SystemSettingSlice) UpdateAll ¶
func (o SystemSettingSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
func (SystemSettingSlice) UpdateAllP ¶
func (o SystemSettingSlice) UpdateAllP(ctx context.Context, exec boil.ContextExecutor, cols M) int64
UpdateAllP updates all rows with the specified column values, and panics on error.
type UpsertOptionFunc ¶
type UpsertOptionFunc func(o *UpsertOptions)
func UpsertConflictTarget ¶
func UpsertConflictTarget(conflictTarget string) UpsertOptionFunc
func UpsertUpdateSet ¶
func UpsertUpdateSet(updateSet string) UpsertOptionFunc
type UpsertOptions ¶
type UpsertOptions struct {
// contains filtered or unexported fields
}
type User ¶
type User struct { ID string `boil:"id" json:"id" toml:"id" yaml:"id"` Email string `boil:"email" json:"email" toml:"email" yaml:"email"` CreatedAt null.Time `boil:"created_at" json:"created_at,omitempty" toml:"created_at" yaml:"created_at,omitempty"` UpdatedAt null.Time `boil:"updated_at" json:"updated_at,omitempty" toml:"updated_at" yaml:"updated_at,omitempty"` Timezone string `boil:"timezone" json:"timezone" toml:"timezone" yaml:"timezone"` EmailConfirmedAt null.Time `boil:"email_confirmed_at" json:"email_confirmed_at,omitempty" toml:"email_confirmed_at" yaml:"email_confirmed_at,omitempty"` EmailConfirmSeed null.String `boil:"email_confirm_seed" json:"email_confirm_seed,omitempty" toml:"email_confirm_seed" yaml:"email_confirm_seed,omitempty"` SignupAttribution null.String `boil:"signup_attribution" json:"signup_attribution,omitempty" toml:"signup_attribution" yaml:"signup_attribution,omitempty"` Pwdhash null.String `boil:"pwdhash" json:"pwdhash,omitempty" toml:"pwdhash" yaml:"pwdhash,omitempty"` Username string `boil:"username" json:"username" toml:"username" yaml:"username"` ProfileVisibility ProfileVisibility `boil:"profile_visibility" json:"profile_visibility" toml:"profile_visibility" yaml:"profile_visibility"` 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 FindUserP ¶
func FindUserP(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) *User
FindUserP retrieves a single record by ID with an executor, and panics on error.
func (*User) AddAllowsWhoWhitelistedConnections ¶
func (o *User) AddAllowsWhoWhitelistedConnections(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*WhitelistedConnection) error
AddAllowsWhoWhitelistedConnections adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.AllowsWhoWhitelistedConnections. Sets related.R.AllowsWho appropriately.
func (*User) AddAllowsWhoWhitelistedConnectionsP ¶
func (o *User) AddAllowsWhoWhitelistedConnectionsP(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*WhitelistedConnection)
AddAllowsWhoWhitelistedConnectionsP adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.AllowsWhoWhitelistedConnections. Sets related.R.AllowsWho appropriately. Panics on error.
func (*User) AddAskerPostPrompts ¶
func (o *User) AddAskerPostPrompts(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*PostPrompt) error
AddAskerPostPrompts adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.AskerPostPrompts. Sets related.R.Asker appropriately.
func (*User) AddAskerPostPromptsP ¶
func (o *User) AddAskerPostPromptsP(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*PostPrompt)
AddAskerPostPromptsP adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.AskerPostPrompts. Sets related.R.Asker appropriately. Panics on error.
func (*User) AddCreatedUserUserInvitations ¶
func (o *User) AddCreatedUserUserInvitations(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*UserInvitation) error
AddCreatedUserUserInvitations adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.CreatedUserUserInvitations. Sets related.R.CreatedUser appropriately.
func (*User) AddCreatedUserUserInvitationsP ¶
func (o *User) AddCreatedUserUserInvitationsP(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*UserInvitation)
AddCreatedUserUserInvitationsP adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.CreatedUserUserInvitations. Sets related.R.CreatedUser appropriately. Panics on error.
func (*User) AddCreatedUserUserSignupRequests ¶
func (o *User) AddCreatedUserUserSignupRequests(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*UserSignupRequest) error
AddCreatedUserUserSignupRequests adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.CreatedUserUserSignupRequests. Sets related.R.CreatedUser appropriately.
func (*User) AddCreatedUserUserSignupRequestsP ¶
func (o *User) AddCreatedUserUserSignupRequestsP(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*UserSignupRequest)
AddCreatedUserUserSignupRequestsP adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.CreatedUserUserSignupRequests. Sets related.R.CreatedUser appropriately. Panics on error.
func (*User) AddMediaUploads ¶
func (o *User) AddMediaUploads(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*MediaUpload) error
AddMediaUploads adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.MediaUploads. Sets related.R.User appropriately.
func (*User) AddMediaUploadsP ¶
func (o *User) AddMediaUploadsP(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*MediaUpload)
AddMediaUploadsP adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.MediaUploads. Sets related.R.User appropriately. Panics on error.
func (*User) AddPostComments ¶
func (o *User) AddPostComments(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*PostComment) error
AddPostComments adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.PostComments. Sets related.R.User appropriately.
func (*User) AddPostCommentsP ¶
func (o *User) AddPostCommentsP(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*PostComment)
AddPostCommentsP adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.PostComments. Sets related.R.User appropriately. Panics on error.
func (*User) AddPosts ¶
func (o *User) AddPosts(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Post) error
AddPosts adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.Posts. Sets related.R.User appropriately.
func (*User) AddPostsP ¶
func (o *User) AddPostsP(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Post)
AddPostsP adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.Posts. Sets related.R.User appropriately. Panics on error.
func (*User) AddRecipientPostPrompts ¶
func (o *User) AddRecipientPostPrompts(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*PostPrompt) error
AddRecipientPostPrompts adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.RecipientPostPrompts. Sets related.R.Recipient appropriately.
func (*User) AddRecipientPostPromptsP ¶
func (o *User) AddRecipientPostPromptsP(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*PostPrompt)
AddRecipientPostPromptsP adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.RecipientPostPrompts. Sets related.R.Recipient appropriately. Panics on error.
func (*User) AddTargetUserUserConnectionMediationRequests ¶
func (o *User) AddTargetUserUserConnectionMediationRequests(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*UserConnectionMediationRequest) error
AddTargetUserUserConnectionMediationRequests adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.TargetUserUserConnectionMediationRequests. Sets related.R.TargetUser appropriately.
func (*User) AddTargetUserUserConnectionMediationRequestsP ¶
func (o *User) AddTargetUserUserConnectionMediationRequestsP(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*UserConnectionMediationRequest)
AddTargetUserUserConnectionMediationRequestsP adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.TargetUserUserConnectionMediationRequests. Sets related.R.TargetUser appropriately. Panics on error.
func (*User) AddUser1UserConnections ¶
func (o *User) AddUser1UserConnections(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*UserConnection) error
AddUser1UserConnections adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.User1UserConnections. Sets related.R.User1 appropriately.
func (*User) AddUser1UserConnectionsP ¶
func (o *User) AddUser1UserConnectionsP(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*UserConnection)
AddUser1UserConnectionsP adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.User1UserConnections. Sets related.R.User1 appropriately. Panics on error.
func (*User) AddUser2UserConnections ¶
func (o *User) AddUser2UserConnections(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*UserConnection) error
AddUser2UserConnections adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.User2UserConnections. Sets related.R.User2 appropriately.
func (*User) AddUser2UserConnectionsP ¶
func (o *User) AddUser2UserConnectionsP(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*UserConnection)
AddUser2UserConnectionsP adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.User2UserConnections. Sets related.R.User2 appropriately. Panics on error.
func (*User) AddUserConnectionMediators ¶
func (o *User) AddUserConnectionMediators(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*UserConnectionMediator) error
AddUserConnectionMediators adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.UserConnectionMediators. Sets related.R.User appropriately.
func (*User) AddUserConnectionMediatorsP ¶
func (o *User) AddUserConnectionMediatorsP(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*UserConnectionMediator)
AddUserConnectionMediatorsP adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.UserConnectionMediators. Sets related.R.User appropriately. Panics on error.
func (*User) AddUserFeedItems ¶
func (o *User) AddUserFeedItems(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*UserFeedItem) error
AddUserFeedItems adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.UserFeedItems. Sets related.R.User appropriately.
func (*User) AddUserFeedItemsP ¶
func (o *User) AddUserFeedItemsP(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*UserFeedItem)
AddUserFeedItemsP adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.UserFeedItems. Sets related.R.User appropriately. Panics on error.
func (*User) AddUserFeedSubscriptions ¶
func (o *User) AddUserFeedSubscriptions(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*UserFeedSubscription) error
AddUserFeedSubscriptions adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.UserFeedSubscriptions. Sets related.R.User appropriately.
func (*User) AddUserFeedSubscriptionsP ¶
func (o *User) AddUserFeedSubscriptionsP(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*UserFeedSubscription)
AddUserFeedSubscriptionsP adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.UserFeedSubscriptions. Sets related.R.User appropriately. Panics on error.
func (*User) AddUserInvitations ¶
func (o *User) AddUserInvitations(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*UserInvitation) error
AddUserInvitations adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.UserInvitations. Sets related.R.User appropriately.
func (*User) AddUserInvitationsP ¶
func (o *User) AddUserInvitationsP(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*UserInvitation)
AddUserInvitationsP adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.UserInvitations. Sets related.R.User appropriately. Panics on error.
func (*User) AddWhoUserUserConnectionMediationRequests ¶
func (o *User) AddWhoUserUserConnectionMediationRequests(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*UserConnectionMediationRequest) error
AddWhoUserUserConnectionMediationRequests adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.WhoUserUserConnectionMediationRequests. Sets related.R.WhoUser appropriately.
func (*User) AddWhoUserUserConnectionMediationRequestsP ¶
func (o *User) AddWhoUserUserConnectionMediationRequestsP(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*UserConnectionMediationRequest)
AddWhoUserUserConnectionMediationRequestsP adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.WhoUserUserConnectionMediationRequests. Sets related.R.WhoUser appropriately. Panics on error.
func (*User) AddWhoWhitelistedConnections ¶
func (o *User) AddWhoWhitelistedConnections(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*WhitelistedConnection) error
AddWhoWhitelistedConnections adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.WhoWhitelistedConnections. Sets related.R.Who appropriately.
func (*User) AddWhoWhitelistedConnectionsP ¶
func (o *User) AddWhoWhitelistedConnectionsP(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*WhitelistedConnection)
AddWhoWhitelistedConnectionsP adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.WhoWhitelistedConnections. Sets related.R.Who appropriately. Panics on error.
func (*User) AllowsWhoWhitelistedConnections ¶
AllowsWhoWhitelistedConnections retrieves all the whitelisted_connection's WhitelistedConnections with an executor via allows_who_id column.
func (*User) AskerPostPrompts ¶
AskerPostPrompts retrieves all the post_prompt's PostPrompts with an executor via asker_id column.
func (*User) CreatedUserUserInvitations ¶
CreatedUserUserInvitations retrieves all the user_invitation's UserInvitations with an executor via created_user_id column.
func (*User) CreatedUserUserSignupRequests ¶
CreatedUserUserSignupRequests retrieves all the user_signup_request's UserSignupRequests with an executor via created_user_id column.
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) DeleteP ¶
DeleteP deletes a single User record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*User) Insert ¶
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*User) InsertP ¶
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*User) MediaUploads ¶
MediaUploads retrieves all the media_upload's MediaUploads with an executor.
func (*User) PostComments ¶
PostComments retrieves all the post_comment's PostComments with an executor.
func (*User) RecipientPostPrompts ¶
RecipientPostPrompts retrieves all the post_prompt's PostPrompts with an executor via recipient_id column.
func (*User) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*User) ReloadP ¶
func (o *User) ReloadP(ctx context.Context, exec boil.ContextExecutor)
ReloadP refetches the object from the database with an executor. Panics on error.
func (*User) RemoveCreatedUserUserInvitations ¶
func (o *User) RemoveCreatedUserUserInvitations(ctx context.Context, exec boil.ContextExecutor, related ...*UserInvitation) error
RemoveCreatedUserUserInvitations relationships from objects passed in. Removes related items from R.CreatedUserUserInvitations (uses pointer comparison, removal does not keep order) Sets related.R.CreatedUser.
func (*User) RemoveCreatedUserUserInvitationsP ¶
func (o *User) RemoveCreatedUserUserInvitationsP(ctx context.Context, exec boil.ContextExecutor, related ...*UserInvitation)
RemoveCreatedUserUserInvitationsP relationships from objects passed in. Removes related items from R.CreatedUserUserInvitations (uses pointer comparison, removal does not keep order) Sets related.R.CreatedUser. Panics on error.
func (*User) RemoveCreatedUserUserSignupRequests ¶
func (o *User) RemoveCreatedUserUserSignupRequests(ctx context.Context, exec boil.ContextExecutor, related ...*UserSignupRequest) error
RemoveCreatedUserUserSignupRequests relationships from objects passed in. Removes related items from R.CreatedUserUserSignupRequests (uses pointer comparison, removal does not keep order) Sets related.R.CreatedUser.
func (*User) RemoveCreatedUserUserSignupRequestsP ¶
func (o *User) RemoveCreatedUserUserSignupRequestsP(ctx context.Context, exec boil.ContextExecutor, related ...*UserSignupRequest)
RemoveCreatedUserUserSignupRequestsP relationships from objects passed in. Removes related items from R.CreatedUserUserSignupRequests (uses pointer comparison, removal does not keep order) Sets related.R.CreatedUser. Panics on error.
func (*User) SetCreatedUserUserInvitations ¶
func (o *User) SetCreatedUserUserInvitations(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*UserInvitation) error
SetCreatedUserUserInvitations removes all previously related items of the user replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.CreatedUser's CreatedUserUserInvitations accordingly. Replaces o.R.CreatedUserUserInvitations with related. Sets related.R.CreatedUser's CreatedUserUserInvitations accordingly.
func (*User) SetCreatedUserUserInvitationsP ¶
func (o *User) SetCreatedUserUserInvitationsP(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*UserInvitation)
SetCreatedUserUserInvitationsP removes all previously related items of the user replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.CreatedUser's CreatedUserUserInvitations accordingly. Replaces o.R.CreatedUserUserInvitations with related. Sets related.R.CreatedUser's CreatedUserUserInvitations accordingly. Panics on error.
func (*User) SetCreatedUserUserSignupRequests ¶
func (o *User) SetCreatedUserUserSignupRequests(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*UserSignupRequest) error
SetCreatedUserUserSignupRequests removes all previously related items of the user replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.CreatedUser's CreatedUserUserSignupRequests accordingly. Replaces o.R.CreatedUserUserSignupRequests with related. Sets related.R.CreatedUser's CreatedUserUserSignupRequests accordingly.
func (*User) SetCreatedUserUserSignupRequestsP ¶
func (o *User) SetCreatedUserUserSignupRequestsP(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*UserSignupRequest)
SetCreatedUserUserSignupRequestsP removes all previously related items of the user replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.CreatedUser's CreatedUserUserSignupRequests accordingly. Replaces o.R.CreatedUserUserSignupRequests with related. Sets related.R.CreatedUser's CreatedUserUserSignupRequests accordingly. Panics on error.
func (*User) SetUserAPIKey ¶
func (o *User) SetUserAPIKey(ctx context.Context, exec boil.ContextExecutor, insert bool, related *UserAPIKey) error
SetUserAPIKey of the user to the related item. Sets o.R.UserAPIKey to related. Adds o to related.R.User.
func (*User) SetUserAPIKeyP ¶
func (o *User) SetUserAPIKeyP(ctx context.Context, exec boil.ContextExecutor, insert bool, related *UserAPIKey)
SetUserAPIKeyP of the user to the related item. Sets o.R.UserAPIKey to related. Adds o to related.R.User. Panics on error.
func (*User) SetUserStyle ¶
func (o *User) SetUserStyle(ctx context.Context, exec boil.ContextExecutor, insert bool, related *UserStyle) error
SetUserStyle of the user to the related item. Sets o.R.UserStyle to related. Adds o to related.R.User.
func (*User) SetUserStyleP ¶
func (o *User) SetUserStyleP(ctx context.Context, exec boil.ContextExecutor, insert bool, related *UserStyle)
SetUserStyleP of the user to the related item. Sets o.R.UserStyle to related. Adds o to related.R.User. Panics on error.
func (*User) TargetUserUserConnectionMediationRequests ¶
func (o *User) TargetUserUserConnectionMediationRequests(mods ...qm.QueryMod) userConnectionMediationRequestQuery
TargetUserUserConnectionMediationRequests retrieves all the user_connection_mediation_request's UserConnectionMediationRequests with an executor via target_user_id column.
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) UpdateP ¶
UpdateP uses an executor to update the User, and panics on error. See Update for more documentation.
func (*User) Upsert ¶
func (o *User) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc) 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) UpsertP ¶
func (o *User) UpsertP(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc)
UpsertP attempts an insert using an executor, and does an update or ignore on conflict. UpsertP panics on error.
func (*User) User1UserConnections ¶
User1UserConnections retrieves all the user_connection's UserConnections with an executor via user1_id column.
func (*User) User2UserConnections ¶
User2UserConnections retrieves all the user_connection's UserConnections with an executor via user2_id column.
func (*User) UserAPIKey ¶
UserAPIKey pointed to by the foreign key.
func (*User) UserConnectionMediators ¶
UserConnectionMediators retrieves all the user_connection_mediator's UserConnectionMediators with an executor.
func (*User) UserFeedItems ¶
UserFeedItems retrieves all the user_feed_item's UserFeedItems with an executor.
func (*User) UserFeedSubscriptions ¶
UserFeedSubscriptions retrieves all the user_feed_subscription's UserFeedSubscriptions with an executor.
func (*User) UserInvitations ¶
UserInvitations retrieves all the user_invitation's UserInvitations with an executor.
func (*User) WhoUserUserConnectionMediationRequests ¶
func (o *User) WhoUserUserConnectionMediationRequests(mods ...qm.QueryMod) userConnectionMediationRequestQuery
WhoUserUserConnectionMediationRequests retrieves all the user_connection_mediation_request's UserConnectionMediationRequests with an executor via who_user_id column.
func (*User) WhoWhitelistedConnections ¶
WhoWhitelistedConnections retrieves all the whitelisted_connection's WhitelistedConnections with an executor via who_id column.
type UserAPIKey ¶
type UserAPIKey struct { ID string `boil:"id" json:"id" toml:"id" yaml:"id"` APIKey string `boil:"api_key" json:"api_key" toml:"api_key" yaml:"api_key"` UserID string `boil:"user_id" json:"user_id" toml:"user_id" yaml:"user_id"` CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"` UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"` R *userAPIKeyR `boil:"-" json:"-" toml:"-" yaml:"-"` L userAPIKeyL `boil:"-" json:"-" toml:"-" yaml:"-"` }
UserAPIKey is an object representing the database table.
func FindUserAPIKey ¶
func FindUserAPIKey(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*UserAPIKey, error)
FindUserAPIKey retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindUserAPIKeyP ¶
func FindUserAPIKeyP(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) *UserAPIKey
FindUserAPIKeyP retrieves a single record by ID with an executor, and panics on error.
func (*UserAPIKey) Delete ¶
func (o *UserAPIKey) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single UserAPIKey record with an executor. Delete will match against the primary key column to find the record to delete.
func (*UserAPIKey) DeleteP ¶
func (o *UserAPIKey) DeleteP(ctx context.Context, exec boil.ContextExecutor) int64
DeleteP deletes a single UserAPIKey record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*UserAPIKey) Exists ¶
func (o *UserAPIKey) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
Exists checks if the UserAPIKey row exists.
func (*UserAPIKey) Insert ¶
func (o *UserAPIKey) 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 (*UserAPIKey) InsertP ¶
func (o *UserAPIKey) InsertP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns)
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*UserAPIKey) Reload ¶
func (o *UserAPIKey) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*UserAPIKey) ReloadP ¶
func (o *UserAPIKey) ReloadP(ctx context.Context, exec boil.ContextExecutor)
ReloadP refetches the object from the database with an executor. Panics on error.
func (*UserAPIKey) SetUser ¶
func (o *UserAPIKey) SetUser(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User) error
SetUser of the userAPIKey to the related item. Sets o.R.User to related. Adds o to related.R.UserAPIKey.
func (*UserAPIKey) SetUserP ¶
func (o *UserAPIKey) SetUserP(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User)
SetUserP of the userAPIKey to the related item. Sets o.R.User to related. Adds o to related.R.UserAPIKey. Panics on error.
func (*UserAPIKey) Update ¶
func (o *UserAPIKey) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the UserAPIKey. 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 (*UserAPIKey) UpdateP ¶
func (o *UserAPIKey) UpdateP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) int64
UpdateP uses an executor to update the UserAPIKey, and panics on error. See Update for more documentation.
func (*UserAPIKey) Upsert ¶
func (o *UserAPIKey) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc) 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 (*UserAPIKey) UpsertP ¶
func (o *UserAPIKey) UpsertP(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc)
UpsertP attempts an insert using an executor, and does an update or ignore on conflict. UpsertP panics on error.
func (*UserAPIKey) User ¶
func (o *UserAPIKey) User(mods ...qm.QueryMod) userQuery
User pointed to by the foreign key.
type UserAPIKeySlice ¶
type UserAPIKeySlice []*UserAPIKey
UserAPIKeySlice is an alias for a slice of pointers to UserAPIKey. This should almost always be used instead of []UserAPIKey.
func (UserAPIKeySlice) DeleteAll ¶
func (o UserAPIKeySlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (UserAPIKeySlice) DeleteAllP ¶
func (o UserAPIKeySlice) DeleteAllP(ctx context.Context, exec boil.ContextExecutor) int64
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*UserAPIKeySlice) ReloadAll ¶
func (o *UserAPIKeySlice) 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 (*UserAPIKeySlice) ReloadAllP ¶
func (o *UserAPIKeySlice) ReloadAllP(ctx context.Context, exec boil.ContextExecutor)
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (UserAPIKeySlice) UpdateAll ¶
func (o UserAPIKeySlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
func (UserAPIKeySlice) UpdateAllP ¶
func (o UserAPIKeySlice) UpdateAllP(ctx context.Context, exec boil.ContextExecutor, cols M) int64
UpdateAllP updates all rows with the specified column values, and panics on error.
type UserConnection ¶
type UserConnection struct { ID string `boil:"id" json:"id" toml:"id" yaml:"id"` User1ID string `boil:"user1_id" json:"user1_id" toml:"user1_id" yaml:"user1_id"` User2ID string `boil:"user2_id" json:"user2_id" toml:"user2_id" yaml:"user2_id"` CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"` UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"` R *userConnectionR `boil:"-" json:"-" toml:"-" yaml:"-"` L userConnectionL `boil:"-" json:"-" toml:"-" yaml:"-"` }
UserConnection is an object representing the database table.
func FindUserConnection ¶
func FindUserConnection(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*UserConnection, error)
FindUserConnection retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindUserConnectionP ¶
func FindUserConnectionP(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) *UserConnection
FindUserConnectionP retrieves a single record by ID with an executor, and panics on error.
func (*UserConnection) ConnectionUserConnectionMediationRequest ¶
func (o *UserConnection) ConnectionUserConnectionMediationRequest(mods ...qm.QueryMod) userConnectionMediationRequestQuery
ConnectionUserConnectionMediationRequest pointed to by the foreign key.
func (*UserConnection) ConnectionWhitelistedConnection ¶
func (o *UserConnection) ConnectionWhitelistedConnection(mods ...qm.QueryMod) whitelistedConnectionQuery
ConnectionWhitelistedConnection pointed to by the foreign key.
func (*UserConnection) Delete ¶
func (o *UserConnection) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single UserConnection record with an executor. Delete will match against the primary key column to find the record to delete.
func (*UserConnection) DeleteP ¶
func (o *UserConnection) DeleteP(ctx context.Context, exec boil.ContextExecutor) int64
DeleteP deletes a single UserConnection record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*UserConnection) Exists ¶
func (o *UserConnection) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
Exists checks if the UserConnection row exists.
func (*UserConnection) Insert ¶
func (o *UserConnection) 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 (*UserConnection) InsertP ¶
func (o *UserConnection) InsertP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns)
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*UserConnection) Reload ¶
func (o *UserConnection) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*UserConnection) ReloadP ¶
func (o *UserConnection) ReloadP(ctx context.Context, exec boil.ContextExecutor)
ReloadP refetches the object from the database with an executor. Panics on error.
func (*UserConnection) RemoveConnectionUserConnectionMediationRequest ¶
func (o *UserConnection) RemoveConnectionUserConnectionMediationRequest(ctx context.Context, exec boil.ContextExecutor, related *UserConnectionMediationRequest) error
RemoveConnectionUserConnectionMediationRequest relationship. Sets o.R.ConnectionUserConnectionMediationRequest to nil. Removes o from all passed in related items' relationships struct.
func (*UserConnection) RemoveConnectionUserConnectionMediationRequestP ¶
func (o *UserConnection) RemoveConnectionUserConnectionMediationRequestP(ctx context.Context, exec boil.ContextExecutor, related *UserConnectionMediationRequest)
RemoveConnectionUserConnectionMediationRequestP relationship. Sets o.R.ConnectionUserConnectionMediationRequest to nil. Removes o from all passed in related items' relationships struct. Panics on error.
func (*UserConnection) RemoveConnectionWhitelistedConnection ¶
func (o *UserConnection) RemoveConnectionWhitelistedConnection(ctx context.Context, exec boil.ContextExecutor, related *WhitelistedConnection) error
RemoveConnectionWhitelistedConnection relationship. Sets o.R.ConnectionWhitelistedConnection to nil. Removes o from all passed in related items' relationships struct.
func (*UserConnection) RemoveConnectionWhitelistedConnectionP ¶
func (o *UserConnection) RemoveConnectionWhitelistedConnectionP(ctx context.Context, exec boil.ContextExecutor, related *WhitelistedConnection)
RemoveConnectionWhitelistedConnectionP relationship. Sets o.R.ConnectionWhitelistedConnection to nil. Removes o from all passed in related items' relationships struct. Panics on error.
func (*UserConnection) SetConnectionUserConnectionMediationRequest ¶
func (o *UserConnection) SetConnectionUserConnectionMediationRequest(ctx context.Context, exec boil.ContextExecutor, insert bool, related *UserConnectionMediationRequest) error
SetConnectionUserConnectionMediationRequest of the userConnection to the related item. Sets o.R.ConnectionUserConnectionMediationRequest to related. Adds o to related.R.Connection.
func (*UserConnection) SetConnectionUserConnectionMediationRequestP ¶
func (o *UserConnection) SetConnectionUserConnectionMediationRequestP(ctx context.Context, exec boil.ContextExecutor, insert bool, related *UserConnectionMediationRequest)
SetConnectionUserConnectionMediationRequestP of the userConnection to the related item. Sets o.R.ConnectionUserConnectionMediationRequest to related. Adds o to related.R.Connection. Panics on error.
func (*UserConnection) SetConnectionWhitelistedConnection ¶
func (o *UserConnection) SetConnectionWhitelistedConnection(ctx context.Context, exec boil.ContextExecutor, insert bool, related *WhitelistedConnection) error
SetConnectionWhitelistedConnection of the userConnection to the related item. Sets o.R.ConnectionWhitelistedConnection to related. Adds o to related.R.Connection.
func (*UserConnection) SetConnectionWhitelistedConnectionP ¶
func (o *UserConnection) SetConnectionWhitelistedConnectionP(ctx context.Context, exec boil.ContextExecutor, insert bool, related *WhitelistedConnection)
SetConnectionWhitelistedConnectionP of the userConnection to the related item. Sets o.R.ConnectionWhitelistedConnection to related. Adds o to related.R.Connection. Panics on error.
func (*UserConnection) SetUser1 ¶
func (o *UserConnection) SetUser1(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User) error
SetUser1 of the userConnection to the related item. Sets o.R.User1 to related. Adds o to related.R.User1UserConnections.
func (*UserConnection) SetUser1P ¶
func (o *UserConnection) SetUser1P(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User)
SetUser1P of the userConnection to the related item. Sets o.R.User1 to related. Adds o to related.R.User1UserConnections. Panics on error.
func (*UserConnection) SetUser2 ¶
func (o *UserConnection) SetUser2(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User) error
SetUser2 of the userConnection to the related item. Sets o.R.User2 to related. Adds o to related.R.User2UserConnections.
func (*UserConnection) SetUser2P ¶
func (o *UserConnection) SetUser2P(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User)
SetUser2P of the userConnection to the related item. Sets o.R.User2 to related. Adds o to related.R.User2UserConnections. Panics on error.
func (*UserConnection) Update ¶
func (o *UserConnection) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the UserConnection. 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 (*UserConnection) UpdateP ¶
func (o *UserConnection) UpdateP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) int64
UpdateP uses an executor to update the UserConnection, and panics on error. See Update for more documentation.
func (*UserConnection) Upsert ¶
func (o *UserConnection) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc) 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 (*UserConnection) UpsertP ¶
func (o *UserConnection) UpsertP(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc)
UpsertP attempts an insert using an executor, and does an update or ignore on conflict. UpsertP panics on error.
func (*UserConnection) User1 ¶
func (o *UserConnection) User1(mods ...qm.QueryMod) userQuery
User1 pointed to by the foreign key.
func (*UserConnection) User2 ¶
func (o *UserConnection) User2(mods ...qm.QueryMod) userQuery
User2 pointed to by the foreign key.
type UserConnectionMediationRequest ¶
type UserConnectionMediationRequest struct { ID string `boil:"id" json:"id" toml:"id" yaml:"id"` WhoUserID string `boil:"who_user_id" json:"who_user_id" toml:"who_user_id" yaml:"who_user_id"` TargetUserID string `boil:"target_user_id" json:"target_user_id" toml:"target_user_id" yaml:"target_user_id"` TargetDecision NullConnectionRequestDecision `boil:"target_decision" json:"target_decision,omitempty" toml:"target_decision" yaml:"target_decision,omitempty"` TargetDecidedAt null.Time `boil:"target_decided_at" json:"target_decided_at,omitempty" toml:"target_decided_at" yaml:"target_decided_at,omitempty"` TargetNote null.String `boil:"target_note" json:"target_note,omitempty" toml:"target_note" yaml:"target_note,omitempty"` ConnectionID null.String `boil:"connection_id" json:"connection_id,omitempty" toml:"connection_id" yaml:"connection_id,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"` SourceNote null.String `boil:"source_note" json:"source_note,omitempty" toml:"source_note" yaml:"source_note,omitempty"` R *userConnectionMediationRequestR `boil:"-" json:"-" toml:"-" yaml:"-"` L userConnectionMediationRequestL `boil:"-" json:"-" toml:"-" yaml:"-"` }
UserConnectionMediationRequest is an object representing the database table.
func FindUserConnectionMediationRequest ¶
func FindUserConnectionMediationRequest(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*UserConnectionMediationRequest, error)
FindUserConnectionMediationRequest retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindUserConnectionMediationRequestP ¶
func FindUserConnectionMediationRequestP(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) *UserConnectionMediationRequest
FindUserConnectionMediationRequestP retrieves a single record by ID with an executor, and panics on error.
func (*UserConnectionMediationRequest) AddMediationUserConnectionMediators ¶
func (o *UserConnectionMediationRequest) AddMediationUserConnectionMediators(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*UserConnectionMediator) error
AddMediationUserConnectionMediators adds the given related objects to the existing relationships of the user_connection_mediation_request, optionally inserting them as new records. Appends related to o.R.MediationUserConnectionMediators. Sets related.R.Mediation appropriately.
func (*UserConnectionMediationRequest) AddMediationUserConnectionMediatorsP ¶
func (o *UserConnectionMediationRequest) AddMediationUserConnectionMediatorsP(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*UserConnectionMediator)
AddMediationUserConnectionMediatorsP adds the given related objects to the existing relationships of the user_connection_mediation_request, optionally inserting them as new records. Appends related to o.R.MediationUserConnectionMediators. Sets related.R.Mediation appropriately. Panics on error.
func (*UserConnectionMediationRequest) Connection ¶
func (o *UserConnectionMediationRequest) Connection(mods ...qm.QueryMod) userConnectionQuery
Connection pointed to by the foreign key.
func (*UserConnectionMediationRequest) Delete ¶
func (o *UserConnectionMediationRequest) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single UserConnectionMediationRequest record with an executor. Delete will match against the primary key column to find the record to delete.
func (*UserConnectionMediationRequest) DeleteP ¶
func (o *UserConnectionMediationRequest) DeleteP(ctx context.Context, exec boil.ContextExecutor) int64
DeleteP deletes a single UserConnectionMediationRequest record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*UserConnectionMediationRequest) Exists ¶
func (o *UserConnectionMediationRequest) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
Exists checks if the UserConnectionMediationRequest row exists.
func (*UserConnectionMediationRequest) Insert ¶
func (o *UserConnectionMediationRequest) 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 (*UserConnectionMediationRequest) InsertP ¶
func (o *UserConnectionMediationRequest) InsertP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns)
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*UserConnectionMediationRequest) MediationUserConnectionMediators ¶
func (o *UserConnectionMediationRequest) MediationUserConnectionMediators(mods ...qm.QueryMod) userConnectionMediatorQuery
MediationUserConnectionMediators retrieves all the user_connection_mediator's UserConnectionMediators with an executor via mediation_id column.
func (*UserConnectionMediationRequest) Reload ¶
func (o *UserConnectionMediationRequest) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*UserConnectionMediationRequest) ReloadP ¶
func (o *UserConnectionMediationRequest) ReloadP(ctx context.Context, exec boil.ContextExecutor)
ReloadP refetches the object from the database with an executor. Panics on error.
func (*UserConnectionMediationRequest) RemoveConnection ¶
func (o *UserConnectionMediationRequest) RemoveConnection(ctx context.Context, exec boil.ContextExecutor, related *UserConnection) error
RemoveConnection relationship. Sets o.R.Connection to nil. Removes o from all passed in related items' relationships struct.
func (*UserConnectionMediationRequest) RemoveConnectionP ¶
func (o *UserConnectionMediationRequest) RemoveConnectionP(ctx context.Context, exec boil.ContextExecutor, related *UserConnection)
RemoveConnectionP relationship. Sets o.R.Connection to nil. Removes o from all passed in related items' relationships struct. Panics on error.
func (*UserConnectionMediationRequest) SetConnection ¶
func (o *UserConnectionMediationRequest) SetConnection(ctx context.Context, exec boil.ContextExecutor, insert bool, related *UserConnection) error
SetConnection of the userConnectionMediationRequest to the related item. Sets o.R.Connection to related. Adds o to related.R.ConnectionUserConnectionMediationRequest.
func (*UserConnectionMediationRequest) SetConnectionP ¶
func (o *UserConnectionMediationRequest) SetConnectionP(ctx context.Context, exec boil.ContextExecutor, insert bool, related *UserConnection)
SetConnectionP of the userConnectionMediationRequest to the related item. Sets o.R.Connection to related. Adds o to related.R.ConnectionUserConnectionMediationRequest. Panics on error.
func (*UserConnectionMediationRequest) SetTargetUser ¶
func (o *UserConnectionMediationRequest) SetTargetUser(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User) error
SetTargetUser of the userConnectionMediationRequest to the related item. Sets o.R.TargetUser to related. Adds o to related.R.TargetUserUserConnectionMediationRequests.
func (*UserConnectionMediationRequest) SetTargetUserP ¶
func (o *UserConnectionMediationRequest) SetTargetUserP(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User)
SetTargetUserP of the userConnectionMediationRequest to the related item. Sets o.R.TargetUser to related. Adds o to related.R.TargetUserUserConnectionMediationRequests. Panics on error.
func (*UserConnectionMediationRequest) SetWhoUser ¶
func (o *UserConnectionMediationRequest) SetWhoUser(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User) error
SetWhoUser of the userConnectionMediationRequest to the related item. Sets o.R.WhoUser to related. Adds o to related.R.WhoUserUserConnectionMediationRequests.
func (*UserConnectionMediationRequest) SetWhoUserP ¶
func (o *UserConnectionMediationRequest) SetWhoUserP(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User)
SetWhoUserP of the userConnectionMediationRequest to the related item. Sets o.R.WhoUser to related. Adds o to related.R.WhoUserUserConnectionMediationRequests. Panics on error.
func (*UserConnectionMediationRequest) TargetUser ¶
func (o *UserConnectionMediationRequest) TargetUser(mods ...qm.QueryMod) userQuery
TargetUser pointed to by the foreign key.
func (*UserConnectionMediationRequest) Update ¶
func (o *UserConnectionMediationRequest) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the UserConnectionMediationRequest. 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 (*UserConnectionMediationRequest) UpdateP ¶
func (o *UserConnectionMediationRequest) UpdateP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) int64
UpdateP uses an executor to update the UserConnectionMediationRequest, and panics on error. See Update for more documentation.
func (*UserConnectionMediationRequest) Upsert ¶
func (o *UserConnectionMediationRequest) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc) 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 (*UserConnectionMediationRequest) UpsertP ¶
func (o *UserConnectionMediationRequest) UpsertP(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc)
UpsertP attempts an insert using an executor, and does an update or ignore on conflict. UpsertP panics on error.
func (*UserConnectionMediationRequest) WhoUser ¶
func (o *UserConnectionMediationRequest) WhoUser(mods ...qm.QueryMod) userQuery
WhoUser pointed to by the foreign key.
type UserConnectionMediationRequestSlice ¶
type UserConnectionMediationRequestSlice []*UserConnectionMediationRequest
UserConnectionMediationRequestSlice is an alias for a slice of pointers to UserConnectionMediationRequest. This should almost always be used instead of []UserConnectionMediationRequest.
func (UserConnectionMediationRequestSlice) DeleteAll ¶
func (o UserConnectionMediationRequestSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (UserConnectionMediationRequestSlice) DeleteAllP ¶
func (o UserConnectionMediationRequestSlice) DeleteAllP(ctx context.Context, exec boil.ContextExecutor) int64
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*UserConnectionMediationRequestSlice) ReloadAll ¶
func (o *UserConnectionMediationRequestSlice) 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 (*UserConnectionMediationRequestSlice) ReloadAllP ¶
func (o *UserConnectionMediationRequestSlice) ReloadAllP(ctx context.Context, exec boil.ContextExecutor)
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (UserConnectionMediationRequestSlice) UpdateAll ¶
func (o UserConnectionMediationRequestSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
func (UserConnectionMediationRequestSlice) UpdateAllP ¶
func (o UserConnectionMediationRequestSlice) UpdateAllP(ctx context.Context, exec boil.ContextExecutor, cols M) int64
UpdateAllP updates all rows with the specified column values, and panics on error.
type UserConnectionMediator ¶
type UserConnectionMediator struct { ID string `boil:"id" json:"id" toml:"id" yaml:"id"` MediationID string `boil:"mediation_id" json:"mediation_id" toml:"mediation_id" yaml:"mediation_id"` UserID string `boil:"user_id" json:"user_id" toml:"user_id" yaml:"user_id"` Decision ConnectionMediationDecision `boil:"decision" json:"decision" toml:"decision" yaml:"decision"` DecidedAt time.Time `boil:"decided_at" json:"decided_at" toml:"decided_at" yaml:"decided_at"` MediatorNote null.String `boil:"mediator_note" json:"mediator_note,omitempty" toml:"mediator_note" yaml:"mediator_note,omitempty"` R *userConnectionMediatorR `boil:"-" json:"-" toml:"-" yaml:"-"` L userConnectionMediatorL `boil:"-" json:"-" toml:"-" yaml:"-"` }
UserConnectionMediator is an object representing the database table.
func FindUserConnectionMediator ¶
func FindUserConnectionMediator(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*UserConnectionMediator, error)
FindUserConnectionMediator retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindUserConnectionMediatorP ¶
func FindUserConnectionMediatorP(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) *UserConnectionMediator
FindUserConnectionMediatorP retrieves a single record by ID with an executor, and panics on error.
func (*UserConnectionMediator) Delete ¶
func (o *UserConnectionMediator) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single UserConnectionMediator record with an executor. Delete will match against the primary key column to find the record to delete.
func (*UserConnectionMediator) DeleteP ¶
func (o *UserConnectionMediator) DeleteP(ctx context.Context, exec boil.ContextExecutor) int64
DeleteP deletes a single UserConnectionMediator record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*UserConnectionMediator) Exists ¶
func (o *UserConnectionMediator) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
Exists checks if the UserConnectionMediator row exists.
func (*UserConnectionMediator) Insert ¶
func (o *UserConnectionMediator) 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 (*UserConnectionMediator) InsertP ¶
func (o *UserConnectionMediator) InsertP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns)
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*UserConnectionMediator) Mediation ¶
func (o *UserConnectionMediator) Mediation(mods ...qm.QueryMod) userConnectionMediationRequestQuery
Mediation pointed to by the foreign key.
func (*UserConnectionMediator) Reload ¶
func (o *UserConnectionMediator) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*UserConnectionMediator) ReloadP ¶
func (o *UserConnectionMediator) ReloadP(ctx context.Context, exec boil.ContextExecutor)
ReloadP refetches the object from the database with an executor. Panics on error.
func (*UserConnectionMediator) SetMediation ¶
func (o *UserConnectionMediator) SetMediation(ctx context.Context, exec boil.ContextExecutor, insert bool, related *UserConnectionMediationRequest) error
SetMediation of the userConnectionMediator to the related item. Sets o.R.Mediation to related. Adds o to related.R.MediationUserConnectionMediators.
func (*UserConnectionMediator) SetMediationP ¶
func (o *UserConnectionMediator) SetMediationP(ctx context.Context, exec boil.ContextExecutor, insert bool, related *UserConnectionMediationRequest)
SetMediationP of the userConnectionMediator to the related item. Sets o.R.Mediation to related. Adds o to related.R.MediationUserConnectionMediators. Panics on error.
func (*UserConnectionMediator) SetUser ¶
func (o *UserConnectionMediator) SetUser(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User) error
SetUser of the userConnectionMediator to the related item. Sets o.R.User to related. Adds o to related.R.UserConnectionMediators.
func (*UserConnectionMediator) SetUserP ¶
func (o *UserConnectionMediator) SetUserP(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User)
SetUserP of the userConnectionMediator to the related item. Sets o.R.User to related. Adds o to related.R.UserConnectionMediators. Panics on error.
func (*UserConnectionMediator) Update ¶
func (o *UserConnectionMediator) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the UserConnectionMediator. 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 (*UserConnectionMediator) UpdateP ¶
func (o *UserConnectionMediator) UpdateP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) int64
UpdateP uses an executor to update the UserConnectionMediator, and panics on error. See Update for more documentation.
func (*UserConnectionMediator) Upsert ¶
func (o *UserConnectionMediator) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc) 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 (*UserConnectionMediator) UpsertP ¶
func (o *UserConnectionMediator) UpsertP(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc)
UpsertP attempts an insert using an executor, and does an update or ignore on conflict. UpsertP panics on error.
func (*UserConnectionMediator) User ¶
func (o *UserConnectionMediator) User(mods ...qm.QueryMod) userQuery
User pointed to by the foreign key.
type UserConnectionMediatorSlice ¶
type UserConnectionMediatorSlice []*UserConnectionMediator
UserConnectionMediatorSlice is an alias for a slice of pointers to UserConnectionMediator. This should almost always be used instead of []UserConnectionMediator.
func (UserConnectionMediatorSlice) DeleteAll ¶
func (o UserConnectionMediatorSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (UserConnectionMediatorSlice) DeleteAllP ¶
func (o UserConnectionMediatorSlice) DeleteAllP(ctx context.Context, exec boil.ContextExecutor) int64
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*UserConnectionMediatorSlice) ReloadAll ¶
func (o *UserConnectionMediatorSlice) 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 (*UserConnectionMediatorSlice) ReloadAllP ¶
func (o *UserConnectionMediatorSlice) ReloadAllP(ctx context.Context, exec boil.ContextExecutor)
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (UserConnectionMediatorSlice) UpdateAll ¶
func (o UserConnectionMediatorSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
func (UserConnectionMediatorSlice) UpdateAllP ¶
func (o UserConnectionMediatorSlice) UpdateAllP(ctx context.Context, exec boil.ContextExecutor, cols M) int64
UpdateAllP updates all rows with the specified column values, and panics on error.
type UserConnectionSlice ¶
type UserConnectionSlice []*UserConnection
UserConnectionSlice is an alias for a slice of pointers to UserConnection. This should almost always be used instead of []UserConnection.
func (UserConnectionSlice) DeleteAll ¶
func (o UserConnectionSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (UserConnectionSlice) DeleteAllP ¶
func (o UserConnectionSlice) DeleteAllP(ctx context.Context, exec boil.ContextExecutor) int64
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*UserConnectionSlice) ReloadAll ¶
func (o *UserConnectionSlice) 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 (*UserConnectionSlice) ReloadAllP ¶
func (o *UserConnectionSlice) ReloadAllP(ctx context.Context, exec boil.ContextExecutor)
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (UserConnectionSlice) UpdateAll ¶
func (o UserConnectionSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
func (UserConnectionSlice) UpdateAllP ¶
func (o UserConnectionSlice) UpdateAllP(ctx context.Context, exec boil.ContextExecutor, cols M) int64
UpdateAllP updates all rows with the specified column values, and panics on error.
type UserFeedItem ¶
type UserFeedItem 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"` RSSItemID string `boil:"rss_item_id" json:"rss_item_id" toml:"rss_item_id" yaml:"rss_item_id"` URLID string `boil:"url_id" json:"url_id" toml:"url_id" yaml:"url_id"` IsDismissed bool `boil:"is_dismissed" json:"is_dismissed" toml:"is_dismissed" yaml:"is_dismissed"` CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"` UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"` R *userFeedItemR `boil:"-" json:"-" toml:"-" yaml:"-"` L userFeedItemL `boil:"-" json:"-" toml:"-" yaml:"-"` }
UserFeedItem is an object representing the database table.
func FindUserFeedItem ¶
func FindUserFeedItem(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*UserFeedItem, error)
FindUserFeedItem retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindUserFeedItemP ¶
func FindUserFeedItemP(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) *UserFeedItem
FindUserFeedItemP retrieves a single record by ID with an executor, and panics on error.
func (*UserFeedItem) Delete ¶
func (o *UserFeedItem) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single UserFeedItem record with an executor. Delete will match against the primary key column to find the record to delete.
func (*UserFeedItem) DeleteP ¶
func (o *UserFeedItem) DeleteP(ctx context.Context, exec boil.ContextExecutor) int64
DeleteP deletes a single UserFeedItem record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*UserFeedItem) Exists ¶
func (o *UserFeedItem) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
Exists checks if the UserFeedItem row exists.
func (*UserFeedItem) Insert ¶
func (o *UserFeedItem) 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 (*UserFeedItem) InsertP ¶
func (o *UserFeedItem) InsertP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns)
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*UserFeedItem) RSSItem ¶
func (o *UserFeedItem) RSSItem(mods ...qm.QueryMod) rssItemQuery
RSSItem pointed to by the foreign key.
func (*UserFeedItem) Reload ¶
func (o *UserFeedItem) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*UserFeedItem) ReloadP ¶
func (o *UserFeedItem) ReloadP(ctx context.Context, exec boil.ContextExecutor)
ReloadP refetches the object from the database with an executor. Panics on error.
func (*UserFeedItem) SetRSSItem ¶
func (o *UserFeedItem) SetRSSItem(ctx context.Context, exec boil.ContextExecutor, insert bool, related *RSSItem) error
SetRSSItem of the userFeedItem to the related item. Sets o.R.RSSItem to related. Adds o to related.R.UserFeedItems.
func (*UserFeedItem) SetRSSItemP ¶
func (o *UserFeedItem) SetRSSItemP(ctx context.Context, exec boil.ContextExecutor, insert bool, related *RSSItem)
SetRSSItemP of the userFeedItem to the related item. Sets o.R.RSSItem to related. Adds o to related.R.UserFeedItems. Panics on error.
func (*UserFeedItem) SetURL ¶
func (o *UserFeedItem) SetURL(ctx context.Context, exec boil.ContextExecutor, insert bool, related *NormalizedURL) error
SetURL of the userFeedItem to the related item. Sets o.R.URL to related. Adds o to related.R.URLUserFeedItems.
func (*UserFeedItem) SetURLP ¶
func (o *UserFeedItem) SetURLP(ctx context.Context, exec boil.ContextExecutor, insert bool, related *NormalizedURL)
SetURLP of the userFeedItem to the related item. Sets o.R.URL to related. Adds o to related.R.URLUserFeedItems. Panics on error.
func (*UserFeedItem) SetUser ¶
func (o *UserFeedItem) SetUser(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User) error
SetUser of the userFeedItem to the related item. Sets o.R.User to related. Adds o to related.R.UserFeedItems.
func (*UserFeedItem) SetUserP ¶
func (o *UserFeedItem) SetUserP(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User)
SetUserP of the userFeedItem to the related item. Sets o.R.User to related. Adds o to related.R.UserFeedItems. Panics on error.
func (*UserFeedItem) URL ¶
func (o *UserFeedItem) URL(mods ...qm.QueryMod) normalizedURLQuery
URL pointed to by the foreign key.
func (*UserFeedItem) Update ¶
func (o *UserFeedItem) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the UserFeedItem. 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 (*UserFeedItem) UpdateP ¶
func (o *UserFeedItem) UpdateP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) int64
UpdateP uses an executor to update the UserFeedItem, and panics on error. See Update for more documentation.
func (*UserFeedItem) Upsert ¶
func (o *UserFeedItem) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc) 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 (*UserFeedItem) UpsertP ¶
func (o *UserFeedItem) UpsertP(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc)
UpsertP attempts an insert using an executor, and does an update or ignore on conflict. UpsertP panics on error.
func (*UserFeedItem) User ¶
func (o *UserFeedItem) User(mods ...qm.QueryMod) userQuery
User pointed to by the foreign key.
type UserFeedItemSlice ¶
type UserFeedItemSlice []*UserFeedItem
UserFeedItemSlice is an alias for a slice of pointers to UserFeedItem. This should almost always be used instead of []UserFeedItem.
func (UserFeedItemSlice) DeleteAll ¶
func (o UserFeedItemSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (UserFeedItemSlice) DeleteAllP ¶
func (o UserFeedItemSlice) DeleteAllP(ctx context.Context, exec boil.ContextExecutor) int64
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*UserFeedItemSlice) ReloadAll ¶
func (o *UserFeedItemSlice) 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 (*UserFeedItemSlice) ReloadAllP ¶
func (o *UserFeedItemSlice) ReloadAllP(ctx context.Context, exec boil.ContextExecutor)
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (UserFeedItemSlice) UpdateAll ¶
func (o UserFeedItemSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
func (UserFeedItemSlice) UpdateAllP ¶
func (o UserFeedItemSlice) UpdateAllP(ctx context.Context, exec boil.ContextExecutor, cols M) int64
UpdateAllP updates all rows with the specified column values, and panics on error.
type UserFeedSubscription ¶
type UserFeedSubscription 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"` FeedID string `boil:"feed_id" json:"feed_id" toml:"feed_id" yaml:"feed_id"` CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"` UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"` R *userFeedSubscriptionR `boil:"-" json:"-" toml:"-" yaml:"-"` L userFeedSubscriptionL `boil:"-" json:"-" toml:"-" yaml:"-"` }
UserFeedSubscription is an object representing the database table.
func FindUserFeedSubscription ¶
func FindUserFeedSubscription(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*UserFeedSubscription, error)
FindUserFeedSubscription retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindUserFeedSubscriptionP ¶
func FindUserFeedSubscriptionP(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) *UserFeedSubscription
FindUserFeedSubscriptionP retrieves a single record by ID with an executor, and panics on error.
func (*UserFeedSubscription) Delete ¶
func (o *UserFeedSubscription) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single UserFeedSubscription record with an executor. Delete will match against the primary key column to find the record to delete.
func (*UserFeedSubscription) DeleteP ¶
func (o *UserFeedSubscription) DeleteP(ctx context.Context, exec boil.ContextExecutor) int64
DeleteP deletes a single UserFeedSubscription record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*UserFeedSubscription) Exists ¶
func (o *UserFeedSubscription) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
Exists checks if the UserFeedSubscription row exists.
func (*UserFeedSubscription) Feed ¶
func (o *UserFeedSubscription) Feed(mods ...qm.QueryMod) rssFeedQuery
Feed pointed to by the foreign key.
func (*UserFeedSubscription) Insert ¶
func (o *UserFeedSubscription) 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 (*UserFeedSubscription) InsertP ¶
func (o *UserFeedSubscription) InsertP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns)
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*UserFeedSubscription) Reload ¶
func (o *UserFeedSubscription) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*UserFeedSubscription) ReloadP ¶
func (o *UserFeedSubscription) ReloadP(ctx context.Context, exec boil.ContextExecutor)
ReloadP refetches the object from the database with an executor. Panics on error.
func (*UserFeedSubscription) SetFeed ¶
func (o *UserFeedSubscription) SetFeed(ctx context.Context, exec boil.ContextExecutor, insert bool, related *RSSFeed) error
SetFeed of the userFeedSubscription to the related item. Sets o.R.Feed to related. Adds o to related.R.FeedUserFeedSubscriptions.
func (*UserFeedSubscription) SetFeedP ¶
func (o *UserFeedSubscription) SetFeedP(ctx context.Context, exec boil.ContextExecutor, insert bool, related *RSSFeed)
SetFeedP of the userFeedSubscription to the related item. Sets o.R.Feed to related. Adds o to related.R.FeedUserFeedSubscriptions. Panics on error.
func (*UserFeedSubscription) SetUser ¶
func (o *UserFeedSubscription) SetUser(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User) error
SetUser of the userFeedSubscription to the related item. Sets o.R.User to related. Adds o to related.R.UserFeedSubscriptions.
func (*UserFeedSubscription) SetUserP ¶
func (o *UserFeedSubscription) SetUserP(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User)
SetUserP of the userFeedSubscription to the related item. Sets o.R.User to related. Adds o to related.R.UserFeedSubscriptions. Panics on error.
func (*UserFeedSubscription) Update ¶
func (o *UserFeedSubscription) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the UserFeedSubscription. 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 (*UserFeedSubscription) UpdateP ¶
func (o *UserFeedSubscription) UpdateP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) int64
UpdateP uses an executor to update the UserFeedSubscription, and panics on error. See Update for more documentation.
func (*UserFeedSubscription) Upsert ¶
func (o *UserFeedSubscription) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc) 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 (*UserFeedSubscription) UpsertP ¶
func (o *UserFeedSubscription) UpsertP(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc)
UpsertP attempts an insert using an executor, and does an update or ignore on conflict. UpsertP panics on error.
func (*UserFeedSubscription) User ¶
func (o *UserFeedSubscription) User(mods ...qm.QueryMod) userQuery
User pointed to by the foreign key.
type UserFeedSubscriptionSlice ¶
type UserFeedSubscriptionSlice []*UserFeedSubscription
UserFeedSubscriptionSlice is an alias for a slice of pointers to UserFeedSubscription. This should almost always be used instead of []UserFeedSubscription.
func (UserFeedSubscriptionSlice) DeleteAll ¶
func (o UserFeedSubscriptionSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (UserFeedSubscriptionSlice) DeleteAllP ¶
func (o UserFeedSubscriptionSlice) DeleteAllP(ctx context.Context, exec boil.ContextExecutor) int64
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*UserFeedSubscriptionSlice) ReloadAll ¶
func (o *UserFeedSubscriptionSlice) 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 (*UserFeedSubscriptionSlice) ReloadAllP ¶
func (o *UserFeedSubscriptionSlice) ReloadAllP(ctx context.Context, exec boil.ContextExecutor)
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (UserFeedSubscriptionSlice) UpdateAll ¶
func (o UserFeedSubscriptionSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
func (UserFeedSubscriptionSlice) UpdateAllP ¶
func (o UserFeedSubscriptionSlice) UpdateAllP(ctx context.Context, exec boil.ContextExecutor, cols M) int64
UpdateAllP updates all rows with the specified column values, and panics on error.
type UserInvitation ¶
type UserInvitation 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"` InvitationEmail null.String `boil:"invitation_email" json:"invitation_email,omitempty" toml:"invitation_email" yaml:"invitation_email,omitempty"` InvitationSentAt null.Time `boil:"invitation_sent_at" json:"invitation_sent_at,omitempty" toml:"invitation_sent_at" yaml:"invitation_sent_at,omitempty"` CreatedAt null.Time `boil:"created_at" json:"created_at,omitempty" toml:"created_at" yaml:"created_at,omitempty"` UpdatedAt null.Time `boil:"updated_at" json:"updated_at,omitempty" toml:"updated_at" yaml:"updated_at,omitempty"` CreatedUserID null.String `boil:"created_user_id" json:"created_user_id,omitempty" toml:"created_user_id" yaml:"created_user_id,omitempty"` R *userInvitationR `boil:"-" json:"-" toml:"-" yaml:"-"` L userInvitationL `boil:"-" json:"-" toml:"-" yaml:"-"` }
UserInvitation is an object representing the database table.
func FindUserInvitation ¶
func FindUserInvitation(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*UserInvitation, error)
FindUserInvitation retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindUserInvitationP ¶
func FindUserInvitationP(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) *UserInvitation
FindUserInvitationP retrieves a single record by ID with an executor, and panics on error.
func (*UserInvitation) CreatedUser ¶
func (o *UserInvitation) CreatedUser(mods ...qm.QueryMod) userQuery
CreatedUser pointed to by the foreign key.
func (*UserInvitation) Delete ¶
func (o *UserInvitation) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single UserInvitation record with an executor. Delete will match against the primary key column to find the record to delete.
func (*UserInvitation) DeleteP ¶
func (o *UserInvitation) DeleteP(ctx context.Context, exec boil.ContextExecutor) int64
DeleteP deletes a single UserInvitation record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*UserInvitation) Exists ¶
func (o *UserInvitation) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
Exists checks if the UserInvitation row exists.
func (*UserInvitation) Insert ¶
func (o *UserInvitation) 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 (*UserInvitation) InsertP ¶
func (o *UserInvitation) InsertP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns)
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*UserInvitation) Reload ¶
func (o *UserInvitation) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*UserInvitation) ReloadP ¶
func (o *UserInvitation) ReloadP(ctx context.Context, exec boil.ContextExecutor)
ReloadP refetches the object from the database with an executor. Panics on error.
func (*UserInvitation) RemoveCreatedUser ¶
func (o *UserInvitation) RemoveCreatedUser(ctx context.Context, exec boil.ContextExecutor, related *User) error
RemoveCreatedUser relationship. Sets o.R.CreatedUser to nil. Removes o from all passed in related items' relationships struct.
func (*UserInvitation) RemoveCreatedUserP ¶
func (o *UserInvitation) RemoveCreatedUserP(ctx context.Context, exec boil.ContextExecutor, related *User)
RemoveCreatedUserP relationship. Sets o.R.CreatedUser to nil. Removes o from all passed in related items' relationships struct. Panics on error.
func (*UserInvitation) SetCreatedUser ¶
func (o *UserInvitation) SetCreatedUser(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User) error
SetCreatedUser of the userInvitation to the related item. Sets o.R.CreatedUser to related. Adds o to related.R.CreatedUserUserInvitations.
func (*UserInvitation) SetCreatedUserP ¶
func (o *UserInvitation) SetCreatedUserP(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User)
SetCreatedUserP of the userInvitation to the related item. Sets o.R.CreatedUser to related. Adds o to related.R.CreatedUserUserInvitations. Panics on error.
func (*UserInvitation) SetUser ¶
func (o *UserInvitation) SetUser(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User) error
SetUser of the userInvitation to the related item. Sets o.R.User to related. Adds o to related.R.UserInvitations.
func (*UserInvitation) SetUserP ¶
func (o *UserInvitation) SetUserP(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User)
SetUserP of the userInvitation to the related item. Sets o.R.User to related. Adds o to related.R.UserInvitations. Panics on error.
func (*UserInvitation) Update ¶
func (o *UserInvitation) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the UserInvitation. 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 (*UserInvitation) UpdateP ¶
func (o *UserInvitation) UpdateP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) int64
UpdateP uses an executor to update the UserInvitation, and panics on error. See Update for more documentation.
func (*UserInvitation) Upsert ¶
func (o *UserInvitation) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc) 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 (*UserInvitation) UpsertP ¶
func (o *UserInvitation) UpsertP(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc)
UpsertP attempts an insert using an executor, and does an update or ignore on conflict. UpsertP panics on error.
func (*UserInvitation) User ¶
func (o *UserInvitation) User(mods ...qm.QueryMod) userQuery
User pointed to by the foreign key.
type UserInvitationSlice ¶
type UserInvitationSlice []*UserInvitation
UserInvitationSlice is an alias for a slice of pointers to UserInvitation. This should almost always be used instead of []UserInvitation.
func (UserInvitationSlice) DeleteAll ¶
func (o UserInvitationSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (UserInvitationSlice) DeleteAllP ¶
func (o UserInvitationSlice) DeleteAllP(ctx context.Context, exec boil.ContextExecutor) int64
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*UserInvitationSlice) ReloadAll ¶
func (o *UserInvitationSlice) 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 (*UserInvitationSlice) ReloadAllP ¶
func (o *UserInvitationSlice) ReloadAllP(ctx context.Context, exec boil.ContextExecutor)
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (UserInvitationSlice) UpdateAll ¶
func (o UserInvitationSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
func (UserInvitationSlice) UpdateAllP ¶
func (o UserInvitationSlice) UpdateAllP(ctx context.Context, exec boil.ContextExecutor, cols M) int64
UpdateAllP updates all rows with the specified column values, and panics on error.
type UserSignupRequest ¶
type UserSignupRequest struct { ID string `boil:"id" json:"id" toml:"id" yaml:"id"` Email string `boil:"email" json:"email" toml:"email" yaml:"email"` Reason null.String `boil:"reason" json:"reason,omitempty" toml:"reason" yaml:"reason,omitempty"` SignupAttribution null.String `boil:"signup_attribution" json:"signup_attribution,omitempty" toml:"signup_attribution" yaml:"signup_attribution,omitempty"` CreatedUserID null.String `boil:"created_user_id" json:"created_user_id,omitempty" toml:"created_user_id" yaml:"created_user_id,omitempty"` VerificationSentAt null.Time `` /* 131-byte string literal not displayed */ EmailConfirmedAt null.Time `boil:"email_confirmed_at" json:"email_confirmed_at,omitempty" toml:"email_confirmed_at" yaml:"email_confirmed_at,omitempty"` CreatedAt null.Time `boil:"created_at" json:"created_at,omitempty" toml:"created_at" yaml:"created_at,omitempty"` UpdatedAt null.Time `boil:"updated_at" json:"updated_at,omitempty" toml:"updated_at" yaml:"updated_at,omitempty"` R *userSignupRequestR `boil:"-" json:"-" toml:"-" yaml:"-"` L userSignupRequestL `boil:"-" json:"-" toml:"-" yaml:"-"` }
UserSignupRequest is an object representing the database table.
func FindUserSignupRequest ¶
func FindUserSignupRequest(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*UserSignupRequest, error)
FindUserSignupRequest retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindUserSignupRequestP ¶
func FindUserSignupRequestP(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) *UserSignupRequest
FindUserSignupRequestP retrieves a single record by ID with an executor, and panics on error.
func (*UserSignupRequest) CreatedUser ¶
func (o *UserSignupRequest) CreatedUser(mods ...qm.QueryMod) userQuery
CreatedUser pointed to by the foreign key.
func (*UserSignupRequest) Delete ¶
func (o *UserSignupRequest) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single UserSignupRequest record with an executor. Delete will match against the primary key column to find the record to delete.
func (*UserSignupRequest) DeleteP ¶
func (o *UserSignupRequest) DeleteP(ctx context.Context, exec boil.ContextExecutor) int64
DeleteP deletes a single UserSignupRequest record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*UserSignupRequest) Exists ¶
func (o *UserSignupRequest) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
Exists checks if the UserSignupRequest row exists.
func (*UserSignupRequest) Insert ¶
func (o *UserSignupRequest) 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 (*UserSignupRequest) InsertP ¶
func (o *UserSignupRequest) InsertP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns)
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*UserSignupRequest) Reload ¶
func (o *UserSignupRequest) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*UserSignupRequest) ReloadP ¶
func (o *UserSignupRequest) ReloadP(ctx context.Context, exec boil.ContextExecutor)
ReloadP refetches the object from the database with an executor. Panics on error.
func (*UserSignupRequest) RemoveCreatedUser ¶
func (o *UserSignupRequest) RemoveCreatedUser(ctx context.Context, exec boil.ContextExecutor, related *User) error
RemoveCreatedUser relationship. Sets o.R.CreatedUser to nil. Removes o from all passed in related items' relationships struct.
func (*UserSignupRequest) RemoveCreatedUserP ¶
func (o *UserSignupRequest) RemoveCreatedUserP(ctx context.Context, exec boil.ContextExecutor, related *User)
RemoveCreatedUserP relationship. Sets o.R.CreatedUser to nil. Removes o from all passed in related items' relationships struct. Panics on error.
func (*UserSignupRequest) SetCreatedUser ¶
func (o *UserSignupRequest) SetCreatedUser(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User) error
SetCreatedUser of the userSignupRequest to the related item. Sets o.R.CreatedUser to related. Adds o to related.R.CreatedUserUserSignupRequests.
func (*UserSignupRequest) SetCreatedUserP ¶
func (o *UserSignupRequest) SetCreatedUserP(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User)
SetCreatedUserP of the userSignupRequest to the related item. Sets o.R.CreatedUser to related. Adds o to related.R.CreatedUserUserSignupRequests. Panics on error.
func (*UserSignupRequest) Update ¶
func (o *UserSignupRequest) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the UserSignupRequest. 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 (*UserSignupRequest) UpdateP ¶
func (o *UserSignupRequest) UpdateP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) int64
UpdateP uses an executor to update the UserSignupRequest, and panics on error. See Update for more documentation.
func (*UserSignupRequest) Upsert ¶
func (o *UserSignupRequest) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc) 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 (*UserSignupRequest) UpsertP ¶
func (o *UserSignupRequest) UpsertP(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc)
UpsertP attempts an insert using an executor, and does an update or ignore on conflict. UpsertP panics on error.
type UserSignupRequestSlice ¶
type UserSignupRequestSlice []*UserSignupRequest
UserSignupRequestSlice is an alias for a slice of pointers to UserSignupRequest. This should almost always be used instead of []UserSignupRequest.
func (UserSignupRequestSlice) DeleteAll ¶
func (o UserSignupRequestSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (UserSignupRequestSlice) DeleteAllP ¶
func (o UserSignupRequestSlice) DeleteAllP(ctx context.Context, exec boil.ContextExecutor) int64
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*UserSignupRequestSlice) ReloadAll ¶
func (o *UserSignupRequestSlice) 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 (*UserSignupRequestSlice) ReloadAllP ¶
func (o *UserSignupRequestSlice) ReloadAllP(ctx context.Context, exec boil.ContextExecutor)
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (UserSignupRequestSlice) UpdateAll ¶
func (o UserSignupRequestSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
func (UserSignupRequestSlice) UpdateAllP ¶
func (o UserSignupRequestSlice) UpdateAllP(ctx context.Context, exec boil.ContextExecutor, cols M) int64
UpdateAllP updates all rows with the specified column values, and panics on 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.
func (UserSlice) DeleteAllP ¶
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*UserSlice) ReloadAll ¶
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*UserSlice) ReloadAllP ¶
func (o *UserSlice) ReloadAllP(ctx context.Context, exec boil.ContextExecutor)
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (UserSlice) UpdateAll ¶
UpdateAll updates all rows with the specified column values, using an executor.
func (UserSlice) UpdateAllP ¶
UpdateAllP updates all rows with the specified column values, and panics on error.
type UserStyle ¶
type UserStyle 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"` Styles string `boil:"styles" json:"styles" toml:"styles" yaml:"styles"` CreatedAt null.Time `boil:"created_at" json:"created_at,omitempty" toml:"created_at" yaml:"created_at,omitempty"` UpdatedAt null.Time `boil:"updated_at" json:"updated_at,omitempty" toml:"updated_at" yaml:"updated_at,omitempty"` R *userStyleR `boil:"-" json:"-" toml:"-" yaml:"-"` L userStyleL `boil:"-" json:"-" toml:"-" yaml:"-"` }
UserStyle is an object representing the database table.
func FindUserStyle ¶
func FindUserStyle(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*UserStyle, error)
FindUserStyle retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindUserStyleP ¶
func FindUserStyleP(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) *UserStyle
FindUserStyleP retrieves a single record by ID with an executor, and panics on error.
func (*UserStyle) Delete ¶
Delete deletes a single UserStyle record with an executor. Delete will match against the primary key column to find the record to delete.
func (*UserStyle) DeleteP ¶
DeleteP deletes a single UserStyle record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*UserStyle) Insert ¶
func (o *UserStyle) 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 (*UserStyle) InsertP ¶
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*UserStyle) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*UserStyle) ReloadP ¶
func (o *UserStyle) ReloadP(ctx context.Context, exec boil.ContextExecutor)
ReloadP refetches the object from the database with an executor. Panics on error.
func (*UserStyle) SetUser ¶
func (o *UserStyle) SetUser(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User) error
SetUser of the userStyle to the related item. Sets o.R.User to related. Adds o to related.R.UserStyle.
func (*UserStyle) SetUserP ¶
func (o *UserStyle) SetUserP(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User)
SetUserP of the userStyle to the related item. Sets o.R.User to related. Adds o to related.R.UserStyle. Panics on error.
func (*UserStyle) Update ¶
func (o *UserStyle) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the UserStyle. 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 (*UserStyle) UpdateP ¶
func (o *UserStyle) UpdateP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) int64
UpdateP uses an executor to update the UserStyle, and panics on error. See Update for more documentation.
func (*UserStyle) Upsert ¶
func (o *UserStyle) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc) 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 (*UserStyle) UpsertP ¶
func (o *UserStyle) UpsertP(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc)
UpsertP attempts an insert using an executor, and does an update or ignore on conflict. UpsertP panics on error.
type UserStyleSlice ¶
type UserStyleSlice []*UserStyle
UserStyleSlice is an alias for a slice of pointers to UserStyle. This should almost always be used instead of []UserStyle.
func (UserStyleSlice) DeleteAll ¶
func (o UserStyleSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (UserStyleSlice) DeleteAllP ¶
func (o UserStyleSlice) DeleteAllP(ctx context.Context, exec boil.ContextExecutor) int64
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*UserStyleSlice) ReloadAll ¶
func (o *UserStyleSlice) 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 (*UserStyleSlice) ReloadAllP ¶
func (o *UserStyleSlice) ReloadAllP(ctx context.Context, exec boil.ContextExecutor)
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (UserStyleSlice) UpdateAll ¶
func (o UserStyleSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
func (UserStyleSlice) UpdateAllP ¶
func (o UserStyleSlice) UpdateAllP(ctx context.Context, exec boil.ContextExecutor, cols M) int64
UpdateAllP updates all rows with the specified column values, and panics on error.
type WhitelistedConnection ¶
type WhitelistedConnection struct { ID string `boil:"id" json:"id" toml:"id" yaml:"id"` WhoID string `boil:"who_id" json:"who_id" toml:"who_id" yaml:"who_id"` AllowsWhoID string `boil:"allows_who_id" json:"allows_who_id" toml:"allows_who_id" yaml:"allows_who_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"` ConnectionID null.String `boil:"connection_id" json:"connection_id,omitempty" toml:"connection_id" yaml:"connection_id,omitempty"` R *whitelistedConnectionR `boil:"-" json:"-" toml:"-" yaml:"-"` L whitelistedConnectionL `boil:"-" json:"-" toml:"-" yaml:"-"` }
WhitelistedConnection is an object representing the database table.
func FindWhitelistedConnection ¶
func FindWhitelistedConnection(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*WhitelistedConnection, error)
FindWhitelistedConnection retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindWhitelistedConnectionP ¶
func FindWhitelistedConnectionP(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) *WhitelistedConnection
FindWhitelistedConnectionP retrieves a single record by ID with an executor, and panics on error.
func (*WhitelistedConnection) AllowsWho ¶
func (o *WhitelistedConnection) AllowsWho(mods ...qm.QueryMod) userQuery
AllowsWho pointed to by the foreign key.
func (*WhitelistedConnection) Connection ¶
func (o *WhitelistedConnection) Connection(mods ...qm.QueryMod) userConnectionQuery
Connection pointed to by the foreign key.
func (*WhitelistedConnection) Delete ¶
func (o *WhitelistedConnection) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single WhitelistedConnection record with an executor. Delete will match against the primary key column to find the record to delete.
func (*WhitelistedConnection) DeleteP ¶
func (o *WhitelistedConnection) DeleteP(ctx context.Context, exec boil.ContextExecutor) int64
DeleteP deletes a single WhitelistedConnection record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*WhitelistedConnection) Exists ¶
func (o *WhitelistedConnection) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
Exists checks if the WhitelistedConnection row exists.
func (*WhitelistedConnection) Insert ¶
func (o *WhitelistedConnection) 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 (*WhitelistedConnection) InsertP ¶
func (o *WhitelistedConnection) InsertP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns)
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*WhitelistedConnection) Reload ¶
func (o *WhitelistedConnection) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*WhitelistedConnection) ReloadP ¶
func (o *WhitelistedConnection) ReloadP(ctx context.Context, exec boil.ContextExecutor)
ReloadP refetches the object from the database with an executor. Panics on error.
func (*WhitelistedConnection) RemoveConnection ¶
func (o *WhitelistedConnection) RemoveConnection(ctx context.Context, exec boil.ContextExecutor, related *UserConnection) error
RemoveConnection relationship. Sets o.R.Connection to nil. Removes o from all passed in related items' relationships struct.
func (*WhitelistedConnection) RemoveConnectionP ¶
func (o *WhitelistedConnection) RemoveConnectionP(ctx context.Context, exec boil.ContextExecutor, related *UserConnection)
RemoveConnectionP relationship. Sets o.R.Connection to nil. Removes o from all passed in related items' relationships struct. Panics on error.
func (*WhitelistedConnection) SetAllowsWho ¶
func (o *WhitelistedConnection) SetAllowsWho(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User) error
SetAllowsWho of the whitelistedConnection to the related item. Sets o.R.AllowsWho to related. Adds o to related.R.AllowsWhoWhitelistedConnections.
func (*WhitelistedConnection) SetAllowsWhoP ¶
func (o *WhitelistedConnection) SetAllowsWhoP(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User)
SetAllowsWhoP of the whitelistedConnection to the related item. Sets o.R.AllowsWho to related. Adds o to related.R.AllowsWhoWhitelistedConnections. Panics on error.
func (*WhitelistedConnection) SetConnection ¶
func (o *WhitelistedConnection) SetConnection(ctx context.Context, exec boil.ContextExecutor, insert bool, related *UserConnection) error
SetConnection of the whitelistedConnection to the related item. Sets o.R.Connection to related. Adds o to related.R.ConnectionWhitelistedConnection.
func (*WhitelistedConnection) SetConnectionP ¶
func (o *WhitelistedConnection) SetConnectionP(ctx context.Context, exec boil.ContextExecutor, insert bool, related *UserConnection)
SetConnectionP of the whitelistedConnection to the related item. Sets o.R.Connection to related. Adds o to related.R.ConnectionWhitelistedConnection. Panics on error.
func (*WhitelistedConnection) SetWho ¶
func (o *WhitelistedConnection) SetWho(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User) error
SetWho of the whitelistedConnection to the related item. Sets o.R.Who to related. Adds o to related.R.WhoWhitelistedConnections.
func (*WhitelistedConnection) SetWhoP ¶
func (o *WhitelistedConnection) SetWhoP(ctx context.Context, exec boil.ContextExecutor, insert bool, related *User)
SetWhoP of the whitelistedConnection to the related item. Sets o.R.Who to related. Adds o to related.R.WhoWhitelistedConnections. Panics on error.
func (*WhitelistedConnection) Update ¶
func (o *WhitelistedConnection) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the WhitelistedConnection. 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 (*WhitelistedConnection) UpdateP ¶
func (o *WhitelistedConnection) UpdateP(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) int64
UpdateP uses an executor to update the WhitelistedConnection, and panics on error. See Update for more documentation.
func (*WhitelistedConnection) Upsert ¶
func (o *WhitelistedConnection) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc) 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 (*WhitelistedConnection) UpsertP ¶
func (o *WhitelistedConnection) UpsertP(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc)
UpsertP attempts an insert using an executor, and does an update or ignore on conflict. UpsertP panics on error.
func (*WhitelistedConnection) Who ¶
func (o *WhitelistedConnection) Who(mods ...qm.QueryMod) userQuery
Who pointed to by the foreign key.
type WhitelistedConnectionSlice ¶
type WhitelistedConnectionSlice []*WhitelistedConnection
WhitelistedConnectionSlice is an alias for a slice of pointers to WhitelistedConnection. This should almost always be used instead of []WhitelistedConnection.
func (WhitelistedConnectionSlice) DeleteAll ¶
func (o WhitelistedConnectionSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (WhitelistedConnectionSlice) DeleteAllP ¶
func (o WhitelistedConnectionSlice) DeleteAllP(ctx context.Context, exec boil.ContextExecutor) int64
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*WhitelistedConnectionSlice) ReloadAll ¶
func (o *WhitelistedConnectionSlice) 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 (*WhitelistedConnectionSlice) ReloadAllP ¶
func (o *WhitelistedConnectionSlice) ReloadAllP(ctx context.Context, exec boil.ContextExecutor)
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (WhitelistedConnectionSlice) UpdateAll ¶
func (o WhitelistedConnectionSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
func (WhitelistedConnectionSlice) UpdateAllP ¶
func (o WhitelistedConnectionSlice) UpdateAllP(ctx context.Context, exec boil.ContextExecutor, cols M) int64
UpdateAllP updates all rows with the specified column values, and panics on error.
Source Files
¶
- boil_queries.go
- boil_table_names.go
- boil_types.go
- boil_view_names.go
- media_uploads.go
- normalized_urls.go
- outgoing_emails.go
- post_comments.go
- post_prompts.go
- post_shares.go
- post_stats.go
- posts.go
- psql_upsert.go
- rss_feeds.go
- rss_items.go
- system_settings.go
- user_api_keys.go
- user_connection_mediation_requests.go
- user_connection_mediators.go
- user_connections.go
- user_feed_items.go
- user_feed_subscriptions.go
- user_invitations.go
- user_signup_requests.go
- user_styles.go
- users.go
- whitelisted_connections.go