Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Guild) predicate.Guild
- func CreatedAt(v time.Time) predicate.Guild
- func CreatedAtEQ(v time.Time) predicate.Guild
- func CreatedAtGT(v time.Time) predicate.Guild
- func CreatedAtGTE(v time.Time) predicate.Guild
- func CreatedAtIn(vs ...time.Time) predicate.Guild
- func CreatedAtLT(v time.Time) predicate.Guild
- func CreatedAtLTE(v time.Time) predicate.Guild
- func CreatedAtNEQ(v time.Time) predicate.Guild
- func CreatedAtNotIn(vs ...time.Time) predicate.Guild
- func ID(id snowflake.ID) predicate.Guild
- func IDEQ(id snowflake.ID) predicate.Guild
- func IDGT(id snowflake.ID) predicate.Guild
- func IDGTE(id snowflake.ID) predicate.Guild
- func IDIn(ids ...snowflake.ID) predicate.Guild
- func IDLT(id snowflake.ID) predicate.Guild
- func IDLTE(id snowflake.ID) predicate.Guild
- func IDNEQ(id snowflake.ID) predicate.Guild
- func IDNotIn(ids ...snowflake.ID) predicate.Guild
- func Name(v string) predicate.Guild
- func NameContains(v string) predicate.Guild
- func NameContainsFold(v string) predicate.Guild
- func NameEQ(v string) predicate.Guild
- func NameEqualFold(v string) predicate.Guild
- func NameGT(v string) predicate.Guild
- func NameGTE(v string) predicate.Guild
- func NameHasPrefix(v string) predicate.Guild
- func NameHasSuffix(v string) predicate.Guild
- func NameIn(vs ...string) predicate.Guild
- func NameLT(v string) predicate.Guild
- func NameLTE(v string) predicate.Guild
- func NameNEQ(v string) predicate.Guild
- func NameNotIn(vs ...string) predicate.Guild
- func Not(p predicate.Guild) predicate.Guild
- func Or(predicates ...predicate.Guild) predicate.Guild
- func PlayerChannelID(v snowflake.ID) predicate.Guild
- func PlayerChannelIDEQ(v snowflake.ID) predicate.Guild
- func PlayerChannelIDGT(v snowflake.ID) predicate.Guild
- func PlayerChannelIDGTE(v snowflake.ID) predicate.Guild
- func PlayerChannelIDIn(vs ...snowflake.ID) predicate.Guild
- func PlayerChannelIDIsNil() predicate.Guild
- func PlayerChannelIDLT(v snowflake.ID) predicate.Guild
- func PlayerChannelIDLTE(v snowflake.ID) predicate.Guild
- func PlayerChannelIDNEQ(v snowflake.ID) predicate.Guild
- func PlayerChannelIDNotIn(vs ...snowflake.ID) predicate.Guild
- func PlayerChannelIDNotNil() predicate.Guild
- func PlayerMessageID(v snowflake.ID) predicate.Guild
- func PlayerMessageIDEQ(v snowflake.ID) predicate.Guild
- func PlayerMessageIDGT(v snowflake.ID) predicate.Guild
- func PlayerMessageIDGTE(v snowflake.ID) predicate.Guild
- func PlayerMessageIDIn(vs ...snowflake.ID) predicate.Guild
- func PlayerMessageIDIsNil() predicate.Guild
- func PlayerMessageIDLT(v snowflake.ID) predicate.Guild
- func PlayerMessageIDLTE(v snowflake.ID) predicate.Guild
- func PlayerMessageIDNEQ(v snowflake.ID) predicate.Guild
- func PlayerMessageIDNotIn(vs ...snowflake.ID) predicate.Guild
- func PlayerMessageIDNotNil() predicate.Guild
- func UpdatedAt(v time.Time) predicate.Guild
- func UpdatedAtEQ(v time.Time) predicate.Guild
- func UpdatedAtGT(v time.Time) predicate.Guild
- func UpdatedAtGTE(v time.Time) predicate.Guild
- func UpdatedAtIn(vs ...time.Time) predicate.Guild
- func UpdatedAtLT(v time.Time) predicate.Guild
- func UpdatedAtLTE(v time.Time) predicate.Guild
- func UpdatedAtNEQ(v time.Time) predicate.Guild
- func UpdatedAtNotIn(vs ...time.Time) predicate.Guild
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the guild type in the database. Label = "guild" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldPlayerChannelID holds the string denoting the player_channel_id field in the database. FieldPlayerChannelID = "player_channel_id" // FieldPlayerMessageID holds the string denoting the player_message_id field in the database. FieldPlayerMessageID = "player_message_id" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // Table holds the table name of the guild in the database. Table = "guilds" )
Variables ¶
var ( // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultUpdatedAt holds the default value on creation for the "updated_at" field. DefaultUpdatedAt func() time.Time // UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field. UpdateDefaultUpdatedAt func() time.Time )
var Columns = []string{ FieldID, FieldName, FieldPlayerChannelID, FieldPlayerMessageID, FieldCreatedAt, FieldUpdatedAt, }
Columns holds all SQL columns for guild fields.
Functions ¶
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func NameContains ¶
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEqualFold ¶
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameHasPrefix ¶
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func PlayerChannelID ¶
PlayerChannelID applies equality check predicate on the "player_channel_id" field. It's identical to PlayerChannelIDEQ.
func PlayerChannelIDEQ ¶
PlayerChannelIDEQ applies the EQ predicate on the "player_channel_id" field.
func PlayerChannelIDGT ¶
PlayerChannelIDGT applies the GT predicate on the "player_channel_id" field.
func PlayerChannelIDGTE ¶
PlayerChannelIDGTE applies the GTE predicate on the "player_channel_id" field.
func PlayerChannelIDIn ¶
PlayerChannelIDIn applies the In predicate on the "player_channel_id" field.
func PlayerChannelIDIsNil ¶
PlayerChannelIDIsNil applies the IsNil predicate on the "player_channel_id" field.
func PlayerChannelIDLT ¶
PlayerChannelIDLT applies the LT predicate on the "player_channel_id" field.
func PlayerChannelIDLTE ¶
PlayerChannelIDLTE applies the LTE predicate on the "player_channel_id" field.
func PlayerChannelIDNEQ ¶
PlayerChannelIDNEQ applies the NEQ predicate on the "player_channel_id" field.
func PlayerChannelIDNotIn ¶
PlayerChannelIDNotIn applies the NotIn predicate on the "player_channel_id" field.
func PlayerChannelIDNotNil ¶
PlayerChannelIDNotNil applies the NotNil predicate on the "player_channel_id" field.
func PlayerMessageID ¶
PlayerMessageID applies equality check predicate on the "player_message_id" field. It's identical to PlayerMessageIDEQ.
func PlayerMessageIDEQ ¶
PlayerMessageIDEQ applies the EQ predicate on the "player_message_id" field.
func PlayerMessageIDGT ¶
PlayerMessageIDGT applies the GT predicate on the "player_message_id" field.
func PlayerMessageIDGTE ¶
PlayerMessageIDGTE applies the GTE predicate on the "player_message_id" field.
func PlayerMessageIDIn ¶
PlayerMessageIDIn applies the In predicate on the "player_message_id" field.
func PlayerMessageIDIsNil ¶
PlayerMessageIDIsNil applies the IsNil predicate on the "player_message_id" field.
func PlayerMessageIDLT ¶
PlayerMessageIDLT applies the LT predicate on the "player_message_id" field.
func PlayerMessageIDLTE ¶
PlayerMessageIDLTE applies the LTE predicate on the "player_message_id" field.
func PlayerMessageIDNEQ ¶
PlayerMessageIDNEQ applies the NEQ predicate on the "player_message_id" field.
func PlayerMessageIDNotIn ¶
PlayerMessageIDNotIn applies the NotIn predicate on the "player_message_id" field.
func PlayerMessageIDNotNil ¶
PlayerMessageIDNotNil applies the NotNil predicate on the "player_message_id" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.