subscription

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2022 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the subscription type in the database.
	Label = "subscription"
	// 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"
	// FieldGroupID holds the string denoting the group_id field in the database.
	FieldGroupID = "group_id"
	// FieldSteamID holds the string denoting the steam_id field in the database.
	FieldSteamID = "steam_id"
	// FieldAlias holds the string denoting the alias field in the database.
	FieldAlias = "alias"
	// Table holds the table name of the subscription in the database.
	Table = "subscriptions"
)

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 subscription fields.

Functions

func Alias

func Alias(v string) predicate.Subscription

Alias applies equality check predicate on the "alias" field. It's identical to AliasEQ.

func AliasContains

func AliasContains(v string) predicate.Subscription

AliasContains applies the Contains predicate on the "alias" field.

func AliasContainsFold

func AliasContainsFold(v string) predicate.Subscription

AliasContainsFold applies the ContainsFold predicate on the "alias" field.

func AliasEQ

func AliasEQ(v string) predicate.Subscription

AliasEQ applies the EQ predicate on the "alias" field.

func AliasEqualFold

func AliasEqualFold(v string) predicate.Subscription

AliasEqualFold applies the EqualFold predicate on the "alias" field.

func AliasGT

func AliasGT(v string) predicate.Subscription

AliasGT applies the GT predicate on the "alias" field.

func AliasGTE

func AliasGTE(v string) predicate.Subscription

AliasGTE applies the GTE predicate on the "alias" field.

func AliasHasPrefix

func AliasHasPrefix(v string) predicate.Subscription

AliasHasPrefix applies the HasPrefix predicate on the "alias" field.

func AliasHasSuffix

func AliasHasSuffix(v string) predicate.Subscription

AliasHasSuffix applies the HasSuffix predicate on the "alias" field.

func AliasIn

func AliasIn(vs ...string) predicate.Subscription

AliasIn applies the In predicate on the "alias" field.

func AliasLT

func AliasLT(v string) predicate.Subscription

AliasLT applies the LT predicate on the "alias" field.

func AliasLTE

func AliasLTE(v string) predicate.Subscription

AliasLTE applies the LTE predicate on the "alias" field.

func AliasNEQ

func AliasNEQ(v string) predicate.Subscription

AliasNEQ applies the NEQ predicate on the "alias" field.

func AliasNotIn

func AliasNotIn(vs ...string) predicate.Subscription

AliasNotIn applies the NotIn predicate on the "alias" field.

func And

func And(predicates ...predicate.Subscription) predicate.Subscription

And groups predicates with the AND operator between them.

func CreateTime

func CreateTime(v time.Time) predicate.Subscription

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

func CreateTimeEQ

func CreateTimeEQ(v time.Time) predicate.Subscription

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

func CreateTimeGT

func CreateTimeGT(v time.Time) predicate.Subscription

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

func CreateTimeGTE

func CreateTimeGTE(v time.Time) predicate.Subscription

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

func CreateTimeIn

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

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

func CreateTimeLT

func CreateTimeLT(v time.Time) predicate.Subscription

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

func CreateTimeLTE

func CreateTimeLTE(v time.Time) predicate.Subscription

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

func CreateTimeNEQ

func CreateTimeNEQ(v time.Time) predicate.Subscription

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

func CreateTimeNotIn

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

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

func GroupID

func GroupID(v int) predicate.Subscription

GroupID applies equality check predicate on the "group_id" field. It's identical to GroupIDEQ.

func GroupIDEQ

func GroupIDEQ(v int) predicate.Subscription

GroupIDEQ applies the EQ predicate on the "group_id" field.

func GroupIDGT

func GroupIDGT(v int) predicate.Subscription

GroupIDGT applies the GT predicate on the "group_id" field.

func GroupIDGTE

func GroupIDGTE(v int) predicate.Subscription

GroupIDGTE applies the GTE predicate on the "group_id" field.

func GroupIDIn

func GroupIDIn(vs ...int) predicate.Subscription

GroupIDIn applies the In predicate on the "group_id" field.

func GroupIDLT

func GroupIDLT(v int) predicate.Subscription

GroupIDLT applies the LT predicate on the "group_id" field.

func GroupIDLTE

func GroupIDLTE(v int) predicate.Subscription

GroupIDLTE applies the LTE predicate on the "group_id" field.

func GroupIDNEQ

func GroupIDNEQ(v int) predicate.Subscription

GroupIDNEQ applies the NEQ predicate on the "group_id" field.

func GroupIDNotIn

func GroupIDNotIn(vs ...int) predicate.Subscription

GroupIDNotIn applies the NotIn predicate on the "group_id" field.

func ID

func ID(id int) predicate.Subscription

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.Subscription

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.Subscription

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.Subscription

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.Subscription

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.Subscription

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.Subscription

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Subscription) predicate.Subscription

Or groups predicates with the OR operator between them.

func SteamID

func SteamID(v string) predicate.Subscription

SteamID applies equality check predicate on the "steam_id" field. It's identical to SteamIDEQ.

func SteamIDContains

func SteamIDContains(v string) predicate.Subscription

SteamIDContains applies the Contains predicate on the "steam_id" field.

func SteamIDContainsFold

func SteamIDContainsFold(v string) predicate.Subscription

SteamIDContainsFold applies the ContainsFold predicate on the "steam_id" field.

func SteamIDEQ

func SteamIDEQ(v string) predicate.Subscription

SteamIDEQ applies the EQ predicate on the "steam_id" field.

func SteamIDEqualFold

func SteamIDEqualFold(v string) predicate.Subscription

SteamIDEqualFold applies the EqualFold predicate on the "steam_id" field.

func SteamIDGT

func SteamIDGT(v string) predicate.Subscription

SteamIDGT applies the GT predicate on the "steam_id" field.

func SteamIDGTE

func SteamIDGTE(v string) predicate.Subscription

SteamIDGTE applies the GTE predicate on the "steam_id" field.

func SteamIDHasPrefix

func SteamIDHasPrefix(v string) predicate.Subscription

SteamIDHasPrefix applies the HasPrefix predicate on the "steam_id" field.

func SteamIDHasSuffix

func SteamIDHasSuffix(v string) predicate.Subscription

SteamIDHasSuffix applies the HasSuffix predicate on the "steam_id" field.

func SteamIDIn

func SteamIDIn(vs ...string) predicate.Subscription

SteamIDIn applies the In predicate on the "steam_id" field.

func SteamIDLT

func SteamIDLT(v string) predicate.Subscription

SteamIDLT applies the LT predicate on the "steam_id" field.

func SteamIDLTE

func SteamIDLTE(v string) predicate.Subscription

SteamIDLTE applies the LTE predicate on the "steam_id" field.

func SteamIDNEQ

func SteamIDNEQ(v string) predicate.Subscription

SteamIDNEQ applies the NEQ predicate on the "steam_id" field.

func SteamIDNotIn

func SteamIDNotIn(vs ...string) predicate.Subscription

SteamIDNotIn applies the NotIn predicate on the "steam_id" field.

func UpdateTime

func UpdateTime(v time.Time) predicate.Subscription

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

func UpdateTimeEQ

func UpdateTimeEQ(v time.Time) predicate.Subscription

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

func UpdateTimeGT

func UpdateTimeGT(v time.Time) predicate.Subscription

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

func UpdateTimeGTE

func UpdateTimeGTE(v time.Time) predicate.Subscription

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

func UpdateTimeIn

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

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

func UpdateTimeLT

func UpdateTimeLT(v time.Time) predicate.Subscription

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

func UpdateTimeLTE

func UpdateTimeLTE(v time.Time) predicate.Subscription

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

func UpdateTimeNEQ

func UpdateTimeNEQ(v time.Time) predicate.Subscription

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

func UpdateTimeNotIn

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

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

func ValidColumn

func ValidColumn(column string) bool

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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