proxysubscribegroup

package
v1.0.7 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the proxysubscribegroup type in the database.
	Label = "proxy_subscribe_group"
	// 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"
	// FieldDescription holds the string denoting the description field in the database.
	FieldDescription = "description"
	// FieldIsExpiredGroup holds the string denoting the is_expired_group field in the database.
	FieldIsExpiredGroup = "is_expired_group"
	// FieldExpiredDaysLimit holds the string denoting the expired_days_limit field in the database.
	FieldExpiredDaysLimit = "expired_days_limit"
	// FieldMaxTrafficGBExpired holds the string denoting the max_traffic_gb_expired field in the database.
	FieldMaxTrafficGBExpired = "max_traffic_gb_expired"
	// FieldSpeedLimit holds the string denoting the speed_limit field in the database.
	FieldSpeedLimit = "speed_limit"
	// 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 proxysubscribegroup in the database.
	Table = "subscribe_group"
)

Variables

View Source
var (
	// 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
	// DefaultIsExpiredGroup holds the default value on creation for the "is_expired_group" field.
	DefaultIsExpiredGroup bool
	// DefaultExpiredDaysLimit holds the default value on creation for the "expired_days_limit" field.
	DefaultExpiredDaysLimit int32
	// DefaultMaxTrafficGBExpired holds the default value on creation for the "max_traffic_gb_expired" field.
	DefaultMaxTrafficGBExpired int32
	// DefaultSpeedLimit holds the default value on creation for the "speed_limit" field.
	DefaultSpeedLimit int64
	// 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 proxysubscribegroup 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

func CreatedAtEQ(v time.Time) predicate.ProxySubscribeGroup

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.ProxySubscribeGroup

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.ProxySubscribeGroup

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.ProxySubscribeGroup

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.ProxySubscribeGroup

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.ProxySubscribeGroup

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

func CreatedAtNotIn

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

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

func Description

func Description(v string) predicate.ProxySubscribeGroup

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

func DescriptionContains

func DescriptionContains(v string) predicate.ProxySubscribeGroup

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

func DescriptionContainsFold

func DescriptionContainsFold(v string) predicate.ProxySubscribeGroup

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

func DescriptionEQ

func DescriptionEQ(v string) predicate.ProxySubscribeGroup

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

func DescriptionEqualFold

func DescriptionEqualFold(v string) predicate.ProxySubscribeGroup

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

func DescriptionGT

func DescriptionGT(v string) predicate.ProxySubscribeGroup

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

func DescriptionGTE

func DescriptionGTE(v string) predicate.ProxySubscribeGroup

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

func DescriptionHasPrefix

func DescriptionHasPrefix(v string) predicate.ProxySubscribeGroup

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

func DescriptionHasSuffix

func DescriptionHasSuffix(v string) predicate.ProxySubscribeGroup

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

func DescriptionIn

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

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

func DescriptionIsNil

func DescriptionIsNil() predicate.ProxySubscribeGroup

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

func DescriptionLT

func DescriptionLT(v string) predicate.ProxySubscribeGroup

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

func DescriptionLTE

func DescriptionLTE(v string) predicate.ProxySubscribeGroup

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

func DescriptionNEQ

func DescriptionNEQ(v string) predicate.ProxySubscribeGroup

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

func DescriptionNotIn

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

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

func DescriptionNotNil

func DescriptionNotNil() predicate.ProxySubscribeGroup

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

func ExpiredDaysLimit

func ExpiredDaysLimit(v int32) predicate.ProxySubscribeGroup

ExpiredDaysLimit applies equality check predicate on the "expired_days_limit" field. It's identical to ExpiredDaysLimitEQ.

func ExpiredDaysLimitEQ

func ExpiredDaysLimitEQ(v int32) predicate.ProxySubscribeGroup

ExpiredDaysLimitEQ applies the EQ predicate on the "expired_days_limit" field.

func ExpiredDaysLimitGT

func ExpiredDaysLimitGT(v int32) predicate.ProxySubscribeGroup

ExpiredDaysLimitGT applies the GT predicate on the "expired_days_limit" field.

func ExpiredDaysLimitGTE

func ExpiredDaysLimitGTE(v int32) predicate.ProxySubscribeGroup

ExpiredDaysLimitGTE applies the GTE predicate on the "expired_days_limit" field.

func ExpiredDaysLimitIn

func ExpiredDaysLimitIn(vs ...int32) predicate.ProxySubscribeGroup

ExpiredDaysLimitIn applies the In predicate on the "expired_days_limit" field.

func ExpiredDaysLimitIsNil

func ExpiredDaysLimitIsNil() predicate.ProxySubscribeGroup

ExpiredDaysLimitIsNil applies the IsNil predicate on the "expired_days_limit" field.

func ExpiredDaysLimitLT

func ExpiredDaysLimitLT(v int32) predicate.ProxySubscribeGroup

ExpiredDaysLimitLT applies the LT predicate on the "expired_days_limit" field.

func ExpiredDaysLimitLTE

func ExpiredDaysLimitLTE(v int32) predicate.ProxySubscribeGroup

ExpiredDaysLimitLTE applies the LTE predicate on the "expired_days_limit" field.

func ExpiredDaysLimitNEQ

func ExpiredDaysLimitNEQ(v int32) predicate.ProxySubscribeGroup

ExpiredDaysLimitNEQ applies the NEQ predicate on the "expired_days_limit" field.

func ExpiredDaysLimitNotIn

func ExpiredDaysLimitNotIn(vs ...int32) predicate.ProxySubscribeGroup

ExpiredDaysLimitNotIn applies the NotIn predicate on the "expired_days_limit" field.

func ExpiredDaysLimitNotNil

func ExpiredDaysLimitNotNil() predicate.ProxySubscribeGroup

ExpiredDaysLimitNotNil applies the NotNil predicate on the "expired_days_limit" 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

func IDIn(ids ...int64) predicate.ProxySubscribeGroup

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

IDNotIn applies the NotIn predicate on the ID field.

func IsExpiredGroup

func IsExpiredGroup(v bool) predicate.ProxySubscribeGroup

IsExpiredGroup applies equality check predicate on the "is_expired_group" field. It's identical to IsExpiredGroupEQ.

func IsExpiredGroupEQ

func IsExpiredGroupEQ(v bool) predicate.ProxySubscribeGroup

IsExpiredGroupEQ applies the EQ predicate on the "is_expired_group" field.

func IsExpiredGroupNEQ

func IsExpiredGroupNEQ(v bool) predicate.ProxySubscribeGroup

IsExpiredGroupNEQ applies the NEQ predicate on the "is_expired_group" field.

func MaxTrafficGBExpired

func MaxTrafficGBExpired(v int32) predicate.ProxySubscribeGroup

MaxTrafficGBExpired applies equality check predicate on the "max_traffic_gb_expired" field. It's identical to MaxTrafficGBExpiredEQ.

func MaxTrafficGBExpiredEQ

func MaxTrafficGBExpiredEQ(v int32) predicate.ProxySubscribeGroup

MaxTrafficGBExpiredEQ applies the EQ predicate on the "max_traffic_gb_expired" field.

func MaxTrafficGBExpiredGT

func MaxTrafficGBExpiredGT(v int32) predicate.ProxySubscribeGroup

MaxTrafficGBExpiredGT applies the GT predicate on the "max_traffic_gb_expired" field.

func MaxTrafficGBExpiredGTE

func MaxTrafficGBExpiredGTE(v int32) predicate.ProxySubscribeGroup

MaxTrafficGBExpiredGTE applies the GTE predicate on the "max_traffic_gb_expired" field.

func MaxTrafficGBExpiredIn

func MaxTrafficGBExpiredIn(vs ...int32) predicate.ProxySubscribeGroup

MaxTrafficGBExpiredIn applies the In predicate on the "max_traffic_gb_expired" field.

func MaxTrafficGBExpiredIsNil

func MaxTrafficGBExpiredIsNil() predicate.ProxySubscribeGroup

MaxTrafficGBExpiredIsNil applies the IsNil predicate on the "max_traffic_gb_expired" field.

func MaxTrafficGBExpiredLT

func MaxTrafficGBExpiredLT(v int32) predicate.ProxySubscribeGroup

MaxTrafficGBExpiredLT applies the LT predicate on the "max_traffic_gb_expired" field.

func MaxTrafficGBExpiredLTE

func MaxTrafficGBExpiredLTE(v int32) predicate.ProxySubscribeGroup

MaxTrafficGBExpiredLTE applies the LTE predicate on the "max_traffic_gb_expired" field.

func MaxTrafficGBExpiredNEQ

func MaxTrafficGBExpiredNEQ(v int32) predicate.ProxySubscribeGroup

MaxTrafficGBExpiredNEQ applies the NEQ predicate on the "max_traffic_gb_expired" field.

func MaxTrafficGBExpiredNotIn

func MaxTrafficGBExpiredNotIn(vs ...int32) predicate.ProxySubscribeGroup

MaxTrafficGBExpiredNotIn applies the NotIn predicate on the "max_traffic_gb_expired" field.

func MaxTrafficGBExpiredNotNil

func MaxTrafficGBExpiredNotNil() predicate.ProxySubscribeGroup

MaxTrafficGBExpiredNotNil applies the NotNil predicate on the "max_traffic_gb_expired" field.

func Name

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

func NameContains

func NameContains(v string) predicate.ProxySubscribeGroup

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

func NameContainsFold

func NameContainsFold(v string) predicate.ProxySubscribeGroup

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

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

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

func NameHasSuffix

func NameHasSuffix(v string) predicate.ProxySubscribeGroup

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

func NameIn

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

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

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 SpeedLimit

func SpeedLimit(v int64) predicate.ProxySubscribeGroup

SpeedLimit applies equality check predicate on the "speed_limit" field. It's identical to SpeedLimitEQ.

func SpeedLimitEQ

func SpeedLimitEQ(v int64) predicate.ProxySubscribeGroup

SpeedLimitEQ applies the EQ predicate on the "speed_limit" field.

func SpeedLimitGT

func SpeedLimitGT(v int64) predicate.ProxySubscribeGroup

SpeedLimitGT applies the GT predicate on the "speed_limit" field.

func SpeedLimitGTE

func SpeedLimitGTE(v int64) predicate.ProxySubscribeGroup

SpeedLimitGTE applies the GTE predicate on the "speed_limit" field.

func SpeedLimitIn

func SpeedLimitIn(vs ...int64) predicate.ProxySubscribeGroup

SpeedLimitIn applies the In predicate on the "speed_limit" field.

func SpeedLimitIsNil

func SpeedLimitIsNil() predicate.ProxySubscribeGroup

SpeedLimitIsNil applies the IsNil predicate on the "speed_limit" field.

func SpeedLimitLT

func SpeedLimitLT(v int64) predicate.ProxySubscribeGroup

SpeedLimitLT applies the LT predicate on the "speed_limit" field.

func SpeedLimitLTE

func SpeedLimitLTE(v int64) predicate.ProxySubscribeGroup

SpeedLimitLTE applies the LTE predicate on the "speed_limit" field.

func SpeedLimitNEQ

func SpeedLimitNEQ(v int64) predicate.ProxySubscribeGroup

SpeedLimitNEQ applies the NEQ predicate on the "speed_limit" field.

func SpeedLimitNotIn

func SpeedLimitNotIn(vs ...int64) predicate.ProxySubscribeGroup

SpeedLimitNotIn applies the NotIn predicate on the "speed_limit" field.

func SpeedLimitNotNil

func SpeedLimitNotNil() predicate.ProxySubscribeGroup

SpeedLimitNotNil applies the NotNil predicate on the "speed_limit" field.

func UpdatedAt

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.ProxySubscribeGroup

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.ProxySubscribeGroup

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.ProxySubscribeGroup

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.ProxySubscribeGroup

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.ProxySubscribeGroup

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.ProxySubscribeGroup

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

func UpdatedAtNotIn

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

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 ProxySubscribeGroup 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 ByExpiredDaysLimit

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

ByExpiredDaysLimit orders the results by the expired_days_limit field.

func ByID

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

ByID orders the results by the id field.

func ByIsExpiredGroup

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

ByIsExpiredGroup orders the results by the is_expired_group field.

func ByMaxTrafficGBExpired

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

ByMaxTrafficGBExpired orders the results by the max_traffic_gb_expired field.

func ByName

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

ByName orders the results by the name field.

func BySpeedLimit

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

BySpeedLimit orders the results by the speed_limit 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