model

package
v0.0.0-...-8aa1adc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 22, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BlockedEntryColumns = struct {
	ID                          string
	BlockedChannelID            string
	CreatorChannelID            string
	UniversallyBlocked          string
	CreatedAt                   string
	UpdatedAt                   string
	BlockedListID               string
	DelegatedModeratorChannelID string
	Reason                      string
	OffendingCommentID          string
	Expiry                      string
	Strikes                     string
}{
	ID:                          "id",
	BlockedChannelID:            "blocked_channel_id",
	CreatorChannelID:            "creator_channel_id",
	UniversallyBlocked:          "universally_blocked",
	CreatedAt:                   "created_at",
	UpdatedAt:                   "updated_at",
	BlockedListID:               "blocked_list_id",
	DelegatedModeratorChannelID: "delegated_moderator_channel_id",
	Reason:                      "reason",
	OffendingCommentID:          "offending_comment_id",
	Expiry:                      "expiry",
	Strikes:                     "strikes",
}
View Source
var BlockedEntryRels = struct {
	BlockedChannel            string
	CreatorChannel            string
	BlockedList               string
	DelegatedModeratorChannel string
	OffendingComment          string
	BlockedListAppeals        string
}{
	BlockedChannel:            "BlockedChannel",
	CreatorChannel:            "CreatorChannel",
	BlockedList:               "BlockedList",
	DelegatedModeratorChannel: "DelegatedModeratorChannel",
	OffendingComment:          "OffendingComment",
	BlockedListAppeals:        "BlockedListAppeals",
}

BlockedEntryRels is where relationship names are stored.

View Source
var BlockedEntryTableColumns = struct {
	ID                          string
	BlockedChannelID            string
	CreatorChannelID            string
	UniversallyBlocked          string
	CreatedAt                   string
	UpdatedAt                   string
	BlockedListID               string
	DelegatedModeratorChannelID string
	Reason                      string
	OffendingCommentID          string
	Expiry                      string
	Strikes                     string
}{
	ID:                          "blocked_entry.id",
	BlockedChannelID:            "blocked_entry.blocked_channel_id",
	CreatorChannelID:            "blocked_entry.creator_channel_id",
	UniversallyBlocked:          "blocked_entry.universally_blocked",
	CreatedAt:                   "blocked_entry.created_at",
	UpdatedAt:                   "blocked_entry.updated_at",
	BlockedListID:               "blocked_entry.blocked_list_id",
	DelegatedModeratorChannelID: "blocked_entry.delegated_moderator_channel_id",
	Reason:                      "blocked_entry.reason",
	OffendingCommentID:          "blocked_entry.offending_comment_id",
	Expiry:                      "blocked_entry.expiry",
	Strikes:                     "blocked_entry.strikes",
}
View Source
var BlockedEntryWhere = struct {
	ID                          whereHelperuint64
	BlockedChannelID            whereHelpernull_String
	CreatorChannelID            whereHelpernull_String
	UniversallyBlocked          whereHelpernull_Bool
	CreatedAt                   whereHelpertime_Time
	UpdatedAt                   whereHelpertime_Time
	BlockedListID               whereHelpernull_Uint64
	DelegatedModeratorChannelID whereHelpernull_String
	Reason                      whereHelpernull_String
	OffendingCommentID          whereHelpernull_String
	Expiry                      whereHelpernull_Time
	Strikes                     whereHelpernull_Int
}{
	ID:                          whereHelperuint64{/* contains filtered or unexported fields */},
	BlockedChannelID:            whereHelpernull_String{/* contains filtered or unexported fields */},
	CreatorChannelID:            whereHelpernull_String{/* contains filtered or unexported fields */},
	UniversallyBlocked:          whereHelpernull_Bool{/* contains filtered or unexported fields */},
	CreatedAt:                   whereHelpertime_Time{/* contains filtered or unexported fields */},
	UpdatedAt:                   whereHelpertime_Time{/* contains filtered or unexported fields */},
	BlockedListID:               whereHelpernull_Uint64{/* contains filtered or unexported fields */},
	DelegatedModeratorChannelID: whereHelpernull_String{/* contains filtered or unexported fields */},
	Reason:                      whereHelpernull_String{/* contains filtered or unexported fields */},
	OffendingCommentID:          whereHelpernull_String{/* contains filtered or unexported fields */},
	Expiry:                      whereHelpernull_Time{/* contains filtered or unexported fields */},
	Strikes:                     whereHelpernull_Int{/* contains filtered or unexported fields */},
}
View Source
var BlockedListAppealColumns = struct {
	ID             string
	BlockedListID  string
	BlockedEntryID string
	Appeal         string
	Response       string
	Approved       string
	Escalated      string
	TXID           string
	CreatedAt      string
	UpdatedAt      string
}{
	ID:             "id",
	BlockedListID:  "blocked_list_id",
	BlockedEntryID: "blocked_entry_id",
	Appeal:         "appeal",
	Response:       "response",
	Approved:       "approved",
	Escalated:      "escalated",
	TXID:           "tx_id",
	CreatedAt:      "created_at",
	UpdatedAt:      "updated_at",
}
View Source
var BlockedListAppealRels = struct {
	BlockedList  string
	BlockedEntry string
}{
	BlockedList:  "BlockedList",
	BlockedEntry: "BlockedEntry",
}

BlockedListAppealRels is where relationship names are stored.

View Source
var BlockedListAppealTableColumns = struct {
	ID             string
	BlockedListID  string
	BlockedEntryID string
	Appeal         string
	Response       string
	Approved       string
	Escalated      string
	TXID           string
	CreatedAt      string
	UpdatedAt      string
}{
	ID:             "blocked_list_appeal.id",
	BlockedListID:  "blocked_list_appeal.blocked_list_id",
	BlockedEntryID: "blocked_list_appeal.blocked_entry_id",
	Appeal:         "blocked_list_appeal.appeal",
	Response:       "blocked_list_appeal.response",
	Approved:       "blocked_list_appeal.approved",
	Escalated:      "blocked_list_appeal.escalated",
	TXID:           "blocked_list_appeal.tx_id",
	CreatedAt:      "blocked_list_appeal.created_at",
	UpdatedAt:      "blocked_list_appeal.updated_at",
}
View Source
var BlockedListAppealWhere = struct {
	ID             whereHelperuint64
	BlockedListID  whereHelpernull_Uint64
	BlockedEntryID whereHelperuint64
	Appeal         whereHelperstring
	Response       whereHelperstring
	Approved       whereHelpernull_Bool
	Escalated      whereHelpernull_Bool
	TXID           whereHelpernull_String
	CreatedAt      whereHelpertime_Time
	UpdatedAt      whereHelpertime_Time
}{
	ID:             whereHelperuint64{/* contains filtered or unexported fields */},
	BlockedListID:  whereHelpernull_Uint64{/* contains filtered or unexported fields */},
	BlockedEntryID: whereHelperuint64{/* contains filtered or unexported fields */},
	Appeal:         whereHelperstring{/* contains filtered or unexported fields */},
	Response:       whereHelperstring{/* contains filtered or unexported fields */},
	Approved:       whereHelpernull_Bool{/* contains filtered or unexported fields */},
	Escalated:      whereHelpernull_Bool{/* contains filtered or unexported fields */},
	TXID:           whereHelpernull_String{/* contains filtered or unexported fields */},
	CreatedAt:      whereHelpertime_Time{/* contains filtered or unexported fields */},
	UpdatedAt:      whereHelpertime_Time{/* contains filtered or unexported fields */},
}
View Source
var BlockedListColumns = struct {
	ID                  string
	ChannelID           string
	Name                string
	Category            string
	Description         string
	MemberInviteEnabled string
	StrikeOne           string
	StrikeTwo           string
	StrikeThree         string
	InviteExpiration    string
	CurseJarAmount      string
	CreatedAt           string
	UpdatedAt           string
}{
	ID:                  "id",
	ChannelID:           "channel_id",
	Name:                "name",
	Category:            "category",
	Description:         "description",
	MemberInviteEnabled: "member_invite_enabled",
	StrikeOne:           "strike_one",
	StrikeTwo:           "strike_two",
	StrikeThree:         "strike_three",
	InviteExpiration:    "invite_expiration",
	CurseJarAmount:      "curse_jar_amount",
	CreatedAt:           "created_at",
	UpdatedAt:           "updated_at",
}
View Source
var BlockedListInviteColumns = struct {
	ID               string
	BlockedListID    string
	InviterChannelID string
	InvitedChannelID string
	Accepted         string
	Message          string
	CreatedAt        string
	UpdatedAt        string
}{
	ID:               "id",
	BlockedListID:    "blocked_list_id",
	InviterChannelID: "inviter_channel_id",
	InvitedChannelID: "invited_channel_id",
	Accepted:         "accepted",
	Message:          "message",
	CreatedAt:        "created_at",
	UpdatedAt:        "updated_at",
}
View Source
var BlockedListInviteRels = struct {
	BlockedList    string
	InviterChannel string
	InvitedChannel string
}{
	BlockedList:    "BlockedList",
	InviterChannel: "InviterChannel",
	InvitedChannel: "InvitedChannel",
}

BlockedListInviteRels is where relationship names are stored.

View Source
var BlockedListInviteTableColumns = struct {
	ID               string
	BlockedListID    string
	InviterChannelID string
	InvitedChannelID string
	Accepted         string
	Message          string
	CreatedAt        string
	UpdatedAt        string
}{
	ID:               "blocked_list_invite.id",
	BlockedListID:    "blocked_list_invite.blocked_list_id",
	InviterChannelID: "blocked_list_invite.inviter_channel_id",
	InvitedChannelID: "blocked_list_invite.invited_channel_id",
	Accepted:         "blocked_list_invite.accepted",
	Message:          "blocked_list_invite.message",
	CreatedAt:        "blocked_list_invite.created_at",
	UpdatedAt:        "blocked_list_invite.updated_at",
}
View Source
var BlockedListInviteWhere = struct {
	ID               whereHelperuint64
	BlockedListID    whereHelperuint64
	InviterChannelID whereHelperstring
	InvitedChannelID whereHelperstring
	Accepted         whereHelpernull_Bool
	Message          whereHelperstring
	CreatedAt        whereHelpertime_Time
	UpdatedAt        whereHelpertime_Time
}{
	ID:               whereHelperuint64{/* contains filtered or unexported fields */},
	BlockedListID:    whereHelperuint64{/* contains filtered or unexported fields */},
	InviterChannelID: whereHelperstring{/* contains filtered or unexported fields */},
	InvitedChannelID: whereHelperstring{/* contains filtered or unexported fields */},
	Accepted:         whereHelpernull_Bool{/* contains filtered or unexported fields */},
	Message:          whereHelperstring{/* contains filtered or unexported fields */},
	CreatedAt:        whereHelpertime_Time{/* contains filtered or unexported fields */},
	UpdatedAt:        whereHelpertime_Time{/* contains filtered or unexported fields */},
}
View Source
var BlockedListRels = struct {
	Channel                   string
	BlockedEntries            string
	BlockedListAppeals        string
	BlockedListInvites        string
	BlockedListInviteChannels string
	Channels                  string
}{
	Channel:                   "Channel",
	BlockedEntries:            "BlockedEntries",
	BlockedListAppeals:        "BlockedListAppeals",
	BlockedListInvites:        "BlockedListInvites",
	BlockedListInviteChannels: "BlockedListInviteChannels",
	Channels:                  "Channels",
}

BlockedListRels is where relationship names are stored.

View Source
var BlockedListTableColumns = struct {
	ID                  string
	ChannelID           string
	Name                string
	Category            string
	Description         string
	MemberInviteEnabled string
	StrikeOne           string
	StrikeTwo           string
	StrikeThree         string
	InviteExpiration    string
	CurseJarAmount      string
	CreatedAt           string
	UpdatedAt           string
}{
	ID:                  "blocked_list.id",
	ChannelID:           "blocked_list.channel_id",
	Name:                "blocked_list.name",
	Category:            "blocked_list.category",
	Description:         "blocked_list.description",
	MemberInviteEnabled: "blocked_list.member_invite_enabled",
	StrikeOne:           "blocked_list.strike_one",
	StrikeTwo:           "blocked_list.strike_two",
	StrikeThree:         "blocked_list.strike_three",
	InviteExpiration:    "blocked_list.invite_expiration",
	CurseJarAmount:      "blocked_list.curse_jar_amount",
	CreatedAt:           "blocked_list.created_at",
	UpdatedAt:           "blocked_list.updated_at",
}
View Source
var BlockedListWhere = struct {
	ID                  whereHelperuint64
	ChannelID           whereHelperstring
	Name                whereHelperstring
	Category            whereHelperstring
	Description         whereHelperstring
	MemberInviteEnabled whereHelpernull_Bool
	StrikeOne           whereHelpernull_Uint64
	StrikeTwo           whereHelpernull_Uint64
	StrikeThree         whereHelpernull_Uint64
	InviteExpiration    whereHelpernull_Uint64
	CurseJarAmount      whereHelpernull_Uint64
	CreatedAt           whereHelpertime_Time
	UpdatedAt           whereHelpertime_Time
}{
	ID:                  whereHelperuint64{/* contains filtered or unexported fields */},
	ChannelID:           whereHelperstring{/* contains filtered or unexported fields */},
	Name:                whereHelperstring{/* contains filtered or unexported fields */},
	Category:            whereHelperstring{/* contains filtered or unexported fields */},
	Description:         whereHelperstring{/* contains filtered or unexported fields */},
	MemberInviteEnabled: whereHelpernull_Bool{/* contains filtered or unexported fields */},
	StrikeOne:           whereHelpernull_Uint64{/* contains filtered or unexported fields */},
	StrikeTwo:           whereHelpernull_Uint64{/* contains filtered or unexported fields */},
	StrikeThree:         whereHelpernull_Uint64{/* contains filtered or unexported fields */},
	InviteExpiration:    whereHelpernull_Uint64{/* contains filtered or unexported fields */},
	CurseJarAmount:      whereHelpernull_Uint64{/* contains filtered or unexported fields */},
	CreatedAt:           whereHelpertime_Time{/* contains filtered or unexported fields */},
	UpdatedAt:           whereHelpertime_Time{/* contains filtered or unexported fields */},
}
View Source
var ChannelAlgoCallbackColumns = struct {
	ChannelID string
	WatcherID string
	CreatedAt string
	UpdatedAt string
}{
	ChannelID: "channel_id",
	WatcherID: "watcher_id",
	CreatedAt: "created_at",
	UpdatedAt: "updated_at",
}
View Source
var ChannelAlgoCallbackRels = struct {
}{}

ChannelAlgoCallbackRels is where relationship names are stored.

View Source
var ChannelAlgoCallbackTableColumns = struct {
	ChannelID string
	WatcherID string
	CreatedAt string
	UpdatedAt string
}{
	ChannelID: "channel_algo_callbacks.channel_id",
	WatcherID: "channel_algo_callbacks.watcher_id",
	CreatedAt: "channel_algo_callbacks.created_at",
	UpdatedAt: "channel_algo_callbacks.updated_at",
}
View Source
var ChannelAlgoCallbackWhere = struct {
	ChannelID whereHelperstring
	WatcherID whereHelperuint
	CreatedAt whereHelpertime_Time
	UpdatedAt whereHelpertime_Time
}{
	ChannelID: whereHelperstring{/* contains filtered or unexported fields */},
	WatcherID: whereHelperuint{/* contains filtered or unexported fields */},
	CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */},
	UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */},
}
View Source
var ChannelColumns = struct {
	ClaimID             string
	Name                string
	IsSpammer           string
	BlockedListInviteID string
	BlockedListID       string
	Sub                 string
	CreatedAt           string
	UpdatedAt           string
}{
	ClaimID:             "claim_id",
	Name:                "name",
	IsSpammer:           "is_spammer",
	BlockedListInviteID: "blocked_list_invite_id",
	BlockedListID:       "blocked_list_id",
	Sub:                 "sub",
	CreatedAt:           "created_at",
	UpdatedAt:           "updated_at",
}
View Source
var ChannelRels = struct {
	BlockedListInvite                       string
	BlockedList                             string
	BlockedChannelBlockedEntries            string
	CreatorChannelBlockedEntries            string
	DelegatedModeratorChannelBlockedEntries string
	BlockedLists                            string
	InviterChannelBlockedListInvites        string
	InvitedChannelBlockedListInvites        string
	Comments                                string
	CreatorChannelCreatorSettings           string
	ModChannelDelegatedModerators           string
	CreatorChannelDelegatedModerators       string
	ModChannelModerators                    string
	Reactions                               string
}{
	BlockedListInvite:                       "BlockedListInvite",
	BlockedList:                             "BlockedList",
	BlockedChannelBlockedEntries:            "BlockedChannelBlockedEntries",
	CreatorChannelBlockedEntries:            "CreatorChannelBlockedEntries",
	DelegatedModeratorChannelBlockedEntries: "DelegatedModeratorChannelBlockedEntries",
	BlockedLists:                            "BlockedLists",
	InviterChannelBlockedListInvites:        "InviterChannelBlockedListInvites",
	InvitedChannelBlockedListInvites:        "InvitedChannelBlockedListInvites",
	Comments:                                "Comments",
	CreatorChannelCreatorSettings:           "CreatorChannelCreatorSettings",
	ModChannelDelegatedModerators:           "ModChannelDelegatedModerators",
	CreatorChannelDelegatedModerators:       "CreatorChannelDelegatedModerators",
	ModChannelModerators:                    "ModChannelModerators",
	Reactions:                               "Reactions",
}

ChannelRels is where relationship names are stored.

View Source
var ChannelTableColumns = struct {
	ClaimID             string
	Name                string
	IsSpammer           string
	BlockedListInviteID string
	BlockedListID       string
	Sub                 string
	CreatedAt           string
	UpdatedAt           string
}{
	ClaimID:             "channel.claim_id",
	Name:                "channel.name",
	IsSpammer:           "channel.is_spammer",
	BlockedListInviteID: "channel.blocked_list_invite_id",
	BlockedListID:       "channel.blocked_list_id",
	Sub:                 "channel.sub",
	CreatedAt:           "channel.created_at",
	UpdatedAt:           "channel.updated_at",
}
View Source
var ChannelWhere = struct {
	ClaimID             whereHelperstring
	Name                whereHelperstring
	IsSpammer           whereHelpernull_Bool
	BlockedListInviteID whereHelpernull_Uint64
	BlockedListID       whereHelpernull_Uint64
	Sub                 whereHelpernull_String
	CreatedAt           whereHelpertime_Time
	UpdatedAt           whereHelpertime_Time
}{
	ClaimID:             whereHelperstring{/* contains filtered or unexported fields */},
	Name:                whereHelperstring{/* contains filtered or unexported fields */},
	IsSpammer:           whereHelpernull_Bool{/* contains filtered or unexported fields */},
	BlockedListInviteID: whereHelpernull_Uint64{/* contains filtered or unexported fields */},
	BlockedListID:       whereHelpernull_Uint64{/* contains filtered or unexported fields */},
	Sub:                 whereHelpernull_String{/* contains filtered or unexported fields */},
	CreatedAt:           whereHelpertime_Time{/* contains filtered or unexported fields */},
	UpdatedAt:           whereHelpertime_Time{/* contains filtered or unexported fields */},
}
View Source
var ClaimToChannelColumns = struct {
	ClaimID   string
	ChannelID string
	CreatedAt string
	UpdatedAt string
}{
	ClaimID:   "claim_id",
	ChannelID: "channel_id",
	CreatedAt: "created_at",
	UpdatedAt: "updated_at",
}
View Source
var ClaimToChannelRels = struct {
}{}

ClaimToChannelRels is where relationship names are stored.

View Source
var ClaimToChannelTableColumns = struct {
	ClaimID   string
	ChannelID string
	CreatedAt string
	UpdatedAt string
}{
	ClaimID:   "claim_to_channel.claim_id",
	ChannelID: "claim_to_channel.channel_id",
	CreatedAt: "claim_to_channel.created_at",
	UpdatedAt: "claim_to_channel.updated_at",
}
View Source
var ClaimToChannelWhere = struct {
	ClaimID   whereHelperstring
	ChannelID whereHelperstring
	CreatedAt whereHelpertime_Time
	UpdatedAt whereHelpertime_Time
}{
	ClaimID:   whereHelperstring{/* contains filtered or unexported fields */},
	ChannelID: whereHelperstring{/* contains filtered or unexported fields */},
	CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */},
	UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */},
}
View Source
var CommentClassificationColumns = struct {
	CommentID        string
	Toxicity         string
	SevereToxicity   string
	Obscene          string
	IdentityAttack   string
	Insult           string
	Threat           string
	SexualExplicit   string
	Nazi             string
	Doxx             string
	IsReviewed       string
	ReviewerApproved string
	Timestamp        string
	CreatedAt        string
	UpdatedAt        string
	ModelIdent       string
}{
	CommentID:        "comment_id",
	Toxicity:         "toxicity",
	SevereToxicity:   "severe_toxicity",
	Obscene:          "obscene",
	IdentityAttack:   "identity_attack",
	Insult:           "insult",
	Threat:           "threat",
	SexualExplicit:   "sexual_explicit",
	Nazi:             "nazi",
	Doxx:             "doxx",
	IsReviewed:       "is_reviewed",
	ReviewerApproved: "reviewer_approved",
	Timestamp:        "timestamp",
	CreatedAt:        "created_at",
	UpdatedAt:        "updated_at",
	ModelIdent:       "model_ident",
}
View Source
var CommentClassificationRels = struct {
	Comment string
}{
	Comment: "Comment",
}

CommentClassificationRels is where relationship names are stored.

View Source
var CommentClassificationTableColumns = struct {
	CommentID        string
	Toxicity         string
	SevereToxicity   string
	Obscene          string
	IdentityAttack   string
	Insult           string
	Threat           string
	SexualExplicit   string
	Nazi             string
	Doxx             string
	IsReviewed       string
	ReviewerApproved string
	Timestamp        string
	CreatedAt        string
	UpdatedAt        string
	ModelIdent       string
}{
	CommentID:        "comment_classification.comment_id",
	Toxicity:         "comment_classification.toxicity",
	SevereToxicity:   "comment_classification.severe_toxicity",
	Obscene:          "comment_classification.obscene",
	IdentityAttack:   "comment_classification.identity_attack",
	Insult:           "comment_classification.insult",
	Threat:           "comment_classification.threat",
	SexualExplicit:   "comment_classification.sexual_explicit",
	Nazi:             "comment_classification.nazi",
	Doxx:             "comment_classification.doxx",
	IsReviewed:       "comment_classification.is_reviewed",
	ReviewerApproved: "comment_classification.reviewer_approved",
	Timestamp:        "comment_classification.timestamp",
	CreatedAt:        "comment_classification.created_at",
	UpdatedAt:        "comment_classification.updated_at",
	ModelIdent:       "comment_classification.model_ident",
}
View Source
var CommentClassificationWhere = struct {
	CommentID        whereHelperstring
	Toxicity         whereHelperfloat32
	SevereToxicity   whereHelperfloat32
	Obscene          whereHelperfloat32
	IdentityAttack   whereHelperfloat32
	Insult           whereHelperfloat32
	Threat           whereHelperfloat32
	SexualExplicit   whereHelperfloat32
	Nazi             whereHelperfloat32
	Doxx             whereHelperfloat32
	IsReviewed       whereHelpernull_Bool
	ReviewerApproved whereHelpernull_Bool
	Timestamp        whereHelperint
	CreatedAt        whereHelpertime_Time
	UpdatedAt        whereHelpertime_Time
	ModelIdent       whereHelpernull_String
}{
	CommentID:        whereHelperstring{/* contains filtered or unexported fields */},
	Toxicity:         whereHelperfloat32{/* contains filtered or unexported fields */},
	SevereToxicity:   whereHelperfloat32{/* contains filtered or unexported fields */},
	Obscene:          whereHelperfloat32{/* contains filtered or unexported fields */},
	IdentityAttack:   whereHelperfloat32{/* contains filtered or unexported fields */},
	Insult:           whereHelperfloat32{/* contains filtered or unexported fields */},
	Threat:           whereHelperfloat32{/* contains filtered or unexported fields */},
	SexualExplicit:   whereHelperfloat32{/* contains filtered or unexported fields */},
	Nazi:             whereHelperfloat32{/* contains filtered or unexported fields */},
	Doxx:             whereHelperfloat32{/* contains filtered or unexported fields */},
	IsReviewed:       whereHelpernull_Bool{/* contains filtered or unexported fields */},
	ReviewerApproved: whereHelpernull_Bool{/* contains filtered or unexported fields */},
	Timestamp:        whereHelperint{/* contains filtered or unexported fields */},
	CreatedAt:        whereHelpertime_Time{/* contains filtered or unexported fields */},
	UpdatedAt:        whereHelpertime_Time{/* contains filtered or unexported fields */},
	ModelIdent:       whereHelpernull_String{/* contains filtered or unexported fields */},
}
View Source
var CommentColumns = struct {
	CommentID        string
	LbryClaimID      string
	ChannelID        string
	Body             string
	ParentID         string
	Signature        string
	Signingts        string
	Timestamp        string
	IsHidden         string
	IsPinned         string
	IsFlagged        string
	Amount           string
	TXID             string
	PopularityScore  string
	ControversyScore string
	IsFiat           string
	Currency         string
	IsProtected      string
	DeletedAt        string
}{
	CommentID:        "comment_id",
	LbryClaimID:      "lbry_claim_id",
	ChannelID:        "channel_id",
	Body:             "body",
	ParentID:         "parent_id",
	Signature:        "signature",
	Signingts:        "signingts",
	Timestamp:        "timestamp",
	IsHidden:         "is_hidden",
	IsPinned:         "is_pinned",
	IsFlagged:        "is_flagged",
	Amount:           "amount",
	TXID:             "tx_id",
	PopularityScore:  "popularity_score",
	ControversyScore: "controversy_score",
	IsFiat:           "is_fiat",
	Currency:         "currency",
	IsProtected:      "is_protected",
	DeletedAt:        "deleted_at",
}
View Source
var CommentRels = struct {
	Channel                        string
	Parent                         string
	CommentClassification          string
	OffendingCommentBlockedEntries string
	ParentComments                 string
	Reactions                      string
}{
	Channel:                        "Channel",
	Parent:                         "Parent",
	CommentClassification:          "CommentClassification",
	OffendingCommentBlockedEntries: "OffendingCommentBlockedEntries",
	ParentComments:                 "ParentComments",
	Reactions:                      "Reactions",
}

CommentRels is where relationship names are stored.

View Source
var CommentTableColumns = struct {
	CommentID        string
	LbryClaimID      string
	ChannelID        string
	Body             string
	ParentID         string
	Signature        string
	Signingts        string
	Timestamp        string
	IsHidden         string
	IsPinned         string
	IsFlagged        string
	Amount           string
	TXID             string
	PopularityScore  string
	ControversyScore string
	IsFiat           string
	Currency         string
	IsProtected      string
	DeletedAt        string
}{
	CommentID:        "comment.comment_id",
	LbryClaimID:      "comment.lbry_claim_id",
	ChannelID:        "comment.channel_id",
	Body:             "comment.body",
	ParentID:         "comment.parent_id",
	Signature:        "comment.signature",
	Signingts:        "comment.signingts",
	Timestamp:        "comment.timestamp",
	IsHidden:         "comment.is_hidden",
	IsPinned:         "comment.is_pinned",
	IsFlagged:        "comment.is_flagged",
	Amount:           "comment.amount",
	TXID:             "comment.tx_id",
	PopularityScore:  "comment.popularity_score",
	ControversyScore: "comment.controversy_score",
	IsFiat:           "comment.is_fiat",
	Currency:         "comment.currency",
	IsProtected:      "comment.is_protected",
	DeletedAt:        "comment.deleted_at",
}
View Source
var CommentWhere = struct {
	CommentID        whereHelperstring
	LbryClaimID      whereHelperstring
	ChannelID        whereHelpernull_String
	Body             whereHelperstring
	ParentID         whereHelpernull_String
	Signature        whereHelpernull_String
	Signingts        whereHelpernull_String
	Timestamp        whereHelperint
	IsHidden         whereHelpernull_Bool
	IsPinned         whereHelperbool
	IsFlagged        whereHelperbool
	Amount           whereHelpernull_Uint64
	TXID             whereHelpernull_String
	PopularityScore  whereHelpernull_Int
	ControversyScore whereHelpernull_Int
	IsFiat           whereHelperbool
	Currency         whereHelpernull_String
	IsProtected      whereHelperbool
	DeletedAt        whereHelpernull_Time
}{
	CommentID:        whereHelperstring{/* contains filtered or unexported fields */},
	LbryClaimID:      whereHelperstring{/* contains filtered or unexported fields */},
	ChannelID:        whereHelpernull_String{/* contains filtered or unexported fields */},
	Body:             whereHelperstring{/* contains filtered or unexported fields */},
	ParentID:         whereHelpernull_String{/* contains filtered or unexported fields */},
	Signature:        whereHelpernull_String{/* contains filtered or unexported fields */},
	Signingts:        whereHelpernull_String{/* contains filtered or unexported fields */},
	Timestamp:        whereHelperint{/* contains filtered or unexported fields */},
	IsHidden:         whereHelpernull_Bool{/* contains filtered or unexported fields */},
	IsPinned:         whereHelperbool{/* contains filtered or unexported fields */},
	IsFlagged:        whereHelperbool{/* contains filtered or unexported fields */},
	Amount:           whereHelpernull_Uint64{/* contains filtered or unexported fields */},
	TXID:             whereHelpernull_String{/* contains filtered or unexported fields */},
	PopularityScore:  whereHelpernull_Int{/* contains filtered or unexported fields */},
	ControversyScore: whereHelpernull_Int{/* contains filtered or unexported fields */},
	IsFiat:           whereHelperbool{/* contains filtered or unexported fields */},
	Currency:         whereHelpernull_String{/* contains filtered or unexported fields */},
	IsProtected:      whereHelperbool{/* contains filtered or unexported fields */},
	DeletedAt:        whereHelpernull_Time{/* contains filtered or unexported fields */},
}
View Source
var CreatorSettingColumns = struct {
	ID                         string
	CreatorChannelID           string
	CommentsEnabled            string
	MinTipAmountComment        string
	MinTipAmountSuperChat      string
	MutedWords                 string
	CreatedAt                  string
	UpdatedAt                  string
	SlowModeMinGap             string
	CurseJarAmount             string
	IsFiltersEnabled           string
	ChatOverlay                string
	ChatOverlayPosition        string
	ChatRemoveComment          string
	StickerOverlay             string
	StickerOverlayKeep         string
	StickerOverlayRemove       string
	ViewercountOverlay         string
	ViewercountOverlayPosition string
	ViewercountChatBot         string
	TipgoalOverlay             string
	TipgoalAmount              string
	TipgoalOverlayPosition     string
	TipgoalPreviousDonations   string
	TipgoalCurrency            string
	TimeSinceFirstComment      string
	BlockedWordsFuzzinessMatch string
	PublicShowProtected        string
	PrivateShowProtected       string
	LivestreamChatMembersOnly  string
	CommentsMembersOnly        string
	HomepageSettings           string
	ChannelSections            string
}{
	ID:                         "id",
	CreatorChannelID:           "creator_channel_id",
	CommentsEnabled:            "comments_enabled",
	MinTipAmountComment:        "min_tip_amount_comment",
	MinTipAmountSuperChat:      "min_tip_amount_super_chat",
	MutedWords:                 "muted_words",
	CreatedAt:                  "created_at",
	UpdatedAt:                  "updated_at",
	SlowModeMinGap:             "slow_mode_min_gap",
	CurseJarAmount:             "curse_jar_amount",
	IsFiltersEnabled:           "is_filters_enabled",
	ChatOverlay:                "chat_overlay",
	ChatOverlayPosition:        "chat_overlay_position",
	ChatRemoveComment:          "chat_remove_comment",
	StickerOverlay:             "sticker_overlay",
	StickerOverlayKeep:         "sticker_overlay_keep",
	StickerOverlayRemove:       "sticker_overlay_remove",
	ViewercountOverlay:         "viewercount_overlay",
	ViewercountOverlayPosition: "viewercount_overlay_position",
	ViewercountChatBot:         "viewercount_chat_bot",
	TipgoalOverlay:             "tipgoal_overlay",
	TipgoalAmount:              "tipgoal_amount",
	TipgoalOverlayPosition:     "tipgoal_overlay_position",
	TipgoalPreviousDonations:   "tipgoal_previous_donations",
	TipgoalCurrency:            "tipgoal_currency",
	TimeSinceFirstComment:      "time_since_first_comment",
	BlockedWordsFuzzinessMatch: "blocked_words_fuzziness_match",
	PublicShowProtected:        "public_show_protected",
	PrivateShowProtected:       "private_show_protected",
	LivestreamChatMembersOnly:  "livestream_chat_members_only",
	CommentsMembersOnly:        "comments_members_only",
	HomepageSettings:           "homepage_settings",
	ChannelSections:            "channel_sections",
}
View Source
var CreatorSettingRels = struct {
	CreatorChannel string
}{
	CreatorChannel: "CreatorChannel",
}

CreatorSettingRels is where relationship names are stored.

View Source
var CreatorSettingTableColumns = struct {
	ID                         string
	CreatorChannelID           string
	CommentsEnabled            string
	MinTipAmountComment        string
	MinTipAmountSuperChat      string
	MutedWords                 string
	CreatedAt                  string
	UpdatedAt                  string
	SlowModeMinGap             string
	CurseJarAmount             string
	IsFiltersEnabled           string
	ChatOverlay                string
	ChatOverlayPosition        string
	ChatRemoveComment          string
	StickerOverlay             string
	StickerOverlayKeep         string
	StickerOverlayRemove       string
	ViewercountOverlay         string
	ViewercountOverlayPosition string
	ViewercountChatBot         string
	TipgoalOverlay             string
	TipgoalAmount              string
	TipgoalOverlayPosition     string
	TipgoalPreviousDonations   string
	TipgoalCurrency            string
	TimeSinceFirstComment      string
	BlockedWordsFuzzinessMatch string
	PublicShowProtected        string
	PrivateShowProtected       string
	LivestreamChatMembersOnly  string
	CommentsMembersOnly        string
	HomepageSettings           string
	ChannelSections            string
}{
	ID:                         "creator_setting.id",
	CreatorChannelID:           "creator_setting.creator_channel_id",
	CommentsEnabled:            "creator_setting.comments_enabled",
	MinTipAmountComment:        "creator_setting.min_tip_amount_comment",
	MinTipAmountSuperChat:      "creator_setting.min_tip_amount_super_chat",
	MutedWords:                 "creator_setting.muted_words",
	CreatedAt:                  "creator_setting.created_at",
	UpdatedAt:                  "creator_setting.updated_at",
	SlowModeMinGap:             "creator_setting.slow_mode_min_gap",
	CurseJarAmount:             "creator_setting.curse_jar_amount",
	IsFiltersEnabled:           "creator_setting.is_filters_enabled",
	ChatOverlay:                "creator_setting.chat_overlay",
	ChatOverlayPosition:        "creator_setting.chat_overlay_position",
	ChatRemoveComment:          "creator_setting.chat_remove_comment",
	StickerOverlay:             "creator_setting.sticker_overlay",
	StickerOverlayKeep:         "creator_setting.sticker_overlay_keep",
	StickerOverlayRemove:       "creator_setting.sticker_overlay_remove",
	ViewercountOverlay:         "creator_setting.viewercount_overlay",
	ViewercountOverlayPosition: "creator_setting.viewercount_overlay_position",
	ViewercountChatBot:         "creator_setting.viewercount_chat_bot",
	TipgoalOverlay:             "creator_setting.tipgoal_overlay",
	TipgoalAmount:              "creator_setting.tipgoal_amount",
	TipgoalOverlayPosition:     "creator_setting.tipgoal_overlay_position",
	TipgoalPreviousDonations:   "creator_setting.tipgoal_previous_donations",
	TipgoalCurrency:            "creator_setting.tipgoal_currency",
	TimeSinceFirstComment:      "creator_setting.time_since_first_comment",
	BlockedWordsFuzzinessMatch: "creator_setting.blocked_words_fuzziness_match",
	PublicShowProtected:        "creator_setting.public_show_protected",
	PrivateShowProtected:       "creator_setting.private_show_protected",
	LivestreamChatMembersOnly:  "creator_setting.livestream_chat_members_only",
	CommentsMembersOnly:        "creator_setting.comments_members_only",
	HomepageSettings:           "creator_setting.homepage_settings",
	ChannelSections:            "creator_setting.channel_sections",
}
View Source
var CreatorSettingWhere = struct {
	ID                         whereHelperuint64
	CreatorChannelID           whereHelperstring
	CommentsEnabled            whereHelpernull_Bool
	MinTipAmountComment        whereHelpernull_Uint64
	MinTipAmountSuperChat      whereHelpernull_Uint64
	MutedWords                 whereHelpernull_String
	CreatedAt                  whereHelpertime_Time
	UpdatedAt                  whereHelpertime_Time
	SlowModeMinGap             whereHelpernull_Uint64
	CurseJarAmount             whereHelpernull_Uint64
	IsFiltersEnabled           whereHelpernull_Bool
	ChatOverlay                whereHelperbool
	ChatOverlayPosition        whereHelperstring
	ChatRemoveComment          whereHelperint64
	StickerOverlay             whereHelperbool
	StickerOverlayKeep         whereHelperbool
	StickerOverlayRemove       whereHelperint64
	ViewercountOverlay         whereHelperbool
	ViewercountOverlayPosition whereHelperstring
	ViewercountChatBot         whereHelperbool
	TipgoalOverlay             whereHelperbool
	TipgoalAmount              whereHelperint64
	TipgoalOverlayPosition     whereHelperstring
	TipgoalPreviousDonations   whereHelperbool
	TipgoalCurrency            whereHelperstring
	TimeSinceFirstComment      whereHelpernull_Int64
	BlockedWordsFuzzinessMatch whereHelpernull_Int64
	PublicShowProtected        whereHelperbool
	PrivateShowProtected       whereHelperbool
	LivestreamChatMembersOnly  whereHelperbool
	CommentsMembersOnly        whereHelperbool
	HomepageSettings           whereHelpernull_JSON
	ChannelSections            whereHelpernull_JSON
}{
	ID:                         whereHelperuint64{/* contains filtered or unexported fields */},
	CreatorChannelID:           whereHelperstring{/* contains filtered or unexported fields */},
	CommentsEnabled:            whereHelpernull_Bool{/* contains filtered or unexported fields */},
	MinTipAmountComment:        whereHelpernull_Uint64{/* contains filtered or unexported fields */},
	MinTipAmountSuperChat:      whereHelpernull_Uint64{/* contains filtered or unexported fields */},
	MutedWords:                 whereHelpernull_String{/* contains filtered or unexported fields */},
	CreatedAt:                  whereHelpertime_Time{/* contains filtered or unexported fields */},
	UpdatedAt:                  whereHelpertime_Time{/* contains filtered or unexported fields */},
	SlowModeMinGap:             whereHelpernull_Uint64{/* contains filtered or unexported fields */},
	CurseJarAmount:             whereHelpernull_Uint64{/* contains filtered or unexported fields */},
	IsFiltersEnabled:           whereHelpernull_Bool{/* contains filtered or unexported fields */},
	ChatOverlay:                whereHelperbool{/* contains filtered or unexported fields */},
	ChatOverlayPosition:        whereHelperstring{/* contains filtered or unexported fields */},
	ChatRemoveComment:          whereHelperint64{/* contains filtered or unexported fields */},
	StickerOverlay:             whereHelperbool{/* contains filtered or unexported fields */},
	StickerOverlayKeep:         whereHelperbool{/* contains filtered or unexported fields */},
	StickerOverlayRemove:       whereHelperint64{/* contains filtered or unexported fields */},
	ViewercountOverlay:         whereHelperbool{/* contains filtered or unexported fields */},
	ViewercountOverlayPosition: whereHelperstring{/* contains filtered or unexported fields */},
	ViewercountChatBot:         whereHelperbool{/* contains filtered or unexported fields */},
	TipgoalOverlay:             whereHelperbool{/* contains filtered or unexported fields */},
	TipgoalAmount:              whereHelperint64{/* contains filtered or unexported fields */},
	TipgoalOverlayPosition:     whereHelperstring{/* contains filtered or unexported fields */},
	TipgoalPreviousDonations:   whereHelperbool{/* contains filtered or unexported fields */},
	TipgoalCurrency:            whereHelperstring{/* contains filtered or unexported fields */},
	TimeSinceFirstComment:      whereHelpernull_Int64{/* contains filtered or unexported fields */},
	BlockedWordsFuzzinessMatch: whereHelpernull_Int64{/* contains filtered or unexported fields */},
	PublicShowProtected:        whereHelperbool{/* contains filtered or unexported fields */},
	PrivateShowProtected:       whereHelperbool{/* contains filtered or unexported fields */},
	LivestreamChatMembersOnly:  whereHelperbool{/* contains filtered or unexported fields */},
	CommentsMembersOnly:        whereHelperbool{/* contains filtered or unexported fields */},
	HomepageSettings:           whereHelpernull_JSON{/* contains filtered or unexported fields */},
	ChannelSections:            whereHelpernull_JSON{/* contains filtered or unexported fields */},
}
View Source
var DelegatedModeratorColumns = struct {
	ID               string
	ModChannelID     string
	CreatorChannelID string
	Permissons       string
	CreatedAt        string
	UpdatedAt        string
}{
	ID:               "id",
	ModChannelID:     "mod_channel_id",
	CreatorChannelID: "creator_channel_id",
	Permissons:       "permissons",
	CreatedAt:        "created_at",
	UpdatedAt:        "updated_at",
}
View Source
var DelegatedModeratorRels = struct {
	ModChannel     string
	CreatorChannel string
}{
	ModChannel:     "ModChannel",
	CreatorChannel: "CreatorChannel",
}

DelegatedModeratorRels is where relationship names are stored.

View Source
var DelegatedModeratorTableColumns = struct {
	ID               string
	ModChannelID     string
	CreatorChannelID string
	Permissons       string
	CreatedAt        string
	UpdatedAt        string
}{
	ID:               "delegated_moderator.id",
	ModChannelID:     "delegated_moderator.mod_channel_id",
	CreatorChannelID: "delegated_moderator.creator_channel_id",
	Permissons:       "delegated_moderator.permissons",
	CreatedAt:        "delegated_moderator.created_at",
	UpdatedAt:        "delegated_moderator.updated_at",
}
View Source
var DelegatedModeratorWhere = struct {
	ID               whereHelperuint64
	ModChannelID     whereHelperstring
	CreatorChannelID whereHelperstring
	Permissons       whereHelperuint64
	CreatedAt        whereHelpertime_Time
	UpdatedAt        whereHelpertime_Time
}{
	ID:               whereHelperuint64{/* contains filtered or unexported fields */},
	ModChannelID:     whereHelperstring{/* contains filtered or unexported fields */},
	CreatorChannelID: whereHelperstring{/* contains filtered or unexported fields */},
	Permissons:       whereHelperuint64{/* contains filtered or unexported fields */},
	CreatedAt:        whereHelpertime_Time{/* contains filtered or unexported fields */},
	UpdatedAt:        whereHelpertime_Time{/* contains filtered or unexported fields */},
}
View Source
var ErrSyncFail = errors.New("model: 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.

View Source
var GorpMigrationColumns = struct {
	ID        string
	AppliedAt string
}{
	ID:        "id",
	AppliedAt: "applied_at",
}
View Source
var GorpMigrationRels = struct {
}{}

GorpMigrationRels is where relationship names are stored.

View Source
var GorpMigrationTableColumns = struct {
	ID        string
	AppliedAt string
}{
	ID:        "gorp_migrations.id",
	AppliedAt: "gorp_migrations.applied_at",
}
View Source
var GorpMigrationWhere = struct {
	ID        whereHelperstring
	AppliedAt whereHelpernull_Time
}{
	ID:        whereHelperstring{/* contains filtered or unexported fields */},
	AppliedAt: whereHelpernull_Time{/* contains filtered or unexported fields */},
}
View Source
var ModeratorColumns = struct {
	ID           string
	ModChannelID string
	ModLevel     string
	CreatedAt    string
	UpdatedAt    string
}{
	ID:           "id",
	ModChannelID: "mod_channel_id",
	ModLevel:     "mod_level",
	CreatedAt:    "created_at",
	UpdatedAt:    "updated_at",
}
View Source
var ModeratorRels = struct {
	ModChannel string
}{
	ModChannel: "ModChannel",
}

ModeratorRels is where relationship names are stored.

View Source
var ModeratorTableColumns = struct {
	ID           string
	ModChannelID string
	ModLevel     string
	CreatedAt    string
	UpdatedAt    string
}{
	ID:           "moderator.id",
	ModChannelID: "moderator.mod_channel_id",
	ModLevel:     "moderator.mod_level",
	CreatedAt:    "moderator.created_at",
	UpdatedAt:    "moderator.updated_at",
}
View Source
var ModeratorWhere = struct {
	ID           whereHelperuint64
	ModChannelID whereHelpernull_String
	ModLevel     whereHelperint64
	CreatedAt    whereHelpertime_Time
	UpdatedAt    whereHelpertime_Time
}{
	ID:           whereHelperuint64{/* contains filtered or unexported fields */},
	ModChannelID: whereHelpernull_String{/* contains filtered or unexported fields */},
	ModLevel:     whereHelperint64{/* contains filtered or unexported fields */},
	CreatedAt:    whereHelpertime_Time{/* contains filtered or unexported fields */},
	UpdatedAt:    whereHelpertime_Time{/* contains filtered or unexported fields */},
}
View Source
var ReactionColumns = struct {
	ID             string
	CommentID      string
	ChannelID      string
	ClaimID        string
	ReactionTypeID string
	CreatedAt      string
	UpdatedAt      string
	IsFlagged      string
}{
	ID:             "id",
	CommentID:      "comment_id",
	ChannelID:      "channel_id",
	ClaimID:        "claim_id",
	ReactionTypeID: "reaction_type_id",
	CreatedAt:      "created_at",
	UpdatedAt:      "updated_at",
	IsFlagged:      "is_flagged",
}
View Source
var ReactionRels = struct {
	Channel      string
	Comment      string
	ReactionType string
}{
	Channel:      "Channel",
	Comment:      "Comment",
	ReactionType: "ReactionType",
}

ReactionRels is where relationship names are stored.

View Source
var ReactionTableColumns = struct {
	ID             string
	CommentID      string
	ChannelID      string
	ClaimID        string
	ReactionTypeID string
	CreatedAt      string
	UpdatedAt      string
	IsFlagged      string
}{
	ID:             "reaction.id",
	CommentID:      "reaction.comment_id",
	ChannelID:      "reaction.channel_id",
	ClaimID:        "reaction.claim_id",
	ReactionTypeID: "reaction.reaction_type_id",
	CreatedAt:      "reaction.created_at",
	UpdatedAt:      "reaction.updated_at",
	IsFlagged:      "reaction.is_flagged",
}
View Source
var ReactionTypeColumns = struct {
	ID        string
	Name      string
	CreatedAt string
	UpdatedAt string
}{
	ID:        "id",
	Name:      "name",
	CreatedAt: "created_at",
	UpdatedAt: "updated_at",
}
View Source
var ReactionTypeRels = struct {
	Reactions string
}{
	Reactions: "Reactions",
}

ReactionTypeRels is where relationship names are stored.

View Source
var ReactionTypeTableColumns = struct {
	ID        string
	Name      string
	CreatedAt string
	UpdatedAt string
}{
	ID:        "reaction_type.id",
	Name:      "reaction_type.name",
	CreatedAt: "reaction_type.created_at",
	UpdatedAt: "reaction_type.updated_at",
}
View Source
var ReactionTypeWhere = struct {
	ID        whereHelperuint64
	Name      whereHelperstring
	CreatedAt whereHelpertime_Time
	UpdatedAt whereHelpertime_Time
}{
	ID:        whereHelperuint64{/* contains filtered or unexported fields */},
	Name:      whereHelperstring{/* contains filtered or unexported fields */},
	CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */},
	UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */},
}
View Source
var ReactionWhere = struct {
	ID             whereHelperuint64
	CommentID      whereHelperstring
	ChannelID      whereHelpernull_String
	ClaimID        whereHelperstring
	ReactionTypeID whereHelperuint64
	CreatedAt      whereHelpertime_Time
	UpdatedAt      whereHelpertime_Time
	IsFlagged      whereHelperbool
}{
	ID:             whereHelperuint64{/* contains filtered or unexported fields */},
	CommentID:      whereHelperstring{/* contains filtered or unexported fields */},
	ChannelID:      whereHelpernull_String{/* contains filtered or unexported fields */},
	ClaimID:        whereHelperstring{/* contains filtered or unexported fields */},
	ReactionTypeID: whereHelperuint64{/* contains filtered or unexported fields */},
	CreatedAt:      whereHelpertime_Time{/* contains filtered or unexported fields */},
	UpdatedAt:      whereHelpertime_Time{/* contains filtered or unexported fields */},
	IsFlagged:      whereHelperbool{/* contains filtered or unexported fields */},
}
View Source
var TableNames = struct {
	BlockedEntry          string
	BlockedList           string
	BlockedListAppeal     string
	BlockedListInvite     string
	Channel               string
	ChannelAlgoCallbacks  string
	ClaimToChannel        string
	Comment               string
	CommentClassification string
	CreatorSetting        string
	DelegatedModerator    string
	GorpMigrations        string
	Moderator             string
	Reaction              string
	ReactionType          string
}{
	BlockedEntry:          "blocked_entry",
	BlockedList:           "blocked_list",
	BlockedListAppeal:     "blocked_list_appeal",
	BlockedListInvite:     "blocked_list_invite",
	Channel:               "channel",
	ChannelAlgoCallbacks:  "channel_algo_callbacks",
	ClaimToChannel:        "claim_to_channel",
	Comment:               "comment",
	CommentClassification: "comment_classification",
	CreatorSetting:        "creator_setting",
	DelegatedModerator:    "delegated_moderator",
	GorpMigrations:        "gorp_migrations",
	Moderator:             "moderator",
	Reaction:              "reaction",
	ReactionType:          "reaction_type",
}
View Source
var ViewNames = struct {
}{}

Functions

func BlockedEntries

func BlockedEntries(mods ...qm.QueryMod) blockedEntryQuery

BlockedEntries retrieves all the records using an executor.

func BlockedEntryExists

func BlockedEntryExists(exec boil.Executor, iD uint64) (bool, error)

BlockedEntryExists checks if the BlockedEntry row exists.

func BlockedListAppealExists

func BlockedListAppealExists(exec boil.Executor, iD uint64) (bool, error)

BlockedListAppealExists checks if the BlockedListAppeal row exists.

func BlockedListAppeals

func BlockedListAppeals(mods ...qm.QueryMod) blockedListAppealQuery

BlockedListAppeals retrieves all the records using an executor.

func BlockedListExists

func BlockedListExists(exec boil.Executor, iD uint64) (bool, error)

BlockedListExists checks if the BlockedList row exists.

func BlockedListInviteExists

func BlockedListInviteExists(exec boil.Executor, iD uint64) (bool, error)

BlockedListInviteExists checks if the BlockedListInvite row exists.

func BlockedListInvites

func BlockedListInvites(mods ...qm.QueryMod) blockedListInviteQuery

BlockedListInvites retrieves all the records using an executor.

func BlockedLists

func BlockedLists(mods ...qm.QueryMod) blockedListQuery

BlockedLists retrieves all the records using an executor.

func ChannelAlgoCallbackExists

func ChannelAlgoCallbackExists(exec boil.Executor, channelID string, watcherID uint) (bool, error)

ChannelAlgoCallbackExists checks if the ChannelAlgoCallback row exists.

func ChannelAlgoCallbacks

func ChannelAlgoCallbacks(mods ...qm.QueryMod) channelAlgoCallbackQuery

ChannelAlgoCallbacks retrieves all the records using an executor.

func ChannelExists

func ChannelExists(exec boil.Executor, claimID string) (bool, error)

ChannelExists checks if the Channel row exists.

func Channels

func Channels(mods ...qm.QueryMod) channelQuery

Channels retrieves all the records using an executor.

func ClaimToChannelExists

func ClaimToChannelExists(exec boil.Executor, claimID string) (bool, error)

ClaimToChannelExists checks if the ClaimToChannel row exists.

func ClaimToChannels

func ClaimToChannels(mods ...qm.QueryMod) claimToChannelQuery

ClaimToChannels retrieves all the records using an executor.

func CommentClassificationExists

func CommentClassificationExists(exec boil.Executor, commentID string) (bool, error)

CommentClassificationExists checks if the CommentClassification row exists.

func CommentClassifications

func CommentClassifications(mods ...qm.QueryMod) commentClassificationQuery

CommentClassifications retrieves all the records using an executor.

func CommentExists

func CommentExists(exec boil.Executor, commentID string) (bool, error)

CommentExists checks if the Comment row exists.

func Comments

func Comments(mods ...qm.QueryMod) commentQuery

Comments retrieves all the records using an executor.

func CreatorSettingExists

func CreatorSettingExists(exec boil.Executor, iD uint64) (bool, error)

CreatorSettingExists checks if the CreatorSetting row exists.

func CreatorSettings

func CreatorSettings(mods ...qm.QueryMod) creatorSettingQuery

CreatorSettings retrieves all the records using an executor.

func DelegatedModeratorExists

func DelegatedModeratorExists(exec boil.Executor, iD uint64) (bool, error)

DelegatedModeratorExists checks if the DelegatedModerator row exists.

func DelegatedModerators

func DelegatedModerators(mods ...qm.QueryMod) delegatedModeratorQuery

DelegatedModerators retrieves all the records using an executor.

func GorpMigrationExists

func GorpMigrationExists(exec boil.Executor, iD string) (bool, error)

GorpMigrationExists checks if the GorpMigration row exists.

func GorpMigrations

func GorpMigrations(mods ...qm.QueryMod) gorpMigrationQuery

GorpMigrations retrieves all the records using an executor.

func ModeratorExists

func ModeratorExists(exec boil.Executor, iD uint64) (bool, error)

ModeratorExists checks if the Moderator row exists.

func Moderators

func Moderators(mods ...qm.QueryMod) moderatorQuery

Moderators retrieves all the records using an executor.

func NewQuery

func NewQuery(mods ...qm.QueryMod) *queries.Query

NewQuery initializes a new Query using the passed in QueryMods

func ReactionExists

func ReactionExists(exec boil.Executor, iD uint64) (bool, error)

ReactionExists checks if the Reaction row exists.

func ReactionTypeExists

func ReactionTypeExists(exec boil.Executor, iD uint64) (bool, error)

ReactionTypeExists checks if the ReactionType row exists.

func ReactionTypes

func ReactionTypes(mods ...qm.QueryMod) reactionTypeQuery

ReactionTypes retrieves all the records using an executor.

func Reactions

func Reactions(mods ...qm.QueryMod) reactionQuery

Reactions retrieves all the records using an executor.

Types

type BlockedEntry

type BlockedEntry struct {
	ID                          uint64      `boil:"id" json:"id" toml:"id" yaml:"id"`
	BlockedChannelID            null.String `boil:"blocked_channel_id" json:"blocked_channel_id,omitempty" toml:"blocked_channel_id" yaml:"blocked_channel_id,omitempty"`
	CreatorChannelID            null.String `boil:"creator_channel_id" json:"creator_channel_id,omitempty" toml:"creator_channel_id" yaml:"creator_channel_id,omitempty"`
	UniversallyBlocked          null.Bool   `` /* 127-byte string literal not displayed */
	CreatedAt                   time.Time   `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	UpdatedAt                   time.Time   `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
	BlockedListID               null.Uint64 `boil:"blocked_list_id" json:"blocked_list_id,omitempty" toml:"blocked_list_id" yaml:"blocked_list_id,omitempty"`
	DelegatedModeratorChannelID null.String `` /* 171-byte string literal not displayed */
	Reason                      null.String `boil:"reason" json:"reason,omitempty" toml:"reason" yaml:"reason,omitempty"`
	OffendingCommentID          null.String `` /* 131-byte string literal not displayed */
	Expiry                      null.Time   `boil:"expiry" json:"expiry,omitempty" toml:"expiry" yaml:"expiry,omitempty"`
	Strikes                     null.Int    `boil:"strikes" json:"strikes,omitempty" toml:"strikes" yaml:"strikes,omitempty"`

	R *blockedEntryR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L blockedEntryL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

BlockedEntry is an object representing the database table.

func FindBlockedEntry

func FindBlockedEntry(exec boil.Executor, iD uint64, selectCols ...string) (*BlockedEntry, error)

FindBlockedEntry retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*BlockedEntry) AddBlockedListAppeals

func (o *BlockedEntry) AddBlockedListAppeals(exec boil.Executor, insert bool, related ...*BlockedListAppeal) error

AddBlockedListAppeals adds the given related objects to the existing relationships of the blocked_entry, optionally inserting them as new records. Appends related to o.R.BlockedListAppeals. Sets related.R.BlockedEntry appropriately.

func (*BlockedEntry) BlockedChannel

func (o *BlockedEntry) BlockedChannel(mods ...qm.QueryMod) channelQuery

BlockedChannel pointed to by the foreign key.

func (*BlockedEntry) BlockedList

func (o *BlockedEntry) BlockedList(mods ...qm.QueryMod) blockedListQuery

BlockedList pointed to by the foreign key.

func (*BlockedEntry) BlockedListAppeals

func (o *BlockedEntry) BlockedListAppeals(mods ...qm.QueryMod) blockedListAppealQuery

BlockedListAppeals retrieves all the blocked_list_appeal's BlockedListAppeals with an executor.

func (*BlockedEntry) CreatorChannel

func (o *BlockedEntry) CreatorChannel(mods ...qm.QueryMod) channelQuery

CreatorChannel pointed to by the foreign key.

func (*BlockedEntry) DelegatedModeratorChannel

func (o *BlockedEntry) DelegatedModeratorChannel(mods ...qm.QueryMod) channelQuery

DelegatedModeratorChannel pointed to by the foreign key.

func (*BlockedEntry) Delete

func (o *BlockedEntry) Delete(exec boil.Executor) error

Delete deletes a single BlockedEntry record with an executor. Delete will match against the primary key column to find the record to delete.

func (*BlockedEntry) Exists

func (o *BlockedEntry) Exists(exec boil.Executor) (bool, error)

Exists checks if the BlockedEntry row exists.

func (*BlockedEntry) Insert

func (o *BlockedEntry) Insert(exec boil.Executor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*BlockedEntry) OffendingComment

func (o *BlockedEntry) OffendingComment(mods ...qm.QueryMod) commentQuery

OffendingComment pointed to by the foreign key.

func (*BlockedEntry) Reload

func (o *BlockedEntry) Reload(exec boil.Executor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*BlockedEntry) RemoveBlockedChannel

func (o *BlockedEntry) RemoveBlockedChannel(exec boil.Executor, related *Channel) error

RemoveBlockedChannel relationship. Sets o.R.BlockedChannel to nil. Removes o from all passed in related items' relationships struct.

func (*BlockedEntry) RemoveBlockedList

func (o *BlockedEntry) RemoveBlockedList(exec boil.Executor, related *BlockedList) error

RemoveBlockedList relationship. Sets o.R.BlockedList to nil. Removes o from all passed in related items' relationships struct.

func (*BlockedEntry) RemoveCreatorChannel

func (o *BlockedEntry) RemoveCreatorChannel(exec boil.Executor, related *Channel) error

RemoveCreatorChannel relationship. Sets o.R.CreatorChannel to nil. Removes o from all passed in related items' relationships struct.

func (*BlockedEntry) RemoveDelegatedModeratorChannel

func (o *BlockedEntry) RemoveDelegatedModeratorChannel(exec boil.Executor, related *Channel) error

RemoveDelegatedModeratorChannel relationship. Sets o.R.DelegatedModeratorChannel to nil. Removes o from all passed in related items' relationships struct.

func (*BlockedEntry) RemoveOffendingComment

func (o *BlockedEntry) RemoveOffendingComment(exec boil.Executor, related *Comment) error

RemoveOffendingComment relationship. Sets o.R.OffendingComment to nil. Removes o from all passed in related items' relationships struct.

func (*BlockedEntry) SetBlockedChannel

func (o *BlockedEntry) SetBlockedChannel(exec boil.Executor, insert bool, related *Channel) error

SetBlockedChannel of the blockedEntry to the related item. Sets o.R.BlockedChannel to related. Adds o to related.R.BlockedChannelBlockedEntries.

func (*BlockedEntry) SetBlockedList

func (o *BlockedEntry) SetBlockedList(exec boil.Executor, insert bool, related *BlockedList) error

SetBlockedList of the blockedEntry to the related item. Sets o.R.BlockedList to related. Adds o to related.R.BlockedEntries.

func (*BlockedEntry) SetCreatorChannel

func (o *BlockedEntry) SetCreatorChannel(exec boil.Executor, insert bool, related *Channel) error

SetCreatorChannel of the blockedEntry to the related item. Sets o.R.CreatorChannel to related. Adds o to related.R.CreatorChannelBlockedEntries.

func (*BlockedEntry) SetDelegatedModeratorChannel

func (o *BlockedEntry) SetDelegatedModeratorChannel(exec boil.Executor, insert bool, related *Channel) error

SetDelegatedModeratorChannel of the blockedEntry to the related item. Sets o.R.DelegatedModeratorChannel to related. Adds o to related.R.DelegatedModeratorChannelBlockedEntries.

func (*BlockedEntry) SetOffendingComment

func (o *BlockedEntry) SetOffendingComment(exec boil.Executor, insert bool, related *Comment) error

SetOffendingComment of the blockedEntry to the related item. Sets o.R.OffendingComment to related. Adds o to related.R.OffendingCommentBlockedEntries.

func (*BlockedEntry) Update

func (o *BlockedEntry) Update(exec boil.Executor, columns boil.Columns) error

Update uses an executor to update the BlockedEntry. 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 (*BlockedEntry) Upsert

func (o *BlockedEntry) Upsert(exec boil.Executor, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

type BlockedEntrySlice

type BlockedEntrySlice []*BlockedEntry

BlockedEntrySlice is an alias for a slice of pointers to BlockedEntry. This should almost always be used instead of []BlockedEntry.

func (BlockedEntrySlice) DeleteAll

func (o BlockedEntrySlice) DeleteAll(exec boil.Executor) error

DeleteAll deletes all rows in the slice, using an executor.

func (*BlockedEntrySlice) ReloadAll

func (o *BlockedEntrySlice) ReloadAll(exec boil.Executor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (BlockedEntrySlice) UpdateAll

func (o BlockedEntrySlice) UpdateAll(exec boil.Executor, cols M) error

UpdateAll updates all rows with the specified column values, using an executor.

type BlockedList

type BlockedList struct {
	ID                  uint64      `boil:"id" json:"id" toml:"id" yaml:"id"`
	ChannelID           string      `boil:"channel_id" json:"channel_id" toml:"channel_id" yaml:"channel_id"`
	Name                string      `boil:"name" json:"name" toml:"name" yaml:"name"`
	Category            string      `boil:"category" json:"category" toml:"category" yaml:"category"`
	Description         string      `boil:"description" json:"description" toml:"description" yaml:"description"`
	MemberInviteEnabled null.Bool   `` /* 135-byte string literal not displayed */
	StrikeOne           null.Uint64 `boil:"strike_one" json:"strike_one,omitempty" toml:"strike_one" yaml:"strike_one,omitempty"`
	StrikeTwo           null.Uint64 `boil:"strike_two" json:"strike_two,omitempty" toml:"strike_two" yaml:"strike_two,omitempty"`
	StrikeThree         null.Uint64 `boil:"strike_three" json:"strike_three,omitempty" toml:"strike_three" yaml:"strike_three,omitempty"`
	InviteExpiration    null.Uint64 `boil:"invite_expiration" json:"invite_expiration,omitempty" toml:"invite_expiration" yaml:"invite_expiration,omitempty"`
	CurseJarAmount      null.Uint64 `boil:"curse_jar_amount" json:"curse_jar_amount,omitempty" toml:"curse_jar_amount" yaml:"curse_jar_amount,omitempty"`
	CreatedAt           time.Time   `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	UpdatedAt           time.Time   `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`

	R *blockedListR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L blockedListL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

BlockedList is an object representing the database table.

func FindBlockedList

func FindBlockedList(exec boil.Executor, iD uint64, selectCols ...string) (*BlockedList, error)

FindBlockedList retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*BlockedList) AddBlockedEntries

func (o *BlockedList) AddBlockedEntries(exec boil.Executor, insert bool, related ...*BlockedEntry) error

AddBlockedEntries adds the given related objects to the existing relationships of the blocked_list, optionally inserting them as new records. Appends related to o.R.BlockedEntries. Sets related.R.BlockedList appropriately.

func (*BlockedList) AddBlockedListAppeals

func (o *BlockedList) AddBlockedListAppeals(exec boil.Executor, insert bool, related ...*BlockedListAppeal) error

AddBlockedListAppeals adds the given related objects to the existing relationships of the blocked_list, optionally inserting them as new records. Appends related to o.R.BlockedListAppeals. Sets related.R.BlockedList appropriately.

func (*BlockedList) AddBlockedListInviteChannels

func (o *BlockedList) AddBlockedListInviteChannels(exec boil.Executor, insert bool, related ...*Channel) error

AddBlockedListInviteChannels adds the given related objects to the existing relationships of the blocked_list, optionally inserting them as new records. Appends related to o.R.BlockedListInviteChannels. Sets related.R.BlockedListInvite appropriately.

func (*BlockedList) AddBlockedListInvites

func (o *BlockedList) AddBlockedListInvites(exec boil.Executor, insert bool, related ...*BlockedListInvite) error

AddBlockedListInvites adds the given related objects to the existing relationships of the blocked_list, optionally inserting them as new records. Appends related to o.R.BlockedListInvites. Sets related.R.BlockedList appropriately.

func (*BlockedList) AddChannels

func (o *BlockedList) AddChannels(exec boil.Executor, insert bool, related ...*Channel) error

AddChannels adds the given related objects to the existing relationships of the blocked_list, optionally inserting them as new records. Appends related to o.R.Channels. Sets related.R.BlockedList appropriately.

func (*BlockedList) BlockedEntries

func (o *BlockedList) BlockedEntries(mods ...qm.QueryMod) blockedEntryQuery

BlockedEntries retrieves all the blocked_entry's BlockedEntries with an executor.

func (*BlockedList) BlockedListAppeals

func (o *BlockedList) BlockedListAppeals(mods ...qm.QueryMod) blockedListAppealQuery

BlockedListAppeals retrieves all the blocked_list_appeal's BlockedListAppeals with an executor.

func (*BlockedList) BlockedListInviteChannels

func (o *BlockedList) BlockedListInviteChannels(mods ...qm.QueryMod) channelQuery

BlockedListInviteChannels retrieves all the channel's Channels with an executor via blocked_list_invite_id column.

func (*BlockedList) BlockedListInvites

func (o *BlockedList) BlockedListInvites(mods ...qm.QueryMod) blockedListInviteQuery

BlockedListInvites retrieves all the blocked_list_invite's BlockedListInvites with an executor.

func (*BlockedList) Channel

func (o *BlockedList) Channel(mods ...qm.QueryMod) channelQuery

Channel pointed to by the foreign key.

func (*BlockedList) Channels

func (o *BlockedList) Channels(mods ...qm.QueryMod) channelQuery

Channels retrieves all the channel's Channels with an executor.

func (*BlockedList) Delete

func (o *BlockedList) Delete(exec boil.Executor) error

Delete deletes a single BlockedList record with an executor. Delete will match against the primary key column to find the record to delete.

func (*BlockedList) Exists

func (o *BlockedList) Exists(exec boil.Executor) (bool, error)

Exists checks if the BlockedList row exists.

func (*BlockedList) Insert

func (o *BlockedList) Insert(exec boil.Executor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*BlockedList) Reload

func (o *BlockedList) Reload(exec boil.Executor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*BlockedList) RemoveBlockedEntries

func (o *BlockedList) RemoveBlockedEntries(exec boil.Executor, related ...*BlockedEntry) error

RemoveBlockedEntries relationships from objects passed in. Removes related items from R.BlockedEntries (uses pointer comparison, removal does not keep order) Sets related.R.BlockedList.

func (*BlockedList) RemoveBlockedListAppeals

func (o *BlockedList) RemoveBlockedListAppeals(exec boil.Executor, related ...*BlockedListAppeal) error

RemoveBlockedListAppeals relationships from objects passed in. Removes related items from R.BlockedListAppeals (uses pointer comparison, removal does not keep order) Sets related.R.BlockedList.

func (*BlockedList) RemoveBlockedListInviteChannels

func (o *BlockedList) RemoveBlockedListInviteChannels(exec boil.Executor, related ...*Channel) error

RemoveBlockedListInviteChannels relationships from objects passed in. Removes related items from R.BlockedListInviteChannels (uses pointer comparison, removal does not keep order) Sets related.R.BlockedListInvite.

func (*BlockedList) RemoveChannels

func (o *BlockedList) RemoveChannels(exec boil.Executor, related ...*Channel) error

RemoveChannels relationships from objects passed in. Removes related items from R.Channels (uses pointer comparison, removal does not keep order) Sets related.R.BlockedList.

func (*BlockedList) SetBlockedEntries

func (o *BlockedList) SetBlockedEntries(exec boil.Executor, insert bool, related ...*BlockedEntry) error

SetBlockedEntries removes all previously related items of the blocked_list replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.BlockedList's BlockedEntries accordingly. Replaces o.R.BlockedEntries with related. Sets related.R.BlockedList's BlockedEntries accordingly.

func (*BlockedList) SetBlockedListAppeals

func (o *BlockedList) SetBlockedListAppeals(exec boil.Executor, insert bool, related ...*BlockedListAppeal) error

SetBlockedListAppeals removes all previously related items of the blocked_list replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.BlockedList's BlockedListAppeals accordingly. Replaces o.R.BlockedListAppeals with related. Sets related.R.BlockedList's BlockedListAppeals accordingly.

func (*BlockedList) SetBlockedListInviteChannels

func (o *BlockedList) SetBlockedListInviteChannels(exec boil.Executor, insert bool, related ...*Channel) error

SetBlockedListInviteChannels removes all previously related items of the blocked_list replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.BlockedListInvite's BlockedListInviteChannels accordingly. Replaces o.R.BlockedListInviteChannels with related. Sets related.R.BlockedListInvite's BlockedListInviteChannels accordingly.

func (*BlockedList) SetChannel

func (o *BlockedList) SetChannel(exec boil.Executor, insert bool, related *Channel) error

SetChannel of the blockedList to the related item. Sets o.R.Channel to related. Adds o to related.R.BlockedLists.

func (*BlockedList) SetChannels

func (o *BlockedList) SetChannels(exec boil.Executor, insert bool, related ...*Channel) error

SetChannels removes all previously related items of the blocked_list replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.BlockedList's Channels accordingly. Replaces o.R.Channels with related. Sets related.R.BlockedList's Channels accordingly.

func (*BlockedList) Update

func (o *BlockedList) Update(exec boil.Executor, columns boil.Columns) error

Update uses an executor to update the BlockedList. 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 (*BlockedList) Upsert

func (o *BlockedList) Upsert(exec boil.Executor, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

type BlockedListAppeal

type BlockedListAppeal struct {
	ID             uint64      `boil:"id" json:"id" toml:"id" yaml:"id"`
	BlockedListID  null.Uint64 `boil:"blocked_list_id" json:"blocked_list_id,omitempty" toml:"blocked_list_id" yaml:"blocked_list_id,omitempty"`
	BlockedEntryID uint64      `boil:"blocked_entry_id" json:"blocked_entry_id" toml:"blocked_entry_id" yaml:"blocked_entry_id"`
	Appeal         string      `boil:"appeal" json:"appeal" toml:"appeal" yaml:"appeal"`
	Response       string      `boil:"response" json:"response" toml:"response" yaml:"response"`
	Approved       null.Bool   `boil:"approved" json:"approved,omitempty" toml:"approved" yaml:"approved,omitempty"`
	Escalated      null.Bool   `boil:"escalated" json:"escalated,omitempty" toml:"escalated" yaml:"escalated,omitempty"`
	TXID           null.String `boil:"tx_id" json:"tx_id,omitempty" toml:"tx_id" yaml:"tx_id,omitempty"`
	CreatedAt      time.Time   `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	UpdatedAt      time.Time   `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`

	R *blockedListAppealR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L blockedListAppealL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

BlockedListAppeal is an object representing the database table.

func FindBlockedListAppeal

func FindBlockedListAppeal(exec boil.Executor, iD uint64, selectCols ...string) (*BlockedListAppeal, error)

FindBlockedListAppeal retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*BlockedListAppeal) BlockedEntry

func (o *BlockedListAppeal) BlockedEntry(mods ...qm.QueryMod) blockedEntryQuery

BlockedEntry pointed to by the foreign key.

func (*BlockedListAppeal) BlockedList

func (o *BlockedListAppeal) BlockedList(mods ...qm.QueryMod) blockedListQuery

BlockedList pointed to by the foreign key.

func (*BlockedListAppeal) Delete

func (o *BlockedListAppeal) Delete(exec boil.Executor) error

Delete deletes a single BlockedListAppeal record with an executor. Delete will match against the primary key column to find the record to delete.

func (*BlockedListAppeal) Exists

func (o *BlockedListAppeal) Exists(exec boil.Executor) (bool, error)

Exists checks if the BlockedListAppeal row exists.

func (*BlockedListAppeal) Insert

func (o *BlockedListAppeal) Insert(exec boil.Executor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*BlockedListAppeal) Reload

func (o *BlockedListAppeal) Reload(exec boil.Executor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*BlockedListAppeal) RemoveBlockedList

func (o *BlockedListAppeal) RemoveBlockedList(exec boil.Executor, related *BlockedList) error

RemoveBlockedList relationship. Sets o.R.BlockedList to nil. Removes o from all passed in related items' relationships struct.

func (*BlockedListAppeal) SetBlockedEntry

func (o *BlockedListAppeal) SetBlockedEntry(exec boil.Executor, insert bool, related *BlockedEntry) error

SetBlockedEntry of the blockedListAppeal to the related item. Sets o.R.BlockedEntry to related. Adds o to related.R.BlockedListAppeals.

func (*BlockedListAppeal) SetBlockedList

func (o *BlockedListAppeal) SetBlockedList(exec boil.Executor, insert bool, related *BlockedList) error

SetBlockedList of the blockedListAppeal to the related item. Sets o.R.BlockedList to related. Adds o to related.R.BlockedListAppeals.

func (*BlockedListAppeal) Update

func (o *BlockedListAppeal) Update(exec boil.Executor, columns boil.Columns) error

Update uses an executor to update the BlockedListAppeal. 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 (*BlockedListAppeal) Upsert

func (o *BlockedListAppeal) Upsert(exec boil.Executor, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

type BlockedListAppealSlice

type BlockedListAppealSlice []*BlockedListAppeal

BlockedListAppealSlice is an alias for a slice of pointers to BlockedListAppeal. This should almost always be used instead of []BlockedListAppeal.

func (BlockedListAppealSlice) DeleteAll

func (o BlockedListAppealSlice) DeleteAll(exec boil.Executor) error

DeleteAll deletes all rows in the slice, using an executor.

func (*BlockedListAppealSlice) ReloadAll

func (o *BlockedListAppealSlice) ReloadAll(exec boil.Executor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (BlockedListAppealSlice) UpdateAll

func (o BlockedListAppealSlice) UpdateAll(exec boil.Executor, cols M) error

UpdateAll updates all rows with the specified column values, using an executor.

type BlockedListInvite

type BlockedListInvite struct {
	ID               uint64    `boil:"id" json:"id" toml:"id" yaml:"id"`
	BlockedListID    uint64    `boil:"blocked_list_id" json:"blocked_list_id" toml:"blocked_list_id" yaml:"blocked_list_id"`
	InviterChannelID string    `boil:"inviter_channel_id" json:"inviter_channel_id" toml:"inviter_channel_id" yaml:"inviter_channel_id"`
	InvitedChannelID string    `boil:"invited_channel_id" json:"invited_channel_id" toml:"invited_channel_id" yaml:"invited_channel_id"`
	Accepted         null.Bool `boil:"accepted" json:"accepted,omitempty" toml:"accepted" yaml:"accepted,omitempty"`
	Message          string    `boil:"message" json:"message" toml:"message" yaml:"message"`
	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 *blockedListInviteR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L blockedListInviteL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

BlockedListInvite is an object representing the database table.

func FindBlockedListInvite

func FindBlockedListInvite(exec boil.Executor, iD uint64, selectCols ...string) (*BlockedListInvite, error)

FindBlockedListInvite retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*BlockedListInvite) BlockedList

func (o *BlockedListInvite) BlockedList(mods ...qm.QueryMod) blockedListQuery

BlockedList pointed to by the foreign key.

func (*BlockedListInvite) Delete

func (o *BlockedListInvite) Delete(exec boil.Executor) error

Delete deletes a single BlockedListInvite record with an executor. Delete will match against the primary key column to find the record to delete.

func (*BlockedListInvite) Exists

func (o *BlockedListInvite) Exists(exec boil.Executor) (bool, error)

Exists checks if the BlockedListInvite row exists.

func (*BlockedListInvite) Insert

func (o *BlockedListInvite) Insert(exec boil.Executor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*BlockedListInvite) InvitedChannel

func (o *BlockedListInvite) InvitedChannel(mods ...qm.QueryMod) channelQuery

InvitedChannel pointed to by the foreign key.

func (*BlockedListInvite) InviterChannel

func (o *BlockedListInvite) InviterChannel(mods ...qm.QueryMod) channelQuery

InviterChannel pointed to by the foreign key.

func (*BlockedListInvite) Reload

func (o *BlockedListInvite) Reload(exec boil.Executor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*BlockedListInvite) SetBlockedList

func (o *BlockedListInvite) SetBlockedList(exec boil.Executor, insert bool, related *BlockedList) error

SetBlockedList of the blockedListInvite to the related item. Sets o.R.BlockedList to related. Adds o to related.R.BlockedListInvites.

func (*BlockedListInvite) SetInvitedChannel

func (o *BlockedListInvite) SetInvitedChannel(exec boil.Executor, insert bool, related *Channel) error

SetInvitedChannel of the blockedListInvite to the related item. Sets o.R.InvitedChannel to related. Adds o to related.R.InvitedChannelBlockedListInvites.

func (*BlockedListInvite) SetInviterChannel

func (o *BlockedListInvite) SetInviterChannel(exec boil.Executor, insert bool, related *Channel) error

SetInviterChannel of the blockedListInvite to the related item. Sets o.R.InviterChannel to related. Adds o to related.R.InviterChannelBlockedListInvites.

func (*BlockedListInvite) Update

func (o *BlockedListInvite) Update(exec boil.Executor, columns boil.Columns) error

Update uses an executor to update the BlockedListInvite. 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 (*BlockedListInvite) Upsert

func (o *BlockedListInvite) Upsert(exec boil.Executor, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

type BlockedListInviteSlice

type BlockedListInviteSlice []*BlockedListInvite

BlockedListInviteSlice is an alias for a slice of pointers to BlockedListInvite. This should almost always be used instead of []BlockedListInvite.

func (BlockedListInviteSlice) DeleteAll

func (o BlockedListInviteSlice) DeleteAll(exec boil.Executor) error

DeleteAll deletes all rows in the slice, using an executor.

func (*BlockedListInviteSlice) ReloadAll

func (o *BlockedListInviteSlice) ReloadAll(exec boil.Executor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (BlockedListInviteSlice) UpdateAll

func (o BlockedListInviteSlice) UpdateAll(exec boil.Executor, cols M) error

UpdateAll updates all rows with the specified column values, using an executor.

type BlockedListSlice

type BlockedListSlice []*BlockedList

BlockedListSlice is an alias for a slice of pointers to BlockedList. This should almost always be used instead of []BlockedList.

func (BlockedListSlice) DeleteAll

func (o BlockedListSlice) DeleteAll(exec boil.Executor) error

DeleteAll deletes all rows in the slice, using an executor.

func (*BlockedListSlice) ReloadAll

func (o *BlockedListSlice) ReloadAll(exec boil.Executor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (BlockedListSlice) UpdateAll

func (o BlockedListSlice) UpdateAll(exec boil.Executor, cols M) error

UpdateAll updates all rows with the specified column values, using an executor.

type Channel

type Channel struct {
	ClaimID             string      `boil:"claim_id" json:"claim_id" toml:"claim_id" yaml:"claim_id"`
	Name                string      `boil:"name" json:"name" toml:"name" yaml:"name"`
	IsSpammer           null.Bool   `boil:"is_spammer" json:"is_spammer,omitempty" toml:"is_spammer" yaml:"is_spammer,omitempty"`
	BlockedListInviteID null.Uint64 `` /* 139-byte string literal not displayed */
	BlockedListID       null.Uint64 `boil:"blocked_list_id" json:"blocked_list_id,omitempty" toml:"blocked_list_id" yaml:"blocked_list_id,omitempty"`
	Sub                 null.String `boil:"sub" json:"sub,omitempty" toml:"sub" yaml:"sub,omitempty"`
	CreatedAt           time.Time   `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	UpdatedAt           time.Time   `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`

	R *channelR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L channelL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Channel is an object representing the database table.

func FindChannel

func FindChannel(exec boil.Executor, claimID string, selectCols ...string) (*Channel, error)

FindChannel retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*Channel) AddBlockedChannelBlockedEntries

func (o *Channel) AddBlockedChannelBlockedEntries(exec boil.Executor, insert bool, related ...*BlockedEntry) error

AddBlockedChannelBlockedEntries adds the given related objects to the existing relationships of the channel, optionally inserting them as new records. Appends related to o.R.BlockedChannelBlockedEntries. Sets related.R.BlockedChannel appropriately.

func (*Channel) AddBlockedLists

func (o *Channel) AddBlockedLists(exec boil.Executor, insert bool, related ...*BlockedList) error

AddBlockedLists adds the given related objects to the existing relationships of the channel, optionally inserting them as new records. Appends related to o.R.BlockedLists. Sets related.R.Channel appropriately.

func (*Channel) AddComments

func (o *Channel) AddComments(exec boil.Executor, insert bool, related ...*Comment) error

AddComments adds the given related objects to the existing relationships of the channel, optionally inserting them as new records. Appends related to o.R.Comments. Sets related.R.Channel appropriately.

func (*Channel) AddCreatorChannelBlockedEntries

func (o *Channel) AddCreatorChannelBlockedEntries(exec boil.Executor, insert bool, related ...*BlockedEntry) error

AddCreatorChannelBlockedEntries adds the given related objects to the existing relationships of the channel, optionally inserting them as new records. Appends related to o.R.CreatorChannelBlockedEntries. Sets related.R.CreatorChannel appropriately.

func (*Channel) AddCreatorChannelCreatorSettings

func (o *Channel) AddCreatorChannelCreatorSettings(exec boil.Executor, insert bool, related ...*CreatorSetting) error

AddCreatorChannelCreatorSettings adds the given related objects to the existing relationships of the channel, optionally inserting them as new records. Appends related to o.R.CreatorChannelCreatorSettings. Sets related.R.CreatorChannel appropriately.

func (*Channel) AddCreatorChannelDelegatedModerators

func (o *Channel) AddCreatorChannelDelegatedModerators(exec boil.Executor, insert bool, related ...*DelegatedModerator) error

AddCreatorChannelDelegatedModerators adds the given related objects to the existing relationships of the channel, optionally inserting them as new records. Appends related to o.R.CreatorChannelDelegatedModerators. Sets related.R.CreatorChannel appropriately.

func (*Channel) AddDelegatedModeratorChannelBlockedEntries

func (o *Channel) AddDelegatedModeratorChannelBlockedEntries(exec boil.Executor, insert bool, related ...*BlockedEntry) error

AddDelegatedModeratorChannelBlockedEntries adds the given related objects to the existing relationships of the channel, optionally inserting them as new records. Appends related to o.R.DelegatedModeratorChannelBlockedEntries. Sets related.R.DelegatedModeratorChannel appropriately.

func (*Channel) AddInvitedChannelBlockedListInvites

func (o *Channel) AddInvitedChannelBlockedListInvites(exec boil.Executor, insert bool, related ...*BlockedListInvite) error

AddInvitedChannelBlockedListInvites adds the given related objects to the existing relationships of the channel, optionally inserting them as new records. Appends related to o.R.InvitedChannelBlockedListInvites. Sets related.R.InvitedChannel appropriately.

func (*Channel) AddInviterChannelBlockedListInvites

func (o *Channel) AddInviterChannelBlockedListInvites(exec boil.Executor, insert bool, related ...*BlockedListInvite) error

AddInviterChannelBlockedListInvites adds the given related objects to the existing relationships of the channel, optionally inserting them as new records. Appends related to o.R.InviterChannelBlockedListInvites. Sets related.R.InviterChannel appropriately.

func (*Channel) AddModChannelDelegatedModerators

func (o *Channel) AddModChannelDelegatedModerators(exec boil.Executor, insert bool, related ...*DelegatedModerator) error

AddModChannelDelegatedModerators adds the given related objects to the existing relationships of the channel, optionally inserting them as new records. Appends related to o.R.ModChannelDelegatedModerators. Sets related.R.ModChannel appropriately.

func (*Channel) AddModChannelModerators

func (o *Channel) AddModChannelModerators(exec boil.Executor, insert bool, related ...*Moderator) error

AddModChannelModerators adds the given related objects to the existing relationships of the channel, optionally inserting them as new records. Appends related to o.R.ModChannelModerators. Sets related.R.ModChannel appropriately.

func (*Channel) AddReactions

func (o *Channel) AddReactions(exec boil.Executor, insert bool, related ...*Reaction) error

AddReactions adds the given related objects to the existing relationships of the channel, optionally inserting them as new records. Appends related to o.R.Reactions. Sets related.R.Channel appropriately.

func (*Channel) BlockedChannelBlockedEntries

func (o *Channel) BlockedChannelBlockedEntries(mods ...qm.QueryMod) blockedEntryQuery

BlockedChannelBlockedEntries retrieves all the blocked_entry's BlockedEntries with an executor via blocked_channel_id column.

func (*Channel) BlockedList

func (o *Channel) BlockedList(mods ...qm.QueryMod) blockedListQuery

BlockedList pointed to by the foreign key.

func (*Channel) BlockedListInvite

func (o *Channel) BlockedListInvite(mods ...qm.QueryMod) blockedListQuery

BlockedListInvite pointed to by the foreign key.

func (*Channel) BlockedLists

func (o *Channel) BlockedLists(mods ...qm.QueryMod) blockedListQuery

BlockedLists retrieves all the blocked_list's BlockedLists with an executor.

func (*Channel) Comments

func (o *Channel) Comments(mods ...qm.QueryMod) commentQuery

Comments retrieves all the comment's Comments with an executor.

func (*Channel) CreatorChannelBlockedEntries

func (o *Channel) CreatorChannelBlockedEntries(mods ...qm.QueryMod) blockedEntryQuery

CreatorChannelBlockedEntries retrieves all the blocked_entry's BlockedEntries with an executor via creator_channel_id column.

func (*Channel) CreatorChannelCreatorSettings

func (o *Channel) CreatorChannelCreatorSettings(mods ...qm.QueryMod) creatorSettingQuery

CreatorChannelCreatorSettings retrieves all the creator_setting's CreatorSettings with an executor via creator_channel_id column.

func (*Channel) CreatorChannelDelegatedModerators

func (o *Channel) CreatorChannelDelegatedModerators(mods ...qm.QueryMod) delegatedModeratorQuery

CreatorChannelDelegatedModerators retrieves all the delegated_moderator's DelegatedModerators with an executor via creator_channel_id column.

func (*Channel) DelegatedModeratorChannelBlockedEntries

func (o *Channel) DelegatedModeratorChannelBlockedEntries(mods ...qm.QueryMod) blockedEntryQuery

DelegatedModeratorChannelBlockedEntries retrieves all the blocked_entry's BlockedEntries with an executor via delegated_moderator_channel_id column.

func (*Channel) Delete

func (o *Channel) Delete(exec boil.Executor) error

Delete deletes a single Channel record with an executor. Delete will match against the primary key column to find the record to delete.

func (*Channel) Exists

func (o *Channel) Exists(exec boil.Executor) (bool, error)

Exists checks if the Channel row exists.

func (*Channel) Insert

func (o *Channel) Insert(exec boil.Executor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*Channel) InvitedChannelBlockedListInvites

func (o *Channel) InvitedChannelBlockedListInvites(mods ...qm.QueryMod) blockedListInviteQuery

InvitedChannelBlockedListInvites retrieves all the blocked_list_invite's BlockedListInvites with an executor via invited_channel_id column.

func (*Channel) InviterChannelBlockedListInvites

func (o *Channel) InviterChannelBlockedListInvites(mods ...qm.QueryMod) blockedListInviteQuery

InviterChannelBlockedListInvites retrieves all the blocked_list_invite's BlockedListInvites with an executor via inviter_channel_id column.

func (*Channel) ModChannelDelegatedModerators

func (o *Channel) ModChannelDelegatedModerators(mods ...qm.QueryMod) delegatedModeratorQuery

ModChannelDelegatedModerators retrieves all the delegated_moderator's DelegatedModerators with an executor via mod_channel_id column.

func (*Channel) ModChannelModerators

func (o *Channel) ModChannelModerators(mods ...qm.QueryMod) moderatorQuery

ModChannelModerators retrieves all the moderator's Moderators with an executor via mod_channel_id column.

func (*Channel) Reactions

func (o *Channel) Reactions(mods ...qm.QueryMod) reactionQuery

Reactions retrieves all the reaction's Reactions with an executor.

func (*Channel) Reload

func (o *Channel) Reload(exec boil.Executor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*Channel) RemoveBlockedChannelBlockedEntries

func (o *Channel) RemoveBlockedChannelBlockedEntries(exec boil.Executor, related ...*BlockedEntry) error

RemoveBlockedChannelBlockedEntries relationships from objects passed in. Removes related items from R.BlockedChannelBlockedEntries (uses pointer comparison, removal does not keep order) Sets related.R.BlockedChannel.

func (*Channel) RemoveBlockedList

func (o *Channel) RemoveBlockedList(exec boil.Executor, related *BlockedList) error

RemoveBlockedList relationship. Sets o.R.BlockedList to nil. Removes o from all passed in related items' relationships struct.

func (*Channel) RemoveBlockedListInvite

func (o *Channel) RemoveBlockedListInvite(exec boil.Executor, related *BlockedList) error

RemoveBlockedListInvite relationship. Sets o.R.BlockedListInvite to nil. Removes o from all passed in related items' relationships struct.

func (*Channel) RemoveComments

func (o *Channel) RemoveComments(exec boil.Executor, related ...*Comment) error

RemoveComments relationships from objects passed in. Removes related items from R.Comments (uses pointer comparison, removal does not keep order) Sets related.R.Channel.

func (*Channel) RemoveCreatorChannelBlockedEntries

func (o *Channel) RemoveCreatorChannelBlockedEntries(exec boil.Executor, related ...*BlockedEntry) error

RemoveCreatorChannelBlockedEntries relationships from objects passed in. Removes related items from R.CreatorChannelBlockedEntries (uses pointer comparison, removal does not keep order) Sets related.R.CreatorChannel.

func (*Channel) RemoveDelegatedModeratorChannelBlockedEntries

func (o *Channel) RemoveDelegatedModeratorChannelBlockedEntries(exec boil.Executor, related ...*BlockedEntry) error

RemoveDelegatedModeratorChannelBlockedEntries relationships from objects passed in. Removes related items from R.DelegatedModeratorChannelBlockedEntries (uses pointer comparison, removal does not keep order) Sets related.R.DelegatedModeratorChannel.

func (*Channel) RemoveModChannelModerators

func (o *Channel) RemoveModChannelModerators(exec boil.Executor, related ...*Moderator) error

RemoveModChannelModerators relationships from objects passed in. Removes related items from R.ModChannelModerators (uses pointer comparison, removal does not keep order) Sets related.R.ModChannel.

func (*Channel) RemoveReactions

func (o *Channel) RemoveReactions(exec boil.Executor, related ...*Reaction) error

RemoveReactions relationships from objects passed in. Removes related items from R.Reactions (uses pointer comparison, removal does not keep order) Sets related.R.Channel.

func (*Channel) SetBlockedChannelBlockedEntries

func (o *Channel) SetBlockedChannelBlockedEntries(exec boil.Executor, insert bool, related ...*BlockedEntry) error

SetBlockedChannelBlockedEntries removes all previously related items of the channel replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.BlockedChannel's BlockedChannelBlockedEntries accordingly. Replaces o.R.BlockedChannelBlockedEntries with related. Sets related.R.BlockedChannel's BlockedChannelBlockedEntries accordingly.

func (*Channel) SetBlockedList

func (o *Channel) SetBlockedList(exec boil.Executor, insert bool, related *BlockedList) error

SetBlockedList of the channel to the related item. Sets o.R.BlockedList to related. Adds o to related.R.Channels.

func (*Channel) SetBlockedListInvite

func (o *Channel) SetBlockedListInvite(exec boil.Executor, insert bool, related *BlockedList) error

SetBlockedListInvite of the channel to the related item. Sets o.R.BlockedListInvite to related. Adds o to related.R.BlockedListInviteChannels.

func (*Channel) SetComments

func (o *Channel) SetComments(exec boil.Executor, insert bool, related ...*Comment) error

SetComments removes all previously related items of the channel replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Channel's Comments accordingly. Replaces o.R.Comments with related. Sets related.R.Channel's Comments accordingly.

func (*Channel) SetCreatorChannelBlockedEntries

func (o *Channel) SetCreatorChannelBlockedEntries(exec boil.Executor, insert bool, related ...*BlockedEntry) error

SetCreatorChannelBlockedEntries removes all previously related items of the channel replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.CreatorChannel's CreatorChannelBlockedEntries accordingly. Replaces o.R.CreatorChannelBlockedEntries with related. Sets related.R.CreatorChannel's CreatorChannelBlockedEntries accordingly.

func (*Channel) SetDelegatedModeratorChannelBlockedEntries

func (o *Channel) SetDelegatedModeratorChannelBlockedEntries(exec boil.Executor, insert bool, related ...*BlockedEntry) error

SetDelegatedModeratorChannelBlockedEntries removes all previously related items of the channel replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.DelegatedModeratorChannel's DelegatedModeratorChannelBlockedEntries accordingly. Replaces o.R.DelegatedModeratorChannelBlockedEntries with related. Sets related.R.DelegatedModeratorChannel's DelegatedModeratorChannelBlockedEntries accordingly.

func (*Channel) SetModChannelModerators

func (o *Channel) SetModChannelModerators(exec boil.Executor, insert bool, related ...*Moderator) error

SetModChannelModerators removes all previously related items of the channel replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.ModChannel's ModChannelModerators accordingly. Replaces o.R.ModChannelModerators with related. Sets related.R.ModChannel's ModChannelModerators accordingly.

func (*Channel) SetReactions

func (o *Channel) SetReactions(exec boil.Executor, insert bool, related ...*Reaction) error

SetReactions removes all previously related items of the channel replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Channel's Reactions accordingly. Replaces o.R.Reactions with related. Sets related.R.Channel's Reactions accordingly.

func (*Channel) Update

func (o *Channel) Update(exec boil.Executor, columns boil.Columns) error

Update uses an executor to update the Channel. 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 (*Channel) Upsert

func (o *Channel) Upsert(exec boil.Executor, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

type ChannelAlgoCallback

type ChannelAlgoCallback struct {
	ChannelID string    `boil:"channel_id" json:"channel_id" toml:"channel_id" yaml:"channel_id"`
	WatcherID uint      `boil:"watcher_id" json:"watcher_id" toml:"watcher_id" yaml:"watcher_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 *channelAlgoCallbackR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L channelAlgoCallbackL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

ChannelAlgoCallback is an object representing the database table.

func FindChannelAlgoCallback

func FindChannelAlgoCallback(exec boil.Executor, channelID string, watcherID uint, selectCols ...string) (*ChannelAlgoCallback, error)

FindChannelAlgoCallback retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*ChannelAlgoCallback) Delete

func (o *ChannelAlgoCallback) Delete(exec boil.Executor) error

Delete deletes a single ChannelAlgoCallback record with an executor. Delete will match against the primary key column to find the record to delete.

func (*ChannelAlgoCallback) Exists

func (o *ChannelAlgoCallback) Exists(exec boil.Executor) (bool, error)

Exists checks if the ChannelAlgoCallback row exists.

func (*ChannelAlgoCallback) Insert

func (o *ChannelAlgoCallback) Insert(exec boil.Executor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*ChannelAlgoCallback) Reload

func (o *ChannelAlgoCallback) Reload(exec boil.Executor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*ChannelAlgoCallback) Update

func (o *ChannelAlgoCallback) Update(exec boil.Executor, columns boil.Columns) error

Update uses an executor to update the ChannelAlgoCallback. 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 (*ChannelAlgoCallback) Upsert

func (o *ChannelAlgoCallback) Upsert(exec boil.Executor, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

type ChannelAlgoCallbackSlice

type ChannelAlgoCallbackSlice []*ChannelAlgoCallback

ChannelAlgoCallbackSlice is an alias for a slice of pointers to ChannelAlgoCallback. This should almost always be used instead of []ChannelAlgoCallback.

func (ChannelAlgoCallbackSlice) DeleteAll

func (o ChannelAlgoCallbackSlice) DeleteAll(exec boil.Executor) error

DeleteAll deletes all rows in the slice, using an executor.

func (*ChannelAlgoCallbackSlice) ReloadAll

func (o *ChannelAlgoCallbackSlice) ReloadAll(exec boil.Executor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (ChannelAlgoCallbackSlice) UpdateAll

func (o ChannelAlgoCallbackSlice) UpdateAll(exec boil.Executor, cols M) error

UpdateAll updates all rows with the specified column values, using an executor.

type ChannelSlice

type ChannelSlice []*Channel

ChannelSlice is an alias for a slice of pointers to Channel. This should almost always be used instead of []Channel.

func (ChannelSlice) DeleteAll

func (o ChannelSlice) DeleteAll(exec boil.Executor) error

DeleteAll deletes all rows in the slice, using an executor.

func (*ChannelSlice) ReloadAll

func (o *ChannelSlice) ReloadAll(exec boil.Executor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (ChannelSlice) UpdateAll

func (o ChannelSlice) UpdateAll(exec boil.Executor, cols M) error

UpdateAll updates all rows with the specified column values, using an executor.

type ClaimToChannel

type ClaimToChannel struct {
	ClaimID   string    `boil:"claim_id" json:"claim_id" toml:"claim_id" yaml:"claim_id"`
	ChannelID string    `boil:"channel_id" json:"channel_id" toml:"channel_id" yaml:"channel_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 *claimToChannelR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L claimToChannelL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

ClaimToChannel is an object representing the database table.

func FindClaimToChannel

func FindClaimToChannel(exec boil.Executor, claimID string, selectCols ...string) (*ClaimToChannel, error)

FindClaimToChannel retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*ClaimToChannel) Delete

func (o *ClaimToChannel) Delete(exec boil.Executor) error

Delete deletes a single ClaimToChannel record with an executor. Delete will match against the primary key column to find the record to delete.

func (*ClaimToChannel) Exists

func (o *ClaimToChannel) Exists(exec boil.Executor) (bool, error)

Exists checks if the ClaimToChannel row exists.

func (*ClaimToChannel) Insert

func (o *ClaimToChannel) Insert(exec boil.Executor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*ClaimToChannel) Reload

func (o *ClaimToChannel) Reload(exec boil.Executor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*ClaimToChannel) Update

func (o *ClaimToChannel) Update(exec boil.Executor, columns boil.Columns) error

Update uses an executor to update the ClaimToChannel. 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 (*ClaimToChannel) Upsert

func (o *ClaimToChannel) Upsert(exec boil.Executor, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

type ClaimToChannelSlice

type ClaimToChannelSlice []*ClaimToChannel

ClaimToChannelSlice is an alias for a slice of pointers to ClaimToChannel. This should almost always be used instead of []ClaimToChannel.

func (ClaimToChannelSlice) DeleteAll

func (o ClaimToChannelSlice) DeleteAll(exec boil.Executor) error

DeleteAll deletes all rows in the slice, using an executor.

func (*ClaimToChannelSlice) ReloadAll

func (o *ClaimToChannelSlice) ReloadAll(exec boil.Executor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (ClaimToChannelSlice) UpdateAll

func (o ClaimToChannelSlice) UpdateAll(exec boil.Executor, cols M) error

UpdateAll updates all rows with the specified column values, using an executor.

type Comment

type Comment struct {
	CommentID        string      `boil:"comment_id" json:"comment_id" toml:"comment_id" yaml:"comment_id"`
	LbryClaimID      string      `boil:"lbry_claim_id" json:"lbry_claim_id" toml:"lbry_claim_id" yaml:"lbry_claim_id"`
	ChannelID        null.String `boil:"channel_id" json:"channel_id,omitempty" toml:"channel_id" yaml:"channel_id,omitempty"`
	Body             string      `boil:"body" json:"body" toml:"body" yaml:"body"`
	ParentID         null.String `boil:"parent_id" json:"parent_id,omitempty" toml:"parent_id" yaml:"parent_id,omitempty"`
	Signature        null.String `boil:"signature" json:"signature,omitempty" toml:"signature" yaml:"signature,omitempty"`
	Signingts        null.String `boil:"signingts" json:"signingts,omitempty" toml:"signingts" yaml:"signingts,omitempty"`
	Timestamp        int         `boil:"timestamp" json:"timestamp" toml:"timestamp" yaml:"timestamp"`
	IsHidden         null.Bool   `boil:"is_hidden" json:"is_hidden,omitempty" toml:"is_hidden" yaml:"is_hidden,omitempty"`
	IsPinned         bool        `boil:"is_pinned" json:"is_pinned" toml:"is_pinned" yaml:"is_pinned"`
	IsFlagged        bool        `boil:"is_flagged" json:"is_flagged" toml:"is_flagged" yaml:"is_flagged"`
	Amount           null.Uint64 `boil:"amount" json:"amount,omitempty" toml:"amount" yaml:"amount,omitempty"`
	TXID             null.String `boil:"tx_id" json:"tx_id,omitempty" toml:"tx_id" yaml:"tx_id,omitempty"`
	PopularityScore  null.Int    `boil:"popularity_score" json:"popularity_score,omitempty" toml:"popularity_score" yaml:"popularity_score,omitempty"`
	ControversyScore null.Int    `boil:"controversy_score" json:"controversy_score,omitempty" toml:"controversy_score" yaml:"controversy_score,omitempty"`
	IsFiat           bool        `boil:"is_fiat" json:"is_fiat" toml:"is_fiat" yaml:"is_fiat"`
	Currency         null.String `boil:"currency" json:"currency,omitempty" toml:"currency" yaml:"currency,omitempty"`
	IsProtected      bool        `boil:"is_protected" json:"is_protected" toml:"is_protected" yaml:"is_protected"`
	DeletedAt        null.Time   `boil:"deleted_at" json:"deleted_at,omitempty" toml:"deleted_at" yaml:"deleted_at,omitempty"`

	R *commentR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L commentL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Comment is an object representing the database table.

func FindComment

func FindComment(exec boil.Executor, commentID string, selectCols ...string) (*Comment, error)

FindComment retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*Comment) AddOffendingCommentBlockedEntries

func (o *Comment) AddOffendingCommentBlockedEntries(exec boil.Executor, insert bool, related ...*BlockedEntry) error

AddOffendingCommentBlockedEntries adds the given related objects to the existing relationships of the comment, optionally inserting them as new records. Appends related to o.R.OffendingCommentBlockedEntries. Sets related.R.OffendingComment appropriately.

func (*Comment) AddParentComments

func (o *Comment) AddParentComments(exec boil.Executor, insert bool, related ...*Comment) error

AddParentComments adds the given related objects to the existing relationships of the comment, optionally inserting them as new records. Appends related to o.R.ParentComments. Sets related.R.Parent appropriately.

func (*Comment) AddReactions

func (o *Comment) AddReactions(exec boil.Executor, insert bool, related ...*Reaction) error

AddReactions adds the given related objects to the existing relationships of the comment, optionally inserting them as new records. Appends related to o.R.Reactions. Sets related.R.Comment appropriately.

func (*Comment) Channel

func (o *Comment) Channel(mods ...qm.QueryMod) channelQuery

Channel pointed to by the foreign key.

func (*Comment) CommentClassification

func (o *Comment) CommentClassification(mods ...qm.QueryMod) commentClassificationQuery

CommentClassification pointed to by the foreign key.

func (*Comment) Delete

func (o *Comment) Delete(exec boil.Executor, hardDelete bool) error

Delete deletes a single Comment record with an executor. Delete will match against the primary key column to find the record to delete.

func (*Comment) Exists

func (o *Comment) Exists(exec boil.Executor) (bool, error)

Exists checks if the Comment row exists.

func (*Comment) Insert

func (o *Comment) Insert(exec boil.Executor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*Comment) OffendingCommentBlockedEntries

func (o *Comment) OffendingCommentBlockedEntries(mods ...qm.QueryMod) blockedEntryQuery

OffendingCommentBlockedEntries retrieves all the blocked_entry's BlockedEntries with an executor via offending_comment_id column.

func (*Comment) Parent

func (o *Comment) Parent(mods ...qm.QueryMod) commentQuery

Parent pointed to by the foreign key.

func (*Comment) ParentComments

func (o *Comment) ParentComments(mods ...qm.QueryMod) commentQuery

ParentComments retrieves all the comment's Comments with an executor via parent_id column.

func (*Comment) Reactions

func (o *Comment) Reactions(mods ...qm.QueryMod) reactionQuery

Reactions retrieves all the reaction's Reactions with an executor.

func (*Comment) Reload

func (o *Comment) Reload(exec boil.Executor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*Comment) RemoveChannel

func (o *Comment) RemoveChannel(exec boil.Executor, related *Channel) error

RemoveChannel relationship. Sets o.R.Channel to nil. Removes o from all passed in related items' relationships struct.

func (*Comment) RemoveOffendingCommentBlockedEntries

func (o *Comment) RemoveOffendingCommentBlockedEntries(exec boil.Executor, related ...*BlockedEntry) error

RemoveOffendingCommentBlockedEntries relationships from objects passed in. Removes related items from R.OffendingCommentBlockedEntries (uses pointer comparison, removal does not keep order) Sets related.R.OffendingComment.

func (*Comment) RemoveParent

func (o *Comment) RemoveParent(exec boil.Executor, related *Comment) error

RemoveParent relationship. Sets o.R.Parent to nil. Removes o from all passed in related items' relationships struct.

func (*Comment) RemoveParentComments

func (o *Comment) RemoveParentComments(exec boil.Executor, related ...*Comment) error

RemoveParentComments relationships from objects passed in. Removes related items from R.ParentComments (uses pointer comparison, removal does not keep order) Sets related.R.Parent.

func (*Comment) SetChannel

func (o *Comment) SetChannel(exec boil.Executor, insert bool, related *Channel) error

SetChannel of the comment to the related item. Sets o.R.Channel to related. Adds o to related.R.Comments.

func (*Comment) SetCommentClassification

func (o *Comment) SetCommentClassification(exec boil.Executor, insert bool, related *CommentClassification) error

SetCommentClassification of the comment to the related item. Sets o.R.CommentClassification to related. Adds o to related.R.Comment.

func (*Comment) SetOffendingCommentBlockedEntries

func (o *Comment) SetOffendingCommentBlockedEntries(exec boil.Executor, insert bool, related ...*BlockedEntry) error

SetOffendingCommentBlockedEntries removes all previously related items of the comment replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.OffendingComment's OffendingCommentBlockedEntries accordingly. Replaces o.R.OffendingCommentBlockedEntries with related. Sets related.R.OffendingComment's OffendingCommentBlockedEntries accordingly.

func (*Comment) SetParent

func (o *Comment) SetParent(exec boil.Executor, insert bool, related *Comment) error

SetParent of the comment to the related item. Sets o.R.Parent to related. Adds o to related.R.ParentComments.

func (*Comment) SetParentComments

func (o *Comment) SetParentComments(exec boil.Executor, insert bool, related ...*Comment) error

SetParentComments removes all previously related items of the comment replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Parent's ParentComments accordingly. Replaces o.R.ParentComments with related. Sets related.R.Parent's ParentComments accordingly.

func (*Comment) Update

func (o *Comment) Update(exec boil.Executor, columns boil.Columns) error

Update uses an executor to update the Comment. 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 (*Comment) Upsert

func (o *Comment) Upsert(exec boil.Executor, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

type CommentClassification

type CommentClassification struct {
	CommentID        string      `boil:"comment_id" json:"comment_id" toml:"comment_id" yaml:"comment_id"`
	Toxicity         float32     `boil:"toxicity" json:"toxicity" toml:"toxicity" yaml:"toxicity"`
	SevereToxicity   float32     `boil:"severe_toxicity" json:"severe_toxicity" toml:"severe_toxicity" yaml:"severe_toxicity"`
	Obscene          float32     `boil:"obscene" json:"obscene" toml:"obscene" yaml:"obscene"`
	IdentityAttack   float32     `boil:"identity_attack" json:"identity_attack" toml:"identity_attack" yaml:"identity_attack"`
	Insult           float32     `boil:"insult" json:"insult" toml:"insult" yaml:"insult"`
	Threat           float32     `boil:"threat" json:"threat" toml:"threat" yaml:"threat"`
	SexualExplicit   float32     `boil:"sexual_explicit" json:"sexual_explicit" toml:"sexual_explicit" yaml:"sexual_explicit"`
	Nazi             float32     `boil:"nazi" json:"nazi" toml:"nazi" yaml:"nazi"`
	Doxx             float32     `boil:"doxx" json:"doxx" toml:"doxx" yaml:"doxx"`
	IsReviewed       null.Bool   `boil:"is_reviewed" json:"is_reviewed,omitempty" toml:"is_reviewed" yaml:"is_reviewed,omitempty"`
	ReviewerApproved null.Bool   `boil:"reviewer_approved" json:"reviewer_approved,omitempty" toml:"reviewer_approved" yaml:"reviewer_approved,omitempty"`
	Timestamp        int         `boil:"timestamp" json:"timestamp" toml:"timestamp" yaml:"timestamp"`
	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"`
	ModelIdent       null.String `boil:"model_ident" json:"model_ident,omitempty" toml:"model_ident" yaml:"model_ident,omitempty"`

	R *commentClassificationR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L commentClassificationL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

CommentClassification is an object representing the database table.

func FindCommentClassification

func FindCommentClassification(exec boil.Executor, commentID string, selectCols ...string) (*CommentClassification, error)

FindCommentClassification retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*CommentClassification) Comment

func (o *CommentClassification) Comment(mods ...qm.QueryMod) commentQuery

Comment pointed to by the foreign key.

func (*CommentClassification) Delete

func (o *CommentClassification) Delete(exec boil.Executor) error

Delete deletes a single CommentClassification record with an executor. Delete will match against the primary key column to find the record to delete.

func (*CommentClassification) Exists

func (o *CommentClassification) Exists(exec boil.Executor) (bool, error)

Exists checks if the CommentClassification row exists.

func (*CommentClassification) Insert

func (o *CommentClassification) Insert(exec boil.Executor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*CommentClassification) Reload

func (o *CommentClassification) Reload(exec boil.Executor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*CommentClassification) SetComment

func (o *CommentClassification) SetComment(exec boil.Executor, insert bool, related *Comment) error

SetComment of the commentClassification to the related item. Sets o.R.Comment to related. Adds o to related.R.CommentClassification.

func (*CommentClassification) Update

func (o *CommentClassification) Update(exec boil.Executor, columns boil.Columns) error

Update uses an executor to update the CommentClassification. 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 (*CommentClassification) Upsert

func (o *CommentClassification) Upsert(exec boil.Executor, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

type CommentClassificationSlice

type CommentClassificationSlice []*CommentClassification

CommentClassificationSlice is an alias for a slice of pointers to CommentClassification. This should almost always be used instead of []CommentClassification.

func (CommentClassificationSlice) DeleteAll

func (o CommentClassificationSlice) DeleteAll(exec boil.Executor) error

DeleteAll deletes all rows in the slice, using an executor.

func (*CommentClassificationSlice) ReloadAll

func (o *CommentClassificationSlice) ReloadAll(exec boil.Executor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (CommentClassificationSlice) UpdateAll

func (o CommentClassificationSlice) UpdateAll(exec boil.Executor, cols M) error

UpdateAll updates all rows with the specified column values, using an executor.

type CommentSlice

type CommentSlice []*Comment

CommentSlice is an alias for a slice of pointers to Comment. This should almost always be used instead of []Comment.

func (CommentSlice) DeleteAll

func (o CommentSlice) DeleteAll(exec boil.Executor, hardDelete bool) error

DeleteAll deletes all rows in the slice, using an executor.

func (*CommentSlice) ReloadAll

func (o *CommentSlice) ReloadAll(exec boil.Executor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (CommentSlice) UpdateAll

func (o CommentSlice) UpdateAll(exec boil.Executor, cols M) error

UpdateAll updates all rows with the specified column values, using an executor.

type CreatorSetting

type CreatorSetting struct {
	ID                         uint64      `boil:"id" json:"id" toml:"id" yaml:"id"`
	CreatorChannelID           string      `boil:"creator_channel_id" json:"creator_channel_id" toml:"creator_channel_id" yaml:"creator_channel_id"`
	CommentsEnabled            null.Bool   `boil:"comments_enabled" json:"comments_enabled,omitempty" toml:"comments_enabled" yaml:"comments_enabled,omitempty"`
	MinTipAmountComment        null.Uint64 `` /* 139-byte string literal not displayed */
	MinTipAmountSuperChat      null.Uint64 `` /* 151-byte string literal not displayed */
	MutedWords                 null.String `boil:"muted_words" json:"muted_words,omitempty" toml:"muted_words" yaml:"muted_words,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"`
	SlowModeMinGap             null.Uint64 `boil:"slow_mode_min_gap" json:"slow_mode_min_gap,omitempty" toml:"slow_mode_min_gap" yaml:"slow_mode_min_gap,omitempty"`
	CurseJarAmount             null.Uint64 `boil:"curse_jar_amount" json:"curse_jar_amount,omitempty" toml:"curse_jar_amount" yaml:"curse_jar_amount,omitempty"`
	IsFiltersEnabled           null.Bool   `boil:"is_filters_enabled" json:"is_filters_enabled,omitempty" toml:"is_filters_enabled" yaml:"is_filters_enabled,omitempty"`
	ChatOverlay                bool        `boil:"chat_overlay" json:"chat_overlay" toml:"chat_overlay" yaml:"chat_overlay"`
	ChatOverlayPosition        string      `boil:"chat_overlay_position" json:"chat_overlay_position" toml:"chat_overlay_position" yaml:"chat_overlay_position"`
	ChatRemoveComment          int64       `boil:"chat_remove_comment" json:"chat_remove_comment" toml:"chat_remove_comment" yaml:"chat_remove_comment"`
	StickerOverlay             bool        `boil:"sticker_overlay" json:"sticker_overlay" toml:"sticker_overlay" yaml:"sticker_overlay"`
	StickerOverlayKeep         bool        `boil:"sticker_overlay_keep" json:"sticker_overlay_keep" toml:"sticker_overlay_keep" yaml:"sticker_overlay_keep"`
	StickerOverlayRemove       int64       `boil:"sticker_overlay_remove" json:"sticker_overlay_remove" toml:"sticker_overlay_remove" yaml:"sticker_overlay_remove"`
	ViewercountOverlay         bool        `boil:"viewercount_overlay" json:"viewercount_overlay" toml:"viewercount_overlay" yaml:"viewercount_overlay"`
	ViewercountOverlayPosition string      `` /* 143-byte string literal not displayed */
	ViewercountChatBot         bool        `boil:"viewercount_chat_bot" json:"viewercount_chat_bot" toml:"viewercount_chat_bot" yaml:"viewercount_chat_bot"`
	TipgoalOverlay             bool        `boil:"tipgoal_overlay" json:"tipgoal_overlay" toml:"tipgoal_overlay" yaml:"tipgoal_overlay"`
	TipgoalAmount              int64       `boil:"tipgoal_amount" json:"tipgoal_amount" toml:"tipgoal_amount" yaml:"tipgoal_amount"`
	TipgoalOverlayPosition     string      `` /* 127-byte string literal not displayed */
	TipgoalPreviousDonations   bool        `` /* 135-byte string literal not displayed */
	TipgoalCurrency            string      `boil:"tipgoal_currency" json:"tipgoal_currency" toml:"tipgoal_currency" yaml:"tipgoal_currency"`
	TimeSinceFirstComment      null.Int64  `` /* 147-byte string literal not displayed */
	BlockedWordsFuzzinessMatch null.Int64  `` /* 167-byte string literal not displayed */
	PublicShowProtected        bool        `boil:"public_show_protected" json:"public_show_protected" toml:"public_show_protected" yaml:"public_show_protected"`
	PrivateShowProtected       bool        `boil:"private_show_protected" json:"private_show_protected" toml:"private_show_protected" yaml:"private_show_protected"`
	LivestreamChatMembersOnly  bool        `` /* 143-byte string literal not displayed */
	CommentsMembersOnly        bool        `boil:"comments_members_only" json:"comments_members_only" toml:"comments_members_only" yaml:"comments_members_only"`
	// array data for homepage settings
	HomepageSettings null.JSON `boil:"homepage_settings" json:"homepage_settings,omitempty" toml:"homepage_settings" yaml:"homepage_settings,omitempty"`
	// array data for featured channels
	ChannelSections null.JSON `boil:"channel_sections" json:"channel_sections,omitempty" toml:"channel_sections" yaml:"channel_sections,omitempty"`

	R *creatorSettingR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L creatorSettingL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

CreatorSetting is an object representing the database table.

func FindCreatorSetting

func FindCreatorSetting(exec boil.Executor, iD uint64, selectCols ...string) (*CreatorSetting, error)

FindCreatorSetting retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*CreatorSetting) CreatorChannel

func (o *CreatorSetting) CreatorChannel(mods ...qm.QueryMod) channelQuery

CreatorChannel pointed to by the foreign key.

func (*CreatorSetting) Delete

func (o *CreatorSetting) Delete(exec boil.Executor) error

Delete deletes a single CreatorSetting record with an executor. Delete will match against the primary key column to find the record to delete.

func (*CreatorSetting) Exists

func (o *CreatorSetting) Exists(exec boil.Executor) (bool, error)

Exists checks if the CreatorSetting row exists.

func (*CreatorSetting) Insert

func (o *CreatorSetting) Insert(exec boil.Executor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*CreatorSetting) Reload

func (o *CreatorSetting) Reload(exec boil.Executor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*CreatorSetting) SetCreatorChannel

func (o *CreatorSetting) SetCreatorChannel(exec boil.Executor, insert bool, related *Channel) error

SetCreatorChannel of the creatorSetting to the related item. Sets o.R.CreatorChannel to related. Adds o to related.R.CreatorChannelCreatorSettings.

func (*CreatorSetting) Update

func (o *CreatorSetting) Update(exec boil.Executor, columns boil.Columns) error

Update uses an executor to update the CreatorSetting. 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 (*CreatorSetting) Upsert

func (o *CreatorSetting) Upsert(exec boil.Executor, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

type CreatorSettingSlice

type CreatorSettingSlice []*CreatorSetting

CreatorSettingSlice is an alias for a slice of pointers to CreatorSetting. This should almost always be used instead of []CreatorSetting.

func (CreatorSettingSlice) DeleteAll

func (o CreatorSettingSlice) DeleteAll(exec boil.Executor) error

DeleteAll deletes all rows in the slice, using an executor.

func (*CreatorSettingSlice) ReloadAll

func (o *CreatorSettingSlice) ReloadAll(exec boil.Executor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (CreatorSettingSlice) UpdateAll

func (o CreatorSettingSlice) UpdateAll(exec boil.Executor, cols M) error

UpdateAll updates all rows with the specified column values, using an executor.

type DelegatedModerator

type DelegatedModerator struct {
	ID               uint64    `boil:"id" json:"id" toml:"id" yaml:"id"`
	ModChannelID     string    `boil:"mod_channel_id" json:"mod_channel_id" toml:"mod_channel_id" yaml:"mod_channel_id"`
	CreatorChannelID string    `boil:"creator_channel_id" json:"creator_channel_id" toml:"creator_channel_id" yaml:"creator_channel_id"`
	Permissons       uint64    `boil:"permissons" json:"permissons" toml:"permissons" yaml:"permissons"`
	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 *delegatedModeratorR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L delegatedModeratorL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

DelegatedModerator is an object representing the database table.

func FindDelegatedModerator

func FindDelegatedModerator(exec boil.Executor, iD uint64, selectCols ...string) (*DelegatedModerator, error)

FindDelegatedModerator retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*DelegatedModerator) CreatorChannel

func (o *DelegatedModerator) CreatorChannel(mods ...qm.QueryMod) channelQuery

CreatorChannel pointed to by the foreign key.

func (*DelegatedModerator) Delete

func (o *DelegatedModerator) Delete(exec boil.Executor) error

Delete deletes a single DelegatedModerator record with an executor. Delete will match against the primary key column to find the record to delete.

func (*DelegatedModerator) Exists

func (o *DelegatedModerator) Exists(exec boil.Executor) (bool, error)

Exists checks if the DelegatedModerator row exists.

func (*DelegatedModerator) Insert

func (o *DelegatedModerator) Insert(exec boil.Executor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*DelegatedModerator) ModChannel

func (o *DelegatedModerator) ModChannel(mods ...qm.QueryMod) channelQuery

ModChannel pointed to by the foreign key.

func (*DelegatedModerator) Reload

func (o *DelegatedModerator) Reload(exec boil.Executor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*DelegatedModerator) SetCreatorChannel

func (o *DelegatedModerator) SetCreatorChannel(exec boil.Executor, insert bool, related *Channel) error

SetCreatorChannel of the delegatedModerator to the related item. Sets o.R.CreatorChannel to related. Adds o to related.R.CreatorChannelDelegatedModerators.

func (*DelegatedModerator) SetModChannel

func (o *DelegatedModerator) SetModChannel(exec boil.Executor, insert bool, related *Channel) error

SetModChannel of the delegatedModerator to the related item. Sets o.R.ModChannel to related. Adds o to related.R.ModChannelDelegatedModerators.

func (*DelegatedModerator) Update

func (o *DelegatedModerator) Update(exec boil.Executor, columns boil.Columns) error

Update uses an executor to update the DelegatedModerator. 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 (*DelegatedModerator) Upsert

func (o *DelegatedModerator) Upsert(exec boil.Executor, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

type DelegatedModeratorSlice

type DelegatedModeratorSlice []*DelegatedModerator

DelegatedModeratorSlice is an alias for a slice of pointers to DelegatedModerator. This should almost always be used instead of []DelegatedModerator.

func (DelegatedModeratorSlice) DeleteAll

func (o DelegatedModeratorSlice) DeleteAll(exec boil.Executor) error

DeleteAll deletes all rows in the slice, using an executor.

func (*DelegatedModeratorSlice) ReloadAll

func (o *DelegatedModeratorSlice) ReloadAll(exec boil.Executor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (DelegatedModeratorSlice) UpdateAll

func (o DelegatedModeratorSlice) UpdateAll(exec boil.Executor, cols M) error

UpdateAll updates all rows with the specified column values, using an executor.

type GorpMigration

type GorpMigration struct {
	ID        string    `boil:"id" json:"id" toml:"id" yaml:"id"`
	AppliedAt null.Time `boil:"applied_at" json:"applied_at,omitempty" toml:"applied_at" yaml:"applied_at,omitempty"`

	R *gorpMigrationR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L gorpMigrationL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

GorpMigration is an object representing the database table.

func FindGorpMigration

func FindGorpMigration(exec boil.Executor, iD string, selectCols ...string) (*GorpMigration, error)

FindGorpMigration retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*GorpMigration) Delete

func (o *GorpMigration) Delete(exec boil.Executor) error

Delete deletes a single GorpMigration record with an executor. Delete will match against the primary key column to find the record to delete.

func (*GorpMigration) Exists

func (o *GorpMigration) Exists(exec boil.Executor) (bool, error)

Exists checks if the GorpMigration row exists.

func (*GorpMigration) Insert

func (o *GorpMigration) Insert(exec boil.Executor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*GorpMigration) Reload

func (o *GorpMigration) Reload(exec boil.Executor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*GorpMigration) Update

func (o *GorpMigration) Update(exec boil.Executor, columns boil.Columns) error

Update uses an executor to update the GorpMigration. 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 (*GorpMigration) Upsert

func (o *GorpMigration) Upsert(exec boil.Executor, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

type GorpMigrationSlice

type GorpMigrationSlice []*GorpMigration

GorpMigrationSlice is an alias for a slice of pointers to GorpMigration. This should almost always be used instead of []GorpMigration.

func (GorpMigrationSlice) DeleteAll

func (o GorpMigrationSlice) DeleteAll(exec boil.Executor) error

DeleteAll deletes all rows in the slice, using an executor.

func (*GorpMigrationSlice) ReloadAll

func (o *GorpMigrationSlice) ReloadAll(exec boil.Executor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (GorpMigrationSlice) UpdateAll

func (o GorpMigrationSlice) UpdateAll(exec boil.Executor, cols M) error

UpdateAll updates all rows with the specified column values, using an executor.

type M

type M map[string]interface{}

M type is for providing columns and column values to UpdateAll.

type Moderator

type Moderator struct {
	ID           uint64      `boil:"id" json:"id" toml:"id" yaml:"id"`
	ModChannelID null.String `boil:"mod_channel_id" json:"mod_channel_id,omitempty" toml:"mod_channel_id" yaml:"mod_channel_id,omitempty"`
	ModLevel     int64       `boil:"mod_level" json:"mod_level" toml:"mod_level" yaml:"mod_level"`
	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 *moderatorR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L moderatorL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Moderator is an object representing the database table.

func FindModerator

func FindModerator(exec boil.Executor, iD uint64, selectCols ...string) (*Moderator, error)

FindModerator retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*Moderator) Delete

func (o *Moderator) Delete(exec boil.Executor) error

Delete deletes a single Moderator record with an executor. Delete will match against the primary key column to find the record to delete.

func (*Moderator) Exists

func (o *Moderator) Exists(exec boil.Executor) (bool, error)

Exists checks if the Moderator row exists.

func (*Moderator) Insert

func (o *Moderator) Insert(exec boil.Executor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*Moderator) ModChannel

func (o *Moderator) ModChannel(mods ...qm.QueryMod) channelQuery

ModChannel pointed to by the foreign key.

func (*Moderator) Reload

func (o *Moderator) Reload(exec boil.Executor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*Moderator) RemoveModChannel

func (o *Moderator) RemoveModChannel(exec boil.Executor, related *Channel) error

RemoveModChannel relationship. Sets o.R.ModChannel to nil. Removes o from all passed in related items' relationships struct.

func (*Moderator) SetModChannel

func (o *Moderator) SetModChannel(exec boil.Executor, insert bool, related *Channel) error

SetModChannel of the moderator to the related item. Sets o.R.ModChannel to related. Adds o to related.R.ModChannelModerators.

func (*Moderator) Update

func (o *Moderator) Update(exec boil.Executor, columns boil.Columns) error

Update uses an executor to update the Moderator. 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 (*Moderator) Upsert

func (o *Moderator) Upsert(exec boil.Executor, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

type ModeratorSlice

type ModeratorSlice []*Moderator

ModeratorSlice is an alias for a slice of pointers to Moderator. This should almost always be used instead of []Moderator.

func (ModeratorSlice) DeleteAll

func (o ModeratorSlice) DeleteAll(exec boil.Executor) error

DeleteAll deletes all rows in the slice, using an executor.

func (*ModeratorSlice) ReloadAll

func (o *ModeratorSlice) ReloadAll(exec boil.Executor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (ModeratorSlice) UpdateAll

func (o ModeratorSlice) UpdateAll(exec boil.Executor, cols M) error

UpdateAll updates all rows with the specified column values, using an executor.

type Reaction

type Reaction struct {
	ID             uint64      `boil:"id" json:"id" toml:"id" yaml:"id"`
	CommentID      string      `boil:"comment_id" json:"comment_id" toml:"comment_id" yaml:"comment_id"`
	ChannelID      null.String `boil:"channel_id" json:"channel_id,omitempty" toml:"channel_id" yaml:"channel_id,omitempty"`
	ClaimID        string      `boil:"claim_id" json:"claim_id" toml:"claim_id" yaml:"claim_id"`
	ReactionTypeID uint64      `boil:"reaction_type_id" json:"reaction_type_id" toml:"reaction_type_id" yaml:"reaction_type_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"`
	IsFlagged      bool        `boil:"is_flagged" json:"is_flagged" toml:"is_flagged" yaml:"is_flagged"`

	R *reactionR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L reactionL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Reaction is an object representing the database table.

func FindReaction

func FindReaction(exec boil.Executor, iD uint64, selectCols ...string) (*Reaction, error)

FindReaction retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*Reaction) Channel

func (o *Reaction) Channel(mods ...qm.QueryMod) channelQuery

Channel pointed to by the foreign key.

func (*Reaction) Comment

func (o *Reaction) Comment(mods ...qm.QueryMod) commentQuery

Comment pointed to by the foreign key.

func (*Reaction) Delete

func (o *Reaction) Delete(exec boil.Executor) error

Delete deletes a single Reaction record with an executor. Delete will match against the primary key column to find the record to delete.

func (*Reaction) Exists

func (o *Reaction) Exists(exec boil.Executor) (bool, error)

Exists checks if the Reaction row exists.

func (*Reaction) Insert

func (o *Reaction) Insert(exec boil.Executor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*Reaction) ReactionType

func (o *Reaction) ReactionType(mods ...qm.QueryMod) reactionTypeQuery

ReactionType pointed to by the foreign key.

func (*Reaction) Reload

func (o *Reaction) Reload(exec boil.Executor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*Reaction) RemoveChannel

func (o *Reaction) RemoveChannel(exec boil.Executor, related *Channel) error

RemoveChannel relationship. Sets o.R.Channel to nil. Removes o from all passed in related items' relationships struct.

func (*Reaction) SetChannel

func (o *Reaction) SetChannel(exec boil.Executor, insert bool, related *Channel) error

SetChannel of the reaction to the related item. Sets o.R.Channel to related. Adds o to related.R.Reactions.

func (*Reaction) SetComment

func (o *Reaction) SetComment(exec boil.Executor, insert bool, related *Comment) error

SetComment of the reaction to the related item. Sets o.R.Comment to related. Adds o to related.R.Reactions.

func (*Reaction) SetReactionType

func (o *Reaction) SetReactionType(exec boil.Executor, insert bool, related *ReactionType) error

SetReactionType of the reaction to the related item. Sets o.R.ReactionType to related. Adds o to related.R.Reactions.

func (*Reaction) Update

func (o *Reaction) Update(exec boil.Executor, columns boil.Columns) error

Update uses an executor to update the Reaction. 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 (*Reaction) Upsert

func (o *Reaction) Upsert(exec boil.Executor, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

type ReactionSlice

type ReactionSlice []*Reaction

ReactionSlice is an alias for a slice of pointers to Reaction. This should almost always be used instead of []Reaction.

func (ReactionSlice) DeleteAll

func (o ReactionSlice) DeleteAll(exec boil.Executor) error

DeleteAll deletes all rows in the slice, using an executor.

func (*ReactionSlice) ReloadAll

func (o *ReactionSlice) ReloadAll(exec boil.Executor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (ReactionSlice) UpdateAll

func (o ReactionSlice) UpdateAll(exec boil.Executor, cols M) error

UpdateAll updates all rows with the specified column values, using an executor.

type ReactionType

type ReactionType struct {
	ID        uint64    `boil:"id" json:"id" toml:"id" yaml:"id"`
	Name      string    `boil:"name" json:"name" toml:"name" yaml:"name"`
	CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`

	R *reactionTypeR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L reactionTypeL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

ReactionType is an object representing the database table.

func FindReactionType

func FindReactionType(exec boil.Executor, iD uint64, selectCols ...string) (*ReactionType, error)

FindReactionType retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*ReactionType) AddReactions

func (o *ReactionType) AddReactions(exec boil.Executor, insert bool, related ...*Reaction) error

AddReactions adds the given related objects to the existing relationships of the reaction_type, optionally inserting them as new records. Appends related to o.R.Reactions. Sets related.R.ReactionType appropriately.

func (*ReactionType) Delete

func (o *ReactionType) Delete(exec boil.Executor) error

Delete deletes a single ReactionType record with an executor. Delete will match against the primary key column to find the record to delete.

func (*ReactionType) Exists

func (o *ReactionType) Exists(exec boil.Executor) (bool, error)

Exists checks if the ReactionType row exists.

func (*ReactionType) Insert

func (o *ReactionType) Insert(exec boil.Executor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*ReactionType) Reactions

func (o *ReactionType) Reactions(mods ...qm.QueryMod) reactionQuery

Reactions retrieves all the reaction's Reactions with an executor.

func (*ReactionType) Reload

func (o *ReactionType) Reload(exec boil.Executor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*ReactionType) Update

func (o *ReactionType) Update(exec boil.Executor, columns boil.Columns) error

Update uses an executor to update the ReactionType. 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 (*ReactionType) Upsert

func (o *ReactionType) Upsert(exec boil.Executor, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

type ReactionTypeSlice

type ReactionTypeSlice []*ReactionType

ReactionTypeSlice is an alias for a slice of pointers to ReactionType. This should almost always be used instead of []ReactionType.

func (ReactionTypeSlice) DeleteAll

func (o ReactionTypeSlice) DeleteAll(exec boil.Executor) error

DeleteAll deletes all rows in the slice, using an executor.

func (*ReactionTypeSlice) ReloadAll

func (o *ReactionTypeSlice) ReloadAll(exec boil.Executor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (ReactionTypeSlice) UpdateAll

func (o ReactionTypeSlice) UpdateAll(exec boil.Executor, cols M) error

UpdateAll updates all rows with the specified column values, using an executor.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL