guild

package
v0.0.0-...-57c7f8a Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2020 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

View Source
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

View Source
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
)

Columns holds all SQL columns for guild fields.

Functions

func And

func And(predicates ...predicate.Guild) predicate.Guild

And groups list of predicates with the AND operator between them.

func CreateTime

func CreateTime(v time.Time) predicate.Guild

CreateTime applies equality check predicate on the "create_time" field. It's identical to CreateTimeEQ.

func CreateTimeEQ

func CreateTimeEQ(v time.Time) predicate.Guild

CreateTimeEQ applies the EQ predicate on the "create_time" field.

func CreateTimeGT

func CreateTimeGT(v time.Time) predicate.Guild

CreateTimeGT applies the GT predicate on the "create_time" field.

func CreateTimeGTE

func CreateTimeGTE(v time.Time) predicate.Guild

CreateTimeGTE applies the GTE predicate on the "create_time" field.

func CreateTimeIn

func CreateTimeIn(vs ...time.Time) predicate.Guild

CreateTimeIn applies the In predicate on the "create_time" field.

func CreateTimeLT

func CreateTimeLT(v time.Time) predicate.Guild

CreateTimeLT applies the LT predicate on the "create_time" field.

func CreateTimeLTE

func CreateTimeLTE(v time.Time) predicate.Guild

CreateTimeLTE applies the LTE predicate on the "create_time" field.

func CreateTimeNEQ

func CreateTimeNEQ(v time.Time) predicate.Guild

CreateTimeNEQ applies the NEQ predicate on the "create_time" field.

func CreateTimeNotIn

func CreateTimeNotIn(vs ...time.Time) predicate.Guild

CreateTimeNotIn applies the NotIn predicate on the "create_time" field.

func ID

func ID(id int) predicate.Guild

ID filters vertices based on their identifier.

func IDEQ

func IDEQ(id int) predicate.Guild

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.Guild

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.Guild

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.Guild

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.Guild

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.Guild

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.Guild

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.Guild

IDNotIn applies the NotIn predicate on the ID field.

func Message

func Message(v string) predicate.Guild

Message applies equality check predicate on the "message" field. It's identical to MessageEQ.

func MessageContains

func MessageContains(v string) predicate.Guild

MessageContains applies the Contains predicate on the "message" field.

func MessageContainsFold

func MessageContainsFold(v string) predicate.Guild

MessageContainsFold applies the ContainsFold predicate on the "message" field.

func MessageEQ

func MessageEQ(v string) predicate.Guild

MessageEQ applies the EQ predicate on the "message" field.

func MessageEqualFold

func MessageEqualFold(v string) predicate.Guild

MessageEqualFold applies the EqualFold predicate on the "message" field.

func MessageGT

func MessageGT(v string) predicate.Guild

MessageGT applies the GT predicate on the "message" field.

func MessageGTE

func MessageGTE(v string) predicate.Guild

MessageGTE applies the GTE predicate on the "message" field.

func MessageHasPrefix

func MessageHasPrefix(v string) predicate.Guild

MessageHasPrefix applies the HasPrefix predicate on the "message" field.

func MessageHasSuffix

func MessageHasSuffix(v string) predicate.Guild

MessageHasSuffix applies the HasSuffix predicate on the "message" field.

func MessageIn

func MessageIn(vs ...string) predicate.Guild

MessageIn applies the In predicate on the "message" field.

func MessageLT

func MessageLT(v string) predicate.Guild

MessageLT applies the LT predicate on the "message" field.

func MessageLTE

func MessageLTE(v string) predicate.Guild

MessageLTE applies the LTE predicate on the "message" field.

func MessageNEQ

func MessageNEQ(v string) predicate.Guild

MessageNEQ applies the NEQ predicate on the "message" field.

func MessageNotIn

func MessageNotIn(vs ...string) predicate.Guild

MessageNotIn applies the NotIn predicate on the "message" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Guild) predicate.Guild

Or groups list of predicates with the OR operator between them.

func Snowflake

func Snowflake(v string) predicate.Guild

Snowflake applies equality check predicate on the "snowflake" field. It's identical to SnowflakeEQ.

func SnowflakeContains

func SnowflakeContains(v string) predicate.Guild

SnowflakeContains applies the Contains predicate on the "snowflake" field.

func SnowflakeContainsFold

func SnowflakeContainsFold(v string) predicate.Guild

SnowflakeContainsFold applies the ContainsFold predicate on the "snowflake" field.

func SnowflakeEQ

func SnowflakeEQ(v string) predicate.Guild

SnowflakeEQ applies the EQ predicate on the "snowflake" field.

func SnowflakeEqualFold

func SnowflakeEqualFold(v string) predicate.Guild

SnowflakeEqualFold applies the EqualFold predicate on the "snowflake" field.

func SnowflakeGT

func SnowflakeGT(v string) predicate.Guild

SnowflakeGT applies the GT predicate on the "snowflake" field.

func SnowflakeGTE

func SnowflakeGTE(v string) predicate.Guild

SnowflakeGTE applies the GTE predicate on the "snowflake" field.

func SnowflakeHasPrefix

func SnowflakeHasPrefix(v string) predicate.Guild

SnowflakeHasPrefix applies the HasPrefix predicate on the "snowflake" field.

func SnowflakeHasSuffix

func SnowflakeHasSuffix(v string) predicate.Guild

SnowflakeHasSuffix applies the HasSuffix predicate on the "snowflake" field.

func SnowflakeIn

func SnowflakeIn(vs ...string) predicate.Guild

SnowflakeIn applies the In predicate on the "snowflake" field.

func SnowflakeLT

func SnowflakeLT(v string) predicate.Guild

SnowflakeLT applies the LT predicate on the "snowflake" field.

func SnowflakeLTE

func SnowflakeLTE(v string) predicate.Guild

SnowflakeLTE applies the LTE predicate on the "snowflake" field.

func SnowflakeNEQ

func SnowflakeNEQ(v string) predicate.Guild

SnowflakeNEQ applies the NEQ predicate on the "snowflake" field.

func SnowflakeNotIn

func SnowflakeNotIn(vs ...string) predicate.Guild

SnowflakeNotIn applies the NotIn predicate on the "snowflake" field.

func UpdateTime

func UpdateTime(v time.Time) predicate.Guild

UpdateTime applies equality check predicate on the "update_time" field. It's identical to UpdateTimeEQ.

func UpdateTimeEQ

func UpdateTimeEQ(v time.Time) predicate.Guild

UpdateTimeEQ applies the EQ predicate on the "update_time" field.

func UpdateTimeGT

func UpdateTimeGT(v time.Time) predicate.Guild

UpdateTimeGT applies the GT predicate on the "update_time" field.

func UpdateTimeGTE

func UpdateTimeGTE(v time.Time) predicate.Guild

UpdateTimeGTE applies the GTE predicate on the "update_time" field.

func UpdateTimeIn

func UpdateTimeIn(vs ...time.Time) predicate.Guild

UpdateTimeIn applies the In predicate on the "update_time" field.

func UpdateTimeLT

func UpdateTimeLT(v time.Time) predicate.Guild

UpdateTimeLT applies the LT predicate on the "update_time" field.

func UpdateTimeLTE

func UpdateTimeLTE(v time.Time) predicate.Guild

UpdateTimeLTE applies the LTE predicate on the "update_time" field.

func UpdateTimeNEQ

func UpdateTimeNEQ(v time.Time) predicate.Guild

UpdateTimeNEQ applies the NEQ predicate on the "update_time" field.

func UpdateTimeNotIn

func UpdateTimeNotIn(vs ...time.Time) predicate.Guild

UpdateTimeNotIn applies the NotIn predicate on the "update_time" field.

Types

This section is empty.

Jump to

Keyboard shortcuts

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