Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Guild) predicate.Guild
- func CreateTime(v time.Time) predicate.Guild
- func CreateTimeEQ(v time.Time) predicate.Guild
- func CreateTimeGT(v time.Time) predicate.Guild
- func CreateTimeGTE(v time.Time) predicate.Guild
- func CreateTimeIn(vs ...time.Time) predicate.Guild
- func CreateTimeLT(v time.Time) predicate.Guild
- func CreateTimeLTE(v time.Time) predicate.Guild
- func CreateTimeNEQ(v time.Time) predicate.Guild
- func CreateTimeNotIn(vs ...time.Time) predicate.Guild
- func ID(id int) predicate.Guild
- func IDEQ(id int) predicate.Guild
- func IDGT(id int) predicate.Guild
- func IDGTE(id int) predicate.Guild
- func IDIn(ids ...int) predicate.Guild
- func IDLT(id int) predicate.Guild
- func IDLTE(id int) predicate.Guild
- func IDNEQ(id int) predicate.Guild
- func IDNotIn(ids ...int) predicate.Guild
- func Message(v string) predicate.Guild
- func MessageContains(v string) predicate.Guild
- func MessageContainsFold(v string) predicate.Guild
- func MessageEQ(v string) predicate.Guild
- func MessageEqualFold(v string) predicate.Guild
- func MessageGT(v string) predicate.Guild
- func MessageGTE(v string) predicate.Guild
- func MessageHasPrefix(v string) predicate.Guild
- func MessageHasSuffix(v string) predicate.Guild
- func MessageIn(vs ...string) predicate.Guild
- func MessageLT(v string) predicate.Guild
- func MessageLTE(v string) predicate.Guild
- func MessageNEQ(v string) predicate.Guild
- func MessageNotIn(vs ...string) predicate.Guild
- func Not(p predicate.Guild) predicate.Guild
- func Or(predicates ...predicate.Guild) predicate.Guild
- func Snowflake(v string) predicate.Guild
- func SnowflakeContains(v string) predicate.Guild
- func SnowflakeContainsFold(v string) predicate.Guild
- func SnowflakeEQ(v string) predicate.Guild
- func SnowflakeEqualFold(v string) predicate.Guild
- func SnowflakeGT(v string) predicate.Guild
- func SnowflakeGTE(v string) predicate.Guild
- func SnowflakeHasPrefix(v string) predicate.Guild
- func SnowflakeHasSuffix(v string) predicate.Guild
- func SnowflakeIn(vs ...string) predicate.Guild
- func SnowflakeLT(v string) predicate.Guild
- func SnowflakeLTE(v string) predicate.Guild
- func SnowflakeNEQ(v string) predicate.Guild
- func SnowflakeNotIn(vs ...string) predicate.Guild
- func UpdateTime(v time.Time) predicate.Guild
- func UpdateTimeEQ(v time.Time) predicate.Guild
- func UpdateTimeGT(v time.Time) predicate.Guild
- func UpdateTimeGTE(v time.Time) predicate.Guild
- func UpdateTimeIn(vs ...time.Time) predicate.Guild
- func UpdateTimeLT(v time.Time) predicate.Guild
- func UpdateTimeLTE(v time.Time) predicate.Guild
- func UpdateTimeNEQ(v time.Time) predicate.Guild
- func UpdateTimeNotIn(vs ...time.Time) predicate.Guild
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" // FieldCreateTime holds the string denoting the create_time field in the database. FieldCreateTime = "create_time" // FieldUpdateTime holds the string denoting the update_time field in the database. FieldUpdateTime = "update_time" // FieldSnowflake holds the string denoting the snowflake field in the database. FieldSnowflake = "snowflake" // FieldMessage holds the string denoting the message field in the database. FieldMessage = "message" // FieldCategories holds the string denoting the categories field in the database. FieldCategories = "categories" // FieldEntitlements holds the string denoting the entitlements field in the database. FieldEntitlements = "entitlements" // Table holds the table name of the guild in the database. Table = "guilds" )
Variables ¶
var ( // DefaultCreateTime holds the default value on creation for the create_time field. DefaultCreateTime func() time.Time // DefaultUpdateTime holds the default value on creation for the update_time field. DefaultUpdateTime func() time.Time // UpdateDefaultUpdateTime holds the default value on update for the update_time field. UpdateDefaultUpdateTime func() time.Time )
var Columns = []string{ FieldID, FieldCreateTime, FieldUpdateTime, FieldSnowflake, FieldMessage, FieldCategories, FieldEntitlements, }
Columns holds all SQL columns for guild fields.
Functions ¶
func CreateTime ¶
CreateTime applies equality check predicate on the "create_time" field. It's identical to CreateTimeEQ.
func CreateTimeEQ ¶
CreateTimeEQ applies the EQ predicate on the "create_time" field.
func CreateTimeGT ¶
CreateTimeGT applies the GT predicate on the "create_time" field.
func CreateTimeGTE ¶
CreateTimeGTE applies the GTE predicate on the "create_time" field.
func CreateTimeIn ¶
CreateTimeIn applies the In predicate on the "create_time" field.
func CreateTimeLT ¶
CreateTimeLT applies the LT predicate on the "create_time" field.
func CreateTimeLTE ¶
CreateTimeLTE applies the LTE predicate on the "create_time" field.
func CreateTimeNEQ ¶
CreateTimeNEQ applies the NEQ predicate on the "create_time" field.
func CreateTimeNotIn ¶
CreateTimeNotIn applies the NotIn predicate on the "create_time" field.
func Message ¶
Message applies equality check predicate on the "message" field. It's identical to MessageEQ.
func MessageContains ¶
MessageContains applies the Contains predicate on the "message" field.
func MessageContainsFold ¶
MessageContainsFold applies the ContainsFold predicate on the "message" field.
func MessageEqualFold ¶
MessageEqualFold applies the EqualFold predicate on the "message" field.
func MessageGTE ¶
MessageGTE applies the GTE predicate on the "message" field.
func MessageHasPrefix ¶
MessageHasPrefix applies the HasPrefix predicate on the "message" field.
func MessageHasSuffix ¶
MessageHasSuffix applies the HasSuffix predicate on the "message" field.
func MessageLTE ¶
MessageLTE applies the LTE predicate on the "message" field.
func MessageNEQ ¶
MessageNEQ applies the NEQ predicate on the "message" field.
func MessageNotIn ¶
MessageNotIn applies the NotIn predicate on the "message" field.
func Snowflake ¶
Snowflake applies equality check predicate on the "snowflake" field. It's identical to SnowflakeEQ.
func SnowflakeContains ¶
SnowflakeContains applies the Contains predicate on the "snowflake" field.
func SnowflakeContainsFold ¶
SnowflakeContainsFold applies the ContainsFold predicate on the "snowflake" field.
func SnowflakeEQ ¶
SnowflakeEQ applies the EQ predicate on the "snowflake" field.
func SnowflakeEqualFold ¶
SnowflakeEqualFold applies the EqualFold predicate on the "snowflake" field.
func SnowflakeGT ¶
SnowflakeGT applies the GT predicate on the "snowflake" field.
func SnowflakeGTE ¶
SnowflakeGTE applies the GTE predicate on the "snowflake" field.
func SnowflakeHasPrefix ¶
SnowflakeHasPrefix applies the HasPrefix predicate on the "snowflake" field.
func SnowflakeHasSuffix ¶
SnowflakeHasSuffix applies the HasSuffix predicate on the "snowflake" field.
func SnowflakeIn ¶
SnowflakeIn applies the In predicate on the "snowflake" field.
func SnowflakeLT ¶
SnowflakeLT applies the LT predicate on the "snowflake" field.
func SnowflakeLTE ¶
SnowflakeLTE applies the LTE predicate on the "snowflake" field.
func SnowflakeNEQ ¶
SnowflakeNEQ applies the NEQ predicate on the "snowflake" field.
func SnowflakeNotIn ¶
SnowflakeNotIn applies the NotIn predicate on the "snowflake" field.
func UpdateTime ¶
UpdateTime applies equality check predicate on the "update_time" field. It's identical to UpdateTimeEQ.
func UpdateTimeEQ ¶
UpdateTimeEQ applies the EQ predicate on the "update_time" field.
func UpdateTimeGT ¶
UpdateTimeGT applies the GT predicate on the "update_time" field.
func UpdateTimeGTE ¶
UpdateTimeGTE applies the GTE predicate on the "update_time" field.
func UpdateTimeIn ¶
UpdateTimeIn applies the In predicate on the "update_time" field.
func UpdateTimeLT ¶
UpdateTimeLT applies the LT predicate on the "update_time" field.
func UpdateTimeLTE ¶
UpdateTimeLTE applies the LTE predicate on the "update_time" field.
func UpdateTimeNEQ ¶
UpdateTimeNEQ applies the NEQ predicate on the "update_time" field.
Types ¶
This section is empty.