proxysubscribecategory

package
v1.0.11 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the proxysubscribecategory type in the database.
	Label = "proxy_subscribe_category"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldParentID holds the string denoting the parent_id field in the database.
	FieldParentID = "parent_id"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldDescription holds the string denoting the description field in the database.
	FieldDescription = "description"
	// FieldLanguage holds the string denoting the language field in the database.
	FieldLanguage = "language"
	// FieldShow holds the string denoting the show field in the database.
	FieldShow = "show"
	// FieldSort holds the string denoting the sort field in the database.
	FieldSort = "sort"
	// 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 proxysubscribecategory in the database.
	Table = "subscribe_category"
)

Variables

View Source
var (
	// DefaultParentID holds the default value on creation for the "parent_id" field.
	DefaultParentID int64
	// DefaultName holds the default value on creation for the "name" field.
	DefaultName string
	// NameValidator is a validator for the "name" field. It is called by the builders before save.
	NameValidator func(string) error
	// DefaultLanguage holds the default value on creation for the "language" field.
	DefaultLanguage string
	// LanguageValidator is a validator for the "language" field. It is called by the builders before save.
	LanguageValidator func(string) error
	// DefaultShow holds the default value on creation for the "show" field.
	DefaultShow bool
	// DefaultSort holds the default value on creation for the "sort" field.
	DefaultSort int32
	// 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
	// IDValidator is a validator for the "id" field. It is called by the builders before save.
	IDValidator func(int64) error
)

Columns holds all SQL columns for proxysubscribecategory fields.

Functions

func And

And groups predicates with the AND operator between them.

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

func CreatedAtGTE(v time.Time) predicate.ProxySubscribeCategory

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

func CreatedAtIn

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

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

func CreatedAtLT

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.ProxySubscribeCategory

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.ProxySubscribeCategory

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

func CreatedAtNotIn

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

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

func Description

Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.

func DescriptionContains

func DescriptionContains(v string) predicate.ProxySubscribeCategory

DescriptionContains applies the Contains predicate on the "description" field.

func DescriptionContainsFold

func DescriptionContainsFold(v string) predicate.ProxySubscribeCategory

DescriptionContainsFold applies the ContainsFold predicate on the "description" field.

func DescriptionEQ

func DescriptionEQ(v string) predicate.ProxySubscribeCategory

DescriptionEQ applies the EQ predicate on the "description" field.

func DescriptionEqualFold

func DescriptionEqualFold(v string) predicate.ProxySubscribeCategory

DescriptionEqualFold applies the EqualFold predicate on the "description" field.

func DescriptionGT

func DescriptionGT(v string) predicate.ProxySubscribeCategory

DescriptionGT applies the GT predicate on the "description" field.

func DescriptionGTE

func DescriptionGTE(v string) predicate.ProxySubscribeCategory

DescriptionGTE applies the GTE predicate on the "description" field.

func DescriptionHasPrefix

func DescriptionHasPrefix(v string) predicate.ProxySubscribeCategory

DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.

func DescriptionHasSuffix

func DescriptionHasSuffix(v string) predicate.ProxySubscribeCategory

DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.

func DescriptionIn

func DescriptionIn(vs ...string) predicate.ProxySubscribeCategory

DescriptionIn applies the In predicate on the "description" field.

func DescriptionIsNil

func DescriptionIsNil() predicate.ProxySubscribeCategory

DescriptionIsNil applies the IsNil predicate on the "description" field.

func DescriptionLT

func DescriptionLT(v string) predicate.ProxySubscribeCategory

DescriptionLT applies the LT predicate on the "description" field.

func DescriptionLTE

func DescriptionLTE(v string) predicate.ProxySubscribeCategory

DescriptionLTE applies the LTE predicate on the "description" field.

func DescriptionNEQ

func DescriptionNEQ(v string) predicate.ProxySubscribeCategory

DescriptionNEQ applies the NEQ predicate on the "description" field.

func DescriptionNotIn

func DescriptionNotIn(vs ...string) predicate.ProxySubscribeCategory

DescriptionNotIn applies the NotIn predicate on the "description" field.

func DescriptionNotNil

func DescriptionNotNil() predicate.ProxySubscribeCategory

DescriptionNotNil applies the NotNil predicate on the "description" field.

func ID

ID filters vertices based on their ID field.

func IDEQ

IDEQ applies the EQ 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

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 ...int64) predicate.ProxySubscribeCategory

IDNotIn applies the NotIn predicate on the ID field.

func Language

Language applies equality check predicate on the "language" field. It's identical to LanguageEQ.

func LanguageContains

func LanguageContains(v string) predicate.ProxySubscribeCategory

LanguageContains applies the Contains predicate on the "language" field.

func LanguageContainsFold

func LanguageContainsFold(v string) predicate.ProxySubscribeCategory

LanguageContainsFold applies the ContainsFold predicate on the "language" field.

func LanguageEQ

LanguageEQ applies the EQ predicate on the "language" field.

func LanguageEqualFold

func LanguageEqualFold(v string) predicate.ProxySubscribeCategory

LanguageEqualFold applies the EqualFold predicate on the "language" field.

func LanguageGT

LanguageGT applies the GT predicate on the "language" field.

func LanguageGTE

LanguageGTE applies the GTE predicate on the "language" field.

func LanguageHasPrefix

func LanguageHasPrefix(v string) predicate.ProxySubscribeCategory

LanguageHasPrefix applies the HasPrefix predicate on the "language" field.

func LanguageHasSuffix

func LanguageHasSuffix(v string) predicate.ProxySubscribeCategory

LanguageHasSuffix applies the HasSuffix predicate on the "language" field.

func LanguageIn

func LanguageIn(vs ...string) predicate.ProxySubscribeCategory

LanguageIn applies the In predicate on the "language" field.

func LanguageLT

LanguageLT applies the LT predicate on the "language" field.

func LanguageLTE

LanguageLTE applies the LTE predicate on the "language" field.

func LanguageNEQ

LanguageNEQ applies the NEQ predicate on the "language" field.

func LanguageNotIn

func LanguageNotIn(vs ...string) predicate.ProxySubscribeCategory

LanguageNotIn applies the NotIn predicate on the "language" field.

func Name

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

func NameContains

func NameContains(v string) predicate.ProxySubscribeCategory

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

func NameContainsFold

func NameContainsFold(v string) predicate.ProxySubscribeCategory

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.ProxySubscribeCategory

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

func NameGT

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

func NameGTE

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

func NameHasPrefix

func NameHasPrefix(v string) predicate.ProxySubscribeCategory

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

func NameHasSuffix

func NameHasSuffix(v string) predicate.ProxySubscribeCategory

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

func NameIn

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

func NameLT

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

func NameLTE

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

func NameNEQ

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

func NameNotIn

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

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 ParentID

ParentID applies equality check predicate on the "parent_id" field. It's identical to ParentIDEQ.

func ParentIDEQ

ParentIDEQ applies the EQ predicate on the "parent_id" field.

func ParentIDGT

ParentIDGT applies the GT predicate on the "parent_id" field.

func ParentIDGTE

func ParentIDGTE(v int64) predicate.ProxySubscribeCategory

ParentIDGTE applies the GTE predicate on the "parent_id" field.

func ParentIDIn

func ParentIDIn(vs ...int64) predicate.ProxySubscribeCategory

ParentIDIn applies the In predicate on the "parent_id" field.

func ParentIDLT

ParentIDLT applies the LT predicate on the "parent_id" field.

func ParentIDLTE

func ParentIDLTE(v int64) predicate.ProxySubscribeCategory

ParentIDLTE applies the LTE predicate on the "parent_id" field.

func ParentIDNEQ

func ParentIDNEQ(v int64) predicate.ProxySubscribeCategory

ParentIDNEQ applies the NEQ predicate on the "parent_id" field.

func ParentIDNotIn

func ParentIDNotIn(vs ...int64) predicate.ProxySubscribeCategory

ParentIDNotIn applies the NotIn predicate on the "parent_id" field.

func Show

Show applies equality check predicate on the "show" field. It's identical to ShowEQ.

func ShowEQ

ShowEQ applies the EQ predicate on the "show" field.

func ShowNEQ

ShowNEQ applies the NEQ predicate on the "show" field.

func Sort

Sort applies equality check predicate on the "sort" field. It's identical to SortEQ.

func SortEQ

SortEQ applies the EQ predicate on the "sort" field.

func SortGT

SortGT applies the GT predicate on the "sort" field.

func SortGTE

SortGTE applies the GTE predicate on the "sort" field.

func SortIn

SortIn applies the In predicate on the "sort" field.

func SortLT

SortLT applies the LT predicate on the "sort" field.

func SortLTE

SortLTE applies the LTE predicate on the "sort" field.

func SortNEQ

SortNEQ applies the NEQ predicate on the "sort" field.

func SortNotIn

func SortNotIn(vs ...int32) predicate.ProxySubscribeCategory

SortNotIn applies the NotIn predicate on the "sort" 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

func UpdatedAtGTE(v time.Time) predicate.ProxySubscribeCategory

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

func UpdatedAtIn

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

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

func UpdatedAtLT

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.ProxySubscribeCategory

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.ProxySubscribeCategory

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

func UpdatedAtNotIn

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

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

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the ProxySubscribeCategory queries.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByDescription

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

ByDescription orders the results by the description field.

func ByID

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

ByID orders the results by the id field.

func ByLanguage

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

ByLanguage orders the results by the language field.

func ByName

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

ByName orders the results by the name field.

func ByParentID

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

ByParentID orders the results by the parent_id field.

func ByShow

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

ByShow orders the results by the show field.

func BySort

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

BySort orders the results by the sort field.

func ByUpdatedAt

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