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 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 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 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 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 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 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 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 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) PostStat(mods ...qm.QueryMod) postStatQuery
- func (o *Post) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Post) ReloadP(ctx context.Context, exec boil.ContextExecutor)
- 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) 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) 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) 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) 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) 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 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 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) 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) 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) 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) 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) 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) 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) UserConnectionMediators(mods ...qm.QueryMod) userConnectionMediatorQuery
- func (o *User) UserInvitations(mods ...qm.QueryMod) userInvitationQuery
- func (o *User) WhoUserUserConnectionMediationRequests(mods ...qm.QueryMod) userConnectionMediationRequestQuery
- func (o *User) WhoWhitelistedConnections(mods ...qm.QueryMod) whitelistedConnectionQuery
- 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 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 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 PostColumns = struct { ID string Subject string Body string UserID string CreatedAt string UpdatedAt string VisibilityRadius string PublishedAt string }{ ID: "id", Subject: "subject", Body: "body", UserID: "user_id", CreatedAt: "created_at", UpdatedAt: "updated_at", VisibilityRadius: "visibility_radius", PublishedAt: "published_at", }
var PostCommentColumns = struct { ID string UserID string PostID string ParentCommentID string Body string CreatedAt string UpdatedAt string }{ ID: "id", UserID: "user_id", PostID: "post_id", ParentCommentID: "parent_comment_id", Body: "body", CreatedAt: "created_at", UpdatedAt: "updated_at", }
var PostCommentRels = struct { ParentComment string Post string User string ParentCommentPostComments string }{ ParentComment: "ParentComment", Post: "Post", User: "User", ParentCommentPostComments: "ParentCommentPostComments", }
PostCommentRels is where relationship names are stored.
var PostCommentTableColumns = struct { ID string UserID string PostID string ParentCommentID string Body string CreatedAt string UpdatedAt 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", }
var PostCommentWhere = struct { ID whereHelperstring UserID whereHelperstring PostID whereHelperstring ParentCommentID whereHelpernull_String Body whereHelperstring CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time }{ 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 */}, }
var PostRels = struct { User string PostStat string PostComments string }{ User: "User", PostStat: "PostStat", PostComments: "PostComments", }
PostRels is where relationship names are stored.
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 }{ 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", }
var PostWhere = struct { ID whereHelperstring Subject whereHelperstring Body whereHelperstring UserID whereHelperstring CreatedAt whereHelpernull_Time UpdatedAt whereHelpernull_Time VisibilityRadius whereHelperPostVisibility PublishedAt whereHelpernull_Time }{ ID: whereHelperstring{/* contains filtered or unexported fields */}, Subject: whereHelperstring{/* 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 */}, }
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 PostComments string PostStats string Posts string SystemSettings string UserConnectionMediationRequests string UserConnectionMediators string UserConnections string UserInvitations string UserSignupRequests string Users string WhitelistedConnections string }{ MediaUploads: "media_uploads", PostComments: "post_comments", PostStats: "post_stats", Posts: "posts", SystemSettings: "system_settings", UserConnectionMediationRequests: "user_connection_mediation_requests", UserConnectionMediators: "user_connection_mediators", UserConnections: "user_connections", UserInvitations: "user_invitations", UserSignupRequests: "user_signup_requests", Users: "users", WhitelistedConnections: "whitelisted_connections", }
var UserColumns = struct { ID string Email string CreatedAt string UpdatedAt string Timezone string EmailConfirmedAt string EmailConfirmSeed string SignupAttribution string Pwdhash string Username 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", }
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 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 { MediaUploads string PostComments string Posts string TargetUserUserConnectionMediationRequests string WhoUserUserConnectionMediationRequests string UserConnectionMediators string User1UserConnections string User2UserConnections string CreatedUserUserInvitations string UserInvitations string CreatedUserUserSignupRequests string AllowsWhoWhitelistedConnections string WhoWhitelistedConnections string }{ MediaUploads: "MediaUploads", PostComments: "PostComments", Posts: "Posts", TargetUserUserConnectionMediationRequests: "TargetUserUserConnectionMediationRequests", WhoUserUserConnectionMediationRequests: "WhoUserUserConnectionMediationRequests", UserConnectionMediators: "UserConnectionMediators", User1UserConnections: "User1UserConnections", User2UserConnections: "User2UserConnections", 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 UserTableColumns = struct { ID string Email string CreatedAt string UpdatedAt string Timezone string EmailConfirmedAt string EmailConfirmSeed string SignupAttribution string Pwdhash string Username 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", }
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 }{ 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 */}, }
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 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 PostStatExists ¶
PostStatExists checks if the PostStat row exists.
func PostStatExistsP ¶
PostStatExistsP checks if the PostStat 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 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 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 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 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 Post ¶
type Post struct { ID string `boil:"id" json:"id" toml:"id" yaml:"id"` Subject string `boil:"subject" json:"subject" toml:"subject" yaml:"subject"` 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"` 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) 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) 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) 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"` 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) 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) 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) 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 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" )
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 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"` 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) 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) 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) 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) 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) 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) 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) UserConnectionMediators ¶
UserConnectionMediators retrieves all the user_connection_mediator's UserConnectionMediators 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 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 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 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
- post_comments.go
- post_stats.go
- posts.go
- psql_upsert.go
- system_settings.go
- user_connection_mediation_requests.go
- user_connection_mediators.go
- user_connections.go
- user_invitations.go
- user_signup_requests.go
- users.go
- whitelisted_connections.go