twitchcategory

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: May 30, 2023 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the twitchcategory type in the database.
	Label = "twitch_category"
	// 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"
	// FieldBoxArtURL holds the string denoting the box_art_url field in the database.
	FieldBoxArtURL = "box_art_url"
	// FieldIgdbID holds the string denoting the igdb_id field in the database.
	FieldIgdbID = "igdb_id"
	// FieldUpdatedAt holds the string denoting the updated_at field in the database.
	FieldUpdatedAt = "updated_at"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// Table holds the table name of the twitchcategory in the database.
	Table = "twitch_categories"
)

Variables

View Source
var (
	// 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
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
)

Columns holds all SQL columns for twitchcategory fields.

Functions

func And

And groups predicates with the AND operator between them.

func BoxArtURL

func BoxArtURL(v string) predicate.TwitchCategory

BoxArtURL applies equality check predicate on the "box_art_url" field. It's identical to BoxArtURLEQ.

func BoxArtURLContains

func BoxArtURLContains(v string) predicate.TwitchCategory

BoxArtURLContains applies the Contains predicate on the "box_art_url" field.

func BoxArtURLContainsFold

func BoxArtURLContainsFold(v string) predicate.TwitchCategory

BoxArtURLContainsFold applies the ContainsFold predicate on the "box_art_url" field.

func BoxArtURLEQ

func BoxArtURLEQ(v string) predicate.TwitchCategory

BoxArtURLEQ applies the EQ predicate on the "box_art_url" field.

func BoxArtURLEqualFold

func BoxArtURLEqualFold(v string) predicate.TwitchCategory

BoxArtURLEqualFold applies the EqualFold predicate on the "box_art_url" field.

func BoxArtURLGT

func BoxArtURLGT(v string) predicate.TwitchCategory

BoxArtURLGT applies the GT predicate on the "box_art_url" field.

func BoxArtURLGTE

func BoxArtURLGTE(v string) predicate.TwitchCategory

BoxArtURLGTE applies the GTE predicate on the "box_art_url" field.

func BoxArtURLHasPrefix

func BoxArtURLHasPrefix(v string) predicate.TwitchCategory

BoxArtURLHasPrefix applies the HasPrefix predicate on the "box_art_url" field.

func BoxArtURLHasSuffix

func BoxArtURLHasSuffix(v string) predicate.TwitchCategory

BoxArtURLHasSuffix applies the HasSuffix predicate on the "box_art_url" field.

func BoxArtURLIn

func BoxArtURLIn(vs ...string) predicate.TwitchCategory

BoxArtURLIn applies the In predicate on the "box_art_url" field.

func BoxArtURLIsNil

func BoxArtURLIsNil() predicate.TwitchCategory

BoxArtURLIsNil applies the IsNil predicate on the "box_art_url" field.

func BoxArtURLLT

func BoxArtURLLT(v string) predicate.TwitchCategory

BoxArtURLLT applies the LT predicate on the "box_art_url" field.

func BoxArtURLLTE

func BoxArtURLLTE(v string) predicate.TwitchCategory

BoxArtURLLTE applies the LTE predicate on the "box_art_url" field.

func BoxArtURLNEQ

func BoxArtURLNEQ(v string) predicate.TwitchCategory

BoxArtURLNEQ applies the NEQ predicate on the "box_art_url" field.

func BoxArtURLNotIn

func BoxArtURLNotIn(vs ...string) predicate.TwitchCategory

BoxArtURLNotIn applies the NotIn predicate on the "box_art_url" field.

func BoxArtURLNotNil

func BoxArtURLNotNil() predicate.TwitchCategory

BoxArtURLNotNil applies the NotNil predicate on the "box_art_url" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.TwitchCategory

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.TwitchCategory

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.TwitchCategory

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.TwitchCategory

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.TwitchCategory

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.TwitchCategory

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.TwitchCategory

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.TwitchCategory

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.TwitchCategory

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func ID

ID filters vertices based on their ID field.

func IDContainsFold added in v1.2.12

func IDContainsFold(id string) predicate.TwitchCategory

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold added in v1.2.12

func IDEqualFold(id string) predicate.TwitchCategory

IDEqualFold applies the EqualFold predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...string) predicate.TwitchCategory

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...string) predicate.TwitchCategory

IDNotIn applies the NotIn predicate on the ID field.

func IgdbID

IgdbID applies equality check predicate on the "igdb_id" field. It's identical to IgdbIDEQ.

func IgdbIDContains

func IgdbIDContains(v string) predicate.TwitchCategory

IgdbIDContains applies the Contains predicate on the "igdb_id" field.

func IgdbIDContainsFold

func IgdbIDContainsFold(v string) predicate.TwitchCategory

IgdbIDContainsFold applies the ContainsFold predicate on the "igdb_id" field.

func IgdbIDEQ

func IgdbIDEQ(v string) predicate.TwitchCategory

IgdbIDEQ applies the EQ predicate on the "igdb_id" field.

func IgdbIDEqualFold

func IgdbIDEqualFold(v string) predicate.TwitchCategory

IgdbIDEqualFold applies the EqualFold predicate on the "igdb_id" field.

func IgdbIDGT

func IgdbIDGT(v string) predicate.TwitchCategory

IgdbIDGT applies the GT predicate on the "igdb_id" field.

func IgdbIDGTE

func IgdbIDGTE(v string) predicate.TwitchCategory

IgdbIDGTE applies the GTE predicate on the "igdb_id" field.

func IgdbIDHasPrefix

func IgdbIDHasPrefix(v string) predicate.TwitchCategory

IgdbIDHasPrefix applies the HasPrefix predicate on the "igdb_id" field.

func IgdbIDHasSuffix

func IgdbIDHasSuffix(v string) predicate.TwitchCategory

IgdbIDHasSuffix applies the HasSuffix predicate on the "igdb_id" field.

func IgdbIDIn

func IgdbIDIn(vs ...string) predicate.TwitchCategory

IgdbIDIn applies the In predicate on the "igdb_id" field.

func IgdbIDIsNil

func IgdbIDIsNil() predicate.TwitchCategory

IgdbIDIsNil applies the IsNil predicate on the "igdb_id" field.

func IgdbIDLT

func IgdbIDLT(v string) predicate.TwitchCategory

IgdbIDLT applies the LT predicate on the "igdb_id" field.

func IgdbIDLTE

func IgdbIDLTE(v string) predicate.TwitchCategory

IgdbIDLTE applies the LTE predicate on the "igdb_id" field.

func IgdbIDNEQ

func IgdbIDNEQ(v string) predicate.TwitchCategory

IgdbIDNEQ applies the NEQ predicate on the "igdb_id" field.

func IgdbIDNotIn

func IgdbIDNotIn(vs ...string) predicate.TwitchCategory

IgdbIDNotIn applies the NotIn predicate on the "igdb_id" field.

func IgdbIDNotNil

func IgdbIDNotNil() predicate.TwitchCategory

IgdbIDNotNil applies the NotNil predicate on the "igdb_id" field.

func Name

Name applies equality check predicate on the "name" field. It's identical to NameEQ.

func NameContains

func NameContains(v string) predicate.TwitchCategory

NameContains applies the Contains predicate on the "name" field.

func NameContainsFold

func NameContainsFold(v string) predicate.TwitchCategory

NameContainsFold applies the ContainsFold predicate on the "name" field.

func NameEQ

NameEQ applies the EQ predicate on the "name" field.

func NameEqualFold

func NameEqualFold(v string) predicate.TwitchCategory

NameEqualFold applies the EqualFold predicate on the "name" field.

func NameGT

NameGT applies the GT predicate on the "name" field.

func NameGTE

func NameGTE(v string) predicate.TwitchCategory

NameGTE applies the GTE predicate on the "name" field.

func NameHasPrefix

func NameHasPrefix(v string) predicate.TwitchCategory

NameHasPrefix applies the HasPrefix predicate on the "name" field.

func NameHasSuffix

func NameHasSuffix(v string) predicate.TwitchCategory

NameHasSuffix applies the HasSuffix predicate on the "name" field.

func NameIn

func NameIn(vs ...string) predicate.TwitchCategory

NameIn applies the In predicate on the "name" field.

func NameLT

NameLT applies the LT predicate on the "name" field.

func NameLTE

func NameLTE(v string) predicate.TwitchCategory

NameLTE applies the LTE predicate on the "name" field.

func NameNEQ

func NameNEQ(v string) predicate.TwitchCategory

NameNEQ applies the NEQ predicate on the "name" field.

func NameNotIn

func NameNotIn(vs ...string) predicate.TwitchCategory

NameNotIn applies the NotIn predicate on the "name" field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.TwitchCategory

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.TwitchCategory

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.TwitchCategory

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.TwitchCategory

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.TwitchCategory

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.TwitchCategory

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.TwitchCategory

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.TwitchCategory

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.TwitchCategory

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

type OrderOption added in v1.2.12

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the TwitchCategory queries.

func ByBoxArtURL added in v1.2.12

func ByBoxArtURL(opts ...sql.OrderTermOption) OrderOption

ByBoxArtURL orders the results by the box_art_url field.

func ByCreatedAt added in v1.2.12

func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption

ByCreatedAt orders the results by the created_at field.

func ByID added in v1.2.12

func ByID(opts ...sql.OrderTermOption) OrderOption

ByID orders the results by the id field.

func ByIgdbID added in v1.2.12

func ByIgdbID(opts ...sql.OrderTermOption) OrderOption

ByIgdbID orders the results by the igdb_id field.

func ByName added in v1.2.12

func ByName(opts ...sql.OrderTermOption) OrderOption

ByName orders the results by the name field.

func ByUpdatedAt added in v1.2.12

func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption

ByUpdatedAt orders the results by the updated_at field.

Jump to

Keyboard shortcuts

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