Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.RolePanelPlaced) predicate.RolePanelPlaced
- func ButtonType(v discord.ButtonStyle) predicate.RolePanelPlaced
- func ButtonTypeEQ(v discord.ButtonStyle) predicate.RolePanelPlaced
- func ButtonTypeGT(v discord.ButtonStyle) predicate.RolePanelPlaced
- func ButtonTypeGTE(v discord.ButtonStyle) predicate.RolePanelPlaced
- func ButtonTypeIn(vs ...discord.ButtonStyle) predicate.RolePanelPlaced
- func ButtonTypeLT(v discord.ButtonStyle) predicate.RolePanelPlaced
- func ButtonTypeLTE(v discord.ButtonStyle) predicate.RolePanelPlaced
- func ButtonTypeNEQ(v discord.ButtonStyle) predicate.RolePanelPlaced
- func ButtonTypeNotIn(vs ...discord.ButtonStyle) predicate.RolePanelPlaced
- func ChannelID(v snowflake.ID) predicate.RolePanelPlaced
- func ChannelIDEQ(v snowflake.ID) predicate.RolePanelPlaced
- func ChannelIDGT(v snowflake.ID) predicate.RolePanelPlaced
- func ChannelIDGTE(v snowflake.ID) predicate.RolePanelPlaced
- func ChannelIDIn(vs ...snowflake.ID) predicate.RolePanelPlaced
- func ChannelIDLT(v snowflake.ID) predicate.RolePanelPlaced
- func ChannelIDLTE(v snowflake.ID) predicate.RolePanelPlaced
- func ChannelIDNEQ(v snowflake.ID) predicate.RolePanelPlaced
- func ChannelIDNotIn(vs ...snowflake.ID) predicate.RolePanelPlaced
- func CreatedAt(v time.Time) predicate.RolePanelPlaced
- func CreatedAtEQ(v time.Time) predicate.RolePanelPlaced
- func CreatedAtGT(v time.Time) predicate.RolePanelPlaced
- func CreatedAtGTE(v time.Time) predicate.RolePanelPlaced
- func CreatedAtIn(vs ...time.Time) predicate.RolePanelPlaced
- func CreatedAtLT(v time.Time) predicate.RolePanelPlaced
- func CreatedAtLTE(v time.Time) predicate.RolePanelPlaced
- func CreatedAtNEQ(v time.Time) predicate.RolePanelPlaced
- func CreatedAtNotIn(vs ...time.Time) predicate.RolePanelPlaced
- func Description(v string) predicate.RolePanelPlaced
- func DescriptionContains(v string) predicate.RolePanelPlaced
- func DescriptionContainsFold(v string) predicate.RolePanelPlaced
- func DescriptionEQ(v string) predicate.RolePanelPlaced
- func DescriptionEqualFold(v string) predicate.RolePanelPlaced
- func DescriptionGT(v string) predicate.RolePanelPlaced
- func DescriptionGTE(v string) predicate.RolePanelPlaced
- func DescriptionHasPrefix(v string) predicate.RolePanelPlaced
- func DescriptionHasSuffix(v string) predicate.RolePanelPlaced
- func DescriptionIn(vs ...string) predicate.RolePanelPlaced
- func DescriptionLT(v string) predicate.RolePanelPlaced
- func DescriptionLTE(v string) predicate.RolePanelPlaced
- func DescriptionNEQ(v string) predicate.RolePanelPlaced
- func DescriptionNotIn(vs ...string) predicate.RolePanelPlaced
- func FoldingSelectMenu(v bool) predicate.RolePanelPlaced
- func FoldingSelectMenuEQ(v bool) predicate.RolePanelPlaced
- func FoldingSelectMenuNEQ(v bool) predicate.RolePanelPlaced
- func HasGuild() predicate.RolePanelPlaced
- func HasGuildWith(preds ...predicate.Guild) predicate.RolePanelPlaced
- func HasRolePanel() predicate.RolePanelPlaced
- func HasRolePanelWith(preds ...predicate.RolePanel) predicate.RolePanelPlaced
- func HideNotice(v bool) predicate.RolePanelPlaced
- func HideNoticeEQ(v bool) predicate.RolePanelPlaced
- func HideNoticeNEQ(v bool) predicate.RolePanelPlaced
- func ID(id uuid.UUID) predicate.RolePanelPlaced
- func IDEQ(id uuid.UUID) predicate.RolePanelPlaced
- func IDGT(id uuid.UUID) predicate.RolePanelPlaced
- func IDGTE(id uuid.UUID) predicate.RolePanelPlaced
- func IDIn(ids ...uuid.UUID) predicate.RolePanelPlaced
- func IDLT(id uuid.UUID) predicate.RolePanelPlaced
- func IDLTE(id uuid.UUID) predicate.RolePanelPlaced
- func IDNEQ(id uuid.UUID) predicate.RolePanelPlaced
- func IDNotIn(ids ...uuid.UUID) predicate.RolePanelPlaced
- func MessageID(v snowflake.ID) predicate.RolePanelPlaced
- func MessageIDEQ(v snowflake.ID) predicate.RolePanelPlaced
- func MessageIDGT(v snowflake.ID) predicate.RolePanelPlaced
- func MessageIDGTE(v snowflake.ID) predicate.RolePanelPlaced
- func MessageIDIn(vs ...snowflake.ID) predicate.RolePanelPlaced
- func MessageIDIsNil() predicate.RolePanelPlaced
- func MessageIDLT(v snowflake.ID) predicate.RolePanelPlaced
- func MessageIDLTE(v snowflake.ID) predicate.RolePanelPlaced
- func MessageIDNEQ(v snowflake.ID) predicate.RolePanelPlaced
- func MessageIDNotIn(vs ...snowflake.ID) predicate.RolePanelPlaced
- func MessageIDNotNil() predicate.RolePanelPlaced
- func Name(v string) predicate.RolePanelPlaced
- func NameContains(v string) predicate.RolePanelPlaced
- func NameContainsFold(v string) predicate.RolePanelPlaced
- func NameEQ(v string) predicate.RolePanelPlaced
- func NameEqualFold(v string) predicate.RolePanelPlaced
- func NameGT(v string) predicate.RolePanelPlaced
- func NameGTE(v string) predicate.RolePanelPlaced
- func NameHasPrefix(v string) predicate.RolePanelPlaced
- func NameHasSuffix(v string) predicate.RolePanelPlaced
- func NameIn(vs ...string) predicate.RolePanelPlaced
- func NameLT(v string) predicate.RolePanelPlaced
- func NameLTE(v string) predicate.RolePanelPlaced
- func NameNEQ(v string) predicate.RolePanelPlaced
- func NameNotIn(vs ...string) predicate.RolePanelPlaced
- func Not(p predicate.RolePanelPlaced) predicate.RolePanelPlaced
- func Or(predicates ...predicate.RolePanelPlaced) predicate.RolePanelPlaced
- func RolesIsNil() predicate.RolePanelPlaced
- func RolesNotNil() predicate.RolePanelPlaced
- func ShowName(v bool) predicate.RolePanelPlaced
- func ShowNameEQ(v bool) predicate.RolePanelPlaced
- func ShowNameNEQ(v bool) predicate.RolePanelPlaced
- func TypeEQ(v Type) predicate.RolePanelPlaced
- func TypeIn(vs ...Type) predicate.RolePanelPlaced
- func TypeIsNil() predicate.RolePanelPlaced
- func TypeNEQ(v Type) predicate.RolePanelPlaced
- func TypeNotIn(vs ...Type) predicate.RolePanelPlaced
- func TypeNotNil() predicate.RolePanelPlaced
- func TypeValidator(_type Type) error
- func UpdatedAt(v time.Time) predicate.RolePanelPlaced
- func UpdatedAtEQ(v time.Time) predicate.RolePanelPlaced
- func UpdatedAtGT(v time.Time) predicate.RolePanelPlaced
- func UpdatedAtGTE(v time.Time) predicate.RolePanelPlaced
- func UpdatedAtIn(vs ...time.Time) predicate.RolePanelPlaced
- func UpdatedAtIsNil() predicate.RolePanelPlaced
- func UpdatedAtLT(v time.Time) predicate.RolePanelPlaced
- func UpdatedAtLTE(v time.Time) predicate.RolePanelPlaced
- func UpdatedAtNEQ(v time.Time) predicate.RolePanelPlaced
- func UpdatedAtNotIn(vs ...time.Time) predicate.RolePanelPlaced
- func UpdatedAtNotNil() predicate.RolePanelPlaced
- func UseDisplayName(v bool) predicate.RolePanelPlaced
- func UseDisplayNameEQ(v bool) predicate.RolePanelPlaced
- func UseDisplayNameNEQ(v bool) predicate.RolePanelPlaced
- func Uses(v int) predicate.RolePanelPlaced
- func UsesEQ(v int) predicate.RolePanelPlaced
- func UsesGT(v int) predicate.RolePanelPlaced
- func UsesGTE(v int) predicate.RolePanelPlaced
- func UsesIn(vs ...int) predicate.RolePanelPlaced
- func UsesLT(v int) predicate.RolePanelPlaced
- func UsesLTE(v int) predicate.RolePanelPlaced
- func UsesNEQ(v int) predicate.RolePanelPlaced
- func UsesNotIn(vs ...int) predicate.RolePanelPlaced
- func ValidColumn(column string) bool
- type OrderOption
- func ByButtonType(opts ...sql.OrderTermOption) OrderOption
- func ByChannelID(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDescription(opts ...sql.OrderTermOption) OrderOption
- func ByFoldingSelectMenu(opts ...sql.OrderTermOption) OrderOption
- func ByGuildField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByHideNotice(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByMessageID(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByRolePanelField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByShowName(opts ...sql.OrderTermOption) OrderOption
- func ByType(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUseDisplayName(opts ...sql.OrderTermOption) OrderOption
- func ByUses(opts ...sql.OrderTermOption) OrderOption
- type Type
Constants ¶
const ( // Label holds the string label denoting the rolepanelplaced type in the database. Label = "role_panel_placed" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldMessageID holds the string denoting the message_id field in the database. FieldMessageID = "message_id" // FieldChannelID holds the string denoting the channel_id field in the database. FieldChannelID = "channel_id" // FieldType holds the string denoting the type field in the database. FieldType = "type" // FieldButtonType holds the string denoting the button_type field in the database. FieldButtonType = "button_type" // FieldShowName holds the string denoting the show_name field in the database. FieldShowName = "show_name" // FieldFoldingSelectMenu holds the string denoting the folding_select_menu field in the database. FieldFoldingSelectMenu = "folding_select_menu" // FieldHideNotice holds the string denoting the hide_notice field in the database. FieldHideNotice = "hide_notice" // FieldUseDisplayName holds the string denoting the use_display_name field in the database. FieldUseDisplayName = "use_display_name" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldUses holds the string denoting the uses field in the database. FieldUses = "uses" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // FieldRoles holds the string denoting the roles field in the database. FieldRoles = "roles" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // EdgeGuild holds the string denoting the guild edge name in mutations. EdgeGuild = "guild" // EdgeRolePanel holds the string denoting the role_panel edge name in mutations. EdgeRolePanel = "role_panel" // Table holds the table name of the rolepanelplaced in the database. Table = "role_panel_placeds" // GuildTable is the table that holds the guild relation/edge. GuildTable = "role_panel_placeds" // GuildInverseTable is the table name for the Guild entity. // It exists in this package in order to avoid circular dependency with the "guild" package. GuildInverseTable = "guilds" // GuildColumn is the table column denoting the guild relation/edge. GuildColumn = "guild_role_panel_placements" // RolePanelTable is the table that holds the role_panel relation/edge. RolePanelTable = "role_panel_placeds" // RolePanelInverseTable is the table name for the RolePanel entity. // It exists in this package in order to avoid circular dependency with the "rolepanel" package. RolePanelInverseTable = "role_panels" // RolePanelColumn is the table column denoting the role_panel relation/edge. RolePanelColumn = "role_panel_placements" )
Variables ¶
var ( // DefaultButtonType holds the default value on creation for the "button_type" field. DefaultButtonType discord.ButtonStyle // ButtonTypeValidator is a validator for the "button_type" field. It is called by the builders before save. ButtonTypeValidator func(int) error // DefaultShowName holds the default value on creation for the "show_name" field. DefaultShowName bool // DefaultFoldingSelectMenu holds the default value on creation for the "folding_select_menu" field. DefaultFoldingSelectMenu bool // DefaultHideNotice holds the default value on creation for the "hide_notice" field. DefaultHideNotice bool // DefaultUseDisplayName holds the default value on creation for the "use_display_name" field. DefaultUseDisplayName bool // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultUses holds the default value on creation for the "uses" field. DefaultUses int // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldMessageID, FieldChannelID, FieldType, FieldButtonType, FieldShowName, FieldFoldingSelectMenu, FieldHideNotice, FieldUseDisplayName, FieldCreatedAt, FieldUses, FieldName, FieldDescription, FieldRoles, FieldUpdatedAt, }
Columns holds all SQL columns for rolepanelplaced fields.
var ForeignKeys = []string{
"guild_role_panel_placements",
"role_panel_placements",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "role_panel_placeds" table and are not defined as standalone fields in the schema.
Functions ¶
func And ¶
func And(predicates ...predicate.RolePanelPlaced) predicate.RolePanelPlaced
And groups predicates with the AND operator between them.
func ButtonType ¶
func ButtonType(v discord.ButtonStyle) predicate.RolePanelPlaced
ButtonType applies equality check predicate on the "button_type" field. It's identical to ButtonTypeEQ.
func ButtonTypeEQ ¶
func ButtonTypeEQ(v discord.ButtonStyle) predicate.RolePanelPlaced
ButtonTypeEQ applies the EQ predicate on the "button_type" field.
func ButtonTypeGT ¶
func ButtonTypeGT(v discord.ButtonStyle) predicate.RolePanelPlaced
ButtonTypeGT applies the GT predicate on the "button_type" field.
func ButtonTypeGTE ¶
func ButtonTypeGTE(v discord.ButtonStyle) predicate.RolePanelPlaced
ButtonTypeGTE applies the GTE predicate on the "button_type" field.
func ButtonTypeIn ¶
func ButtonTypeIn(vs ...discord.ButtonStyle) predicate.RolePanelPlaced
ButtonTypeIn applies the In predicate on the "button_type" field.
func ButtonTypeLT ¶
func ButtonTypeLT(v discord.ButtonStyle) predicate.RolePanelPlaced
ButtonTypeLT applies the LT predicate on the "button_type" field.
func ButtonTypeLTE ¶
func ButtonTypeLTE(v discord.ButtonStyle) predicate.RolePanelPlaced
ButtonTypeLTE applies the LTE predicate on the "button_type" field.
func ButtonTypeNEQ ¶
func ButtonTypeNEQ(v discord.ButtonStyle) predicate.RolePanelPlaced
ButtonTypeNEQ applies the NEQ predicate on the "button_type" field.
func ButtonTypeNotIn ¶
func ButtonTypeNotIn(vs ...discord.ButtonStyle) predicate.RolePanelPlaced
ButtonTypeNotIn applies the NotIn predicate on the "button_type" field.
func ChannelID ¶
func ChannelID(v snowflake.ID) predicate.RolePanelPlaced
ChannelID applies equality check predicate on the "channel_id" field. It's identical to ChannelIDEQ.
func ChannelIDEQ ¶
func ChannelIDEQ(v snowflake.ID) predicate.RolePanelPlaced
ChannelIDEQ applies the EQ predicate on the "channel_id" field.
func ChannelIDGT ¶
func ChannelIDGT(v snowflake.ID) predicate.RolePanelPlaced
ChannelIDGT applies the GT predicate on the "channel_id" field.
func ChannelIDGTE ¶
func ChannelIDGTE(v snowflake.ID) predicate.RolePanelPlaced
ChannelIDGTE applies the GTE predicate on the "channel_id" field.
func ChannelIDIn ¶
func ChannelIDIn(vs ...snowflake.ID) predicate.RolePanelPlaced
ChannelIDIn applies the In predicate on the "channel_id" field.
func ChannelIDLT ¶
func ChannelIDLT(v snowflake.ID) predicate.RolePanelPlaced
ChannelIDLT applies the LT predicate on the "channel_id" field.
func ChannelIDLTE ¶
func ChannelIDLTE(v snowflake.ID) predicate.RolePanelPlaced
ChannelIDLTE applies the LTE predicate on the "channel_id" field.
func ChannelIDNEQ ¶
func ChannelIDNEQ(v snowflake.ID) predicate.RolePanelPlaced
ChannelIDNEQ applies the NEQ predicate on the "channel_id" field.
func ChannelIDNotIn ¶
func ChannelIDNotIn(vs ...snowflake.ID) predicate.RolePanelPlaced
ChannelIDNotIn applies the NotIn predicate on the "channel_id" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.RolePanelPlaced
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.RolePanelPlaced
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.RolePanelPlaced
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.RolePanelPlaced
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.RolePanelPlaced
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.RolePanelPlaced
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.RolePanelPlaced
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.RolePanelPlaced
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.RolePanelPlaced
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func Description ¶
func Description(v string) predicate.RolePanelPlaced
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
func DescriptionContains(v string) predicate.RolePanelPlaced
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
func DescriptionContainsFold(v string) predicate.RolePanelPlaced
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
func DescriptionEQ(v string) predicate.RolePanelPlaced
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
func DescriptionEqualFold(v string) predicate.RolePanelPlaced
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
func DescriptionGT(v string) predicate.RolePanelPlaced
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
func DescriptionGTE(v string) predicate.RolePanelPlaced
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
func DescriptionHasPrefix(v string) predicate.RolePanelPlaced
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
func DescriptionHasSuffix(v string) predicate.RolePanelPlaced
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
func DescriptionIn(vs ...string) predicate.RolePanelPlaced
DescriptionIn applies the In predicate on the "description" field.
func DescriptionLT ¶
func DescriptionLT(v string) predicate.RolePanelPlaced
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
func DescriptionLTE(v string) predicate.RolePanelPlaced
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
func DescriptionNEQ(v string) predicate.RolePanelPlaced
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
func DescriptionNotIn(vs ...string) predicate.RolePanelPlaced
DescriptionNotIn applies the NotIn predicate on the "description" field.
func FoldingSelectMenu ¶
func FoldingSelectMenu(v bool) predicate.RolePanelPlaced
FoldingSelectMenu applies equality check predicate on the "folding_select_menu" field. It's identical to FoldingSelectMenuEQ.
func FoldingSelectMenuEQ ¶
func FoldingSelectMenuEQ(v bool) predicate.RolePanelPlaced
FoldingSelectMenuEQ applies the EQ predicate on the "folding_select_menu" field.
func FoldingSelectMenuNEQ ¶
func FoldingSelectMenuNEQ(v bool) predicate.RolePanelPlaced
FoldingSelectMenuNEQ applies the NEQ predicate on the "folding_select_menu" field.
func HasGuild ¶
func HasGuild() predicate.RolePanelPlaced
HasGuild applies the HasEdge predicate on the "guild" edge.
func HasGuildWith ¶
func HasGuildWith(preds ...predicate.Guild) predicate.RolePanelPlaced
HasGuildWith applies the HasEdge predicate on the "guild" edge with a given conditions (other predicates).
func HasRolePanel ¶
func HasRolePanel() predicate.RolePanelPlaced
HasRolePanel applies the HasEdge predicate on the "role_panel" edge.
func HasRolePanelWith ¶
func HasRolePanelWith(preds ...predicate.RolePanel) predicate.RolePanelPlaced
HasRolePanelWith applies the HasEdge predicate on the "role_panel" edge with a given conditions (other predicates).
func HideNotice ¶
func HideNotice(v bool) predicate.RolePanelPlaced
HideNotice applies equality check predicate on the "hide_notice" field. It's identical to HideNoticeEQ.
func HideNoticeEQ ¶
func HideNoticeEQ(v bool) predicate.RolePanelPlaced
HideNoticeEQ applies the EQ predicate on the "hide_notice" field.
func HideNoticeNEQ ¶
func HideNoticeNEQ(v bool) predicate.RolePanelPlaced
HideNoticeNEQ applies the NEQ predicate on the "hide_notice" field.
func ID ¶
func ID(id uuid.UUID) predicate.RolePanelPlaced
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.RolePanelPlaced
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.RolePanelPlaced
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.RolePanelPlaced
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.RolePanelPlaced
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.RolePanelPlaced
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.RolePanelPlaced
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.RolePanelPlaced
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.RolePanelPlaced
IDNotIn applies the NotIn predicate on the ID field.
func MessageID ¶
func MessageID(v snowflake.ID) predicate.RolePanelPlaced
MessageID applies equality check predicate on the "message_id" field. It's identical to MessageIDEQ.
func MessageIDEQ ¶
func MessageIDEQ(v snowflake.ID) predicate.RolePanelPlaced
MessageIDEQ applies the EQ predicate on the "message_id" field.
func MessageIDGT ¶
func MessageIDGT(v snowflake.ID) predicate.RolePanelPlaced
MessageIDGT applies the GT predicate on the "message_id" field.
func MessageIDGTE ¶
func MessageIDGTE(v snowflake.ID) predicate.RolePanelPlaced
MessageIDGTE applies the GTE predicate on the "message_id" field.
func MessageIDIn ¶
func MessageIDIn(vs ...snowflake.ID) predicate.RolePanelPlaced
MessageIDIn applies the In predicate on the "message_id" field.
func MessageIDIsNil ¶
func MessageIDIsNil() predicate.RolePanelPlaced
MessageIDIsNil applies the IsNil predicate on the "message_id" field.
func MessageIDLT ¶
func MessageIDLT(v snowflake.ID) predicate.RolePanelPlaced
MessageIDLT applies the LT predicate on the "message_id" field.
func MessageIDLTE ¶
func MessageIDLTE(v snowflake.ID) predicate.RolePanelPlaced
MessageIDLTE applies the LTE predicate on the "message_id" field.
func MessageIDNEQ ¶
func MessageIDNEQ(v snowflake.ID) predicate.RolePanelPlaced
MessageIDNEQ applies the NEQ predicate on the "message_id" field.
func MessageIDNotIn ¶
func MessageIDNotIn(vs ...snowflake.ID) predicate.RolePanelPlaced
MessageIDNotIn applies the NotIn predicate on the "message_id" field.
func MessageIDNotNil ¶
func MessageIDNotNil() predicate.RolePanelPlaced
MessageIDNotNil applies the NotNil predicate on the "message_id" field.
func Name ¶
func Name(v string) predicate.RolePanelPlaced
Name applies equality check predicate on the "name" field. It's identical to NameEQ.
func NameContains ¶
func NameContains(v string) predicate.RolePanelPlaced
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
func NameContainsFold(v string) predicate.RolePanelPlaced
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEQ ¶
func NameEQ(v string) predicate.RolePanelPlaced
NameEQ applies the EQ predicate on the "name" field.
func NameEqualFold ¶
func NameEqualFold(v string) predicate.RolePanelPlaced
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameGT ¶
func NameGT(v string) predicate.RolePanelPlaced
NameGT applies the GT predicate on the "name" field.
func NameGTE ¶
func NameGTE(v string) predicate.RolePanelPlaced
NameGTE applies the GTE predicate on the "name" field.
func NameHasPrefix ¶
func NameHasPrefix(v string) predicate.RolePanelPlaced
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
func NameHasSuffix(v string) predicate.RolePanelPlaced
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameIn ¶
func NameIn(vs ...string) predicate.RolePanelPlaced
NameIn applies the In predicate on the "name" field.
func NameLT ¶
func NameLT(v string) predicate.RolePanelPlaced
NameLT applies the LT predicate on the "name" field.
func NameLTE ¶
func NameLTE(v string) predicate.RolePanelPlaced
NameLTE applies the LTE predicate on the "name" field.
func NameNEQ ¶
func NameNEQ(v string) predicate.RolePanelPlaced
NameNEQ applies the NEQ predicate on the "name" field.
func NameNotIn ¶
func NameNotIn(vs ...string) predicate.RolePanelPlaced
NameNotIn applies the NotIn predicate on the "name" field.
func Not ¶
func Not(p predicate.RolePanelPlaced) predicate.RolePanelPlaced
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.RolePanelPlaced) predicate.RolePanelPlaced
Or groups predicates with the OR operator between them.
func RolesIsNil ¶
func RolesIsNil() predicate.RolePanelPlaced
RolesIsNil applies the IsNil predicate on the "roles" field.
func RolesNotNil ¶
func RolesNotNil() predicate.RolePanelPlaced
RolesNotNil applies the NotNil predicate on the "roles" field.
func ShowName ¶
func ShowName(v bool) predicate.RolePanelPlaced
ShowName applies equality check predicate on the "show_name" field. It's identical to ShowNameEQ.
func ShowNameEQ ¶
func ShowNameEQ(v bool) predicate.RolePanelPlaced
ShowNameEQ applies the EQ predicate on the "show_name" field.
func ShowNameNEQ ¶
func ShowNameNEQ(v bool) predicate.RolePanelPlaced
ShowNameNEQ applies the NEQ predicate on the "show_name" field.
func TypeEQ ¶
func TypeEQ(v Type) predicate.RolePanelPlaced
TypeEQ applies the EQ predicate on the "type" field.
func TypeIn ¶
func TypeIn(vs ...Type) predicate.RolePanelPlaced
TypeIn applies the In predicate on the "type" field.
func TypeIsNil ¶
func TypeIsNil() predicate.RolePanelPlaced
TypeIsNil applies the IsNil predicate on the "type" field.
func TypeNEQ ¶
func TypeNEQ(v Type) predicate.RolePanelPlaced
TypeNEQ applies the NEQ predicate on the "type" field.
func TypeNotIn ¶
func TypeNotIn(vs ...Type) predicate.RolePanelPlaced
TypeNotIn applies the NotIn predicate on the "type" field.
func TypeNotNil ¶
func TypeNotNil() predicate.RolePanelPlaced
TypeNotNil applies the NotNil predicate on the "type" field.
func TypeValidator ¶
TypeValidator is a validator for the "type" field enum values. It is called by the builders before save.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.RolePanelPlaced
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.RolePanelPlaced
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.RolePanelPlaced
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.RolePanelPlaced
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.RolePanelPlaced
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtIsNil ¶
func UpdatedAtIsNil() predicate.RolePanelPlaced
UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.RolePanelPlaced
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.RolePanelPlaced
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.RolePanelPlaced
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.RolePanelPlaced
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedAtNotNil ¶
func UpdatedAtNotNil() predicate.RolePanelPlaced
UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.
func UseDisplayName ¶
func UseDisplayName(v bool) predicate.RolePanelPlaced
UseDisplayName applies equality check predicate on the "use_display_name" field. It's identical to UseDisplayNameEQ.
func UseDisplayNameEQ ¶
func UseDisplayNameEQ(v bool) predicate.RolePanelPlaced
UseDisplayNameEQ applies the EQ predicate on the "use_display_name" field.
func UseDisplayNameNEQ ¶
func UseDisplayNameNEQ(v bool) predicate.RolePanelPlaced
UseDisplayNameNEQ applies the NEQ predicate on the "use_display_name" field.
func Uses ¶
func Uses(v int) predicate.RolePanelPlaced
Uses applies equality check predicate on the "uses" field. It's identical to UsesEQ.
func UsesEQ ¶
func UsesEQ(v int) predicate.RolePanelPlaced
UsesEQ applies the EQ predicate on the "uses" field.
func UsesGT ¶
func UsesGT(v int) predicate.RolePanelPlaced
UsesGT applies the GT predicate on the "uses" field.
func UsesGTE ¶
func UsesGTE(v int) predicate.RolePanelPlaced
UsesGTE applies the GTE predicate on the "uses" field.
func UsesIn ¶
func UsesIn(vs ...int) predicate.RolePanelPlaced
UsesIn applies the In predicate on the "uses" field.
func UsesLT ¶
func UsesLT(v int) predicate.RolePanelPlaced
UsesLT applies the LT predicate on the "uses" field.
func UsesLTE ¶
func UsesLTE(v int) predicate.RolePanelPlaced
UsesLTE applies the LTE predicate on the "uses" field.
func UsesNEQ ¶
func UsesNEQ(v int) predicate.RolePanelPlaced
UsesNEQ applies the NEQ predicate on the "uses" field.
func UsesNotIn ¶
func UsesNotIn(vs ...int) predicate.RolePanelPlaced
UsesNotIn applies the NotIn predicate on the "uses" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the RolePanelPlaced queries.
func ByButtonType ¶
func ByButtonType(opts ...sql.OrderTermOption) OrderOption
ByButtonType orders the results by the button_type field.
func ByChannelID ¶
func ByChannelID(opts ...sql.OrderTermOption) OrderOption
ByChannelID orders the results by the channel_id field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByDescription ¶
func ByDescription(opts ...sql.OrderTermOption) OrderOption
ByDescription orders the results by the description field.
func ByFoldingSelectMenu ¶
func ByFoldingSelectMenu(opts ...sql.OrderTermOption) OrderOption
ByFoldingSelectMenu orders the results by the folding_select_menu field.
func ByGuildField ¶
func ByGuildField(field string, opts ...sql.OrderTermOption) OrderOption
ByGuildField orders the results by guild field.
func ByHideNotice ¶
func ByHideNotice(opts ...sql.OrderTermOption) OrderOption
ByHideNotice orders the results by the hide_notice field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByMessageID ¶
func ByMessageID(opts ...sql.OrderTermOption) OrderOption
ByMessageID orders the results by the message_id field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByRolePanelField ¶
func ByRolePanelField(field string, opts ...sql.OrderTermOption) OrderOption
ByRolePanelField orders the results by role_panel field.
func ByShowName ¶
func ByShowName(opts ...sql.OrderTermOption) OrderOption
ByShowName orders the results by the show_name field.
func ByType ¶
func ByType(opts ...sql.OrderTermOption) OrderOption
ByType orders the results by the type field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByUseDisplayName ¶
func ByUseDisplayName(opts ...sql.OrderTermOption) OrderOption
ByUseDisplayName orders the results by the use_display_name field.
func ByUses ¶
func ByUses(opts ...sql.OrderTermOption) OrderOption
ByUses orders the results by the uses field.