telegramchatrecapsoptions

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the telegramchatrecapsoptions type in the database.
	Label = "telegram_chat_recaps_options"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldChatID holds the string denoting the chat_id field in the database.
	FieldChatID = "chat_id"
	// FieldAutoRecapSendMode holds the string denoting the auto_recap_send_mode field in the database.
	FieldAutoRecapSendMode = "auto_recap_send_mode"
	// FieldManualRecapRatePerSeconds holds the string denoting the manual_recap_rate_per_seconds field in the database.
	FieldManualRecapRatePerSeconds = "manual_recap_rate_per_seconds"
	// FieldAutoRecapRatesPerDay holds the string denoting the auto_recap_rates_per_day field in the database.
	FieldAutoRecapRatesPerDay = "auto_recap_rates_per_day"
	// 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 telegramchatrecapsoptions in the database.
	Table = "telegram_chat_recaps_options"
)

Variables

View Source
var (
	// DefaultAutoRecapSendMode holds the default value on creation for the "auto_recap_send_mode" field.
	DefaultAutoRecapSendMode int
	// DefaultManualRecapRatePerSeconds holds the default value on creation for the "manual_recap_rate_per_seconds" field.
	DefaultManualRecapRatePerSeconds int64
	// DefaultAutoRecapRatesPerDay holds the default value on creation for the "auto_recap_rates_per_day" field.
	DefaultAutoRecapRatesPerDay int
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() int64
	// DefaultUpdatedAt holds the default value on creation for the "updated_at" field.
	DefaultUpdatedAt func() int64
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() uuid.UUID
)

Columns holds all SQL columns for telegramchatrecapsoptions fields.

Functions

func And

And groups predicates with the AND operator between them.

func AutoRecapRatesPerDay added in v0.23.0

func AutoRecapRatesPerDay(v int) predicate.TelegramChatRecapsOptions

AutoRecapRatesPerDay applies equality check predicate on the "auto_recap_rates_per_day" field. It's identical to AutoRecapRatesPerDayEQ.

func AutoRecapRatesPerDayEQ added in v0.23.0

func AutoRecapRatesPerDayEQ(v int) predicate.TelegramChatRecapsOptions

AutoRecapRatesPerDayEQ applies the EQ predicate on the "auto_recap_rates_per_day" field.

func AutoRecapRatesPerDayGT added in v0.23.0

func AutoRecapRatesPerDayGT(v int) predicate.TelegramChatRecapsOptions

AutoRecapRatesPerDayGT applies the GT predicate on the "auto_recap_rates_per_day" field.

func AutoRecapRatesPerDayGTE added in v0.23.0

func AutoRecapRatesPerDayGTE(v int) predicate.TelegramChatRecapsOptions

AutoRecapRatesPerDayGTE applies the GTE predicate on the "auto_recap_rates_per_day" field.

func AutoRecapRatesPerDayIn added in v0.23.0

func AutoRecapRatesPerDayIn(vs ...int) predicate.TelegramChatRecapsOptions

AutoRecapRatesPerDayIn applies the In predicate on the "auto_recap_rates_per_day" field.

func AutoRecapRatesPerDayLT added in v0.23.0

func AutoRecapRatesPerDayLT(v int) predicate.TelegramChatRecapsOptions

AutoRecapRatesPerDayLT applies the LT predicate on the "auto_recap_rates_per_day" field.

func AutoRecapRatesPerDayLTE added in v0.23.0

func AutoRecapRatesPerDayLTE(v int) predicate.TelegramChatRecapsOptions

AutoRecapRatesPerDayLTE applies the LTE predicate on the "auto_recap_rates_per_day" field.

func AutoRecapRatesPerDayNEQ added in v0.23.0

func AutoRecapRatesPerDayNEQ(v int) predicate.TelegramChatRecapsOptions

AutoRecapRatesPerDayNEQ applies the NEQ predicate on the "auto_recap_rates_per_day" field.

func AutoRecapRatesPerDayNotIn added in v0.23.0

func AutoRecapRatesPerDayNotIn(vs ...int) predicate.TelegramChatRecapsOptions

AutoRecapRatesPerDayNotIn applies the NotIn predicate on the "auto_recap_rates_per_day" field.

func AutoRecapSendMode

func AutoRecapSendMode(v int) predicate.TelegramChatRecapsOptions

AutoRecapSendMode applies equality check predicate on the "auto_recap_send_mode" field. It's identical to AutoRecapSendModeEQ.

func AutoRecapSendModeEQ

func AutoRecapSendModeEQ(v int) predicate.TelegramChatRecapsOptions

AutoRecapSendModeEQ applies the EQ predicate on the "auto_recap_send_mode" field.

func AutoRecapSendModeGT

func AutoRecapSendModeGT(v int) predicate.TelegramChatRecapsOptions

AutoRecapSendModeGT applies the GT predicate on the "auto_recap_send_mode" field.

func AutoRecapSendModeGTE

func AutoRecapSendModeGTE(v int) predicate.TelegramChatRecapsOptions

AutoRecapSendModeGTE applies the GTE predicate on the "auto_recap_send_mode" field.

func AutoRecapSendModeIn

func AutoRecapSendModeIn(vs ...int) predicate.TelegramChatRecapsOptions

AutoRecapSendModeIn applies the In predicate on the "auto_recap_send_mode" field.

func AutoRecapSendModeLT

func AutoRecapSendModeLT(v int) predicate.TelegramChatRecapsOptions

AutoRecapSendModeLT applies the LT predicate on the "auto_recap_send_mode" field.

func AutoRecapSendModeLTE

func AutoRecapSendModeLTE(v int) predicate.TelegramChatRecapsOptions

AutoRecapSendModeLTE applies the LTE predicate on the "auto_recap_send_mode" field.

func AutoRecapSendModeNEQ

func AutoRecapSendModeNEQ(v int) predicate.TelegramChatRecapsOptions

AutoRecapSendModeNEQ applies the NEQ predicate on the "auto_recap_send_mode" field.

func AutoRecapSendModeNotIn

func AutoRecapSendModeNotIn(vs ...int) predicate.TelegramChatRecapsOptions

AutoRecapSendModeNotIn applies the NotIn predicate on the "auto_recap_send_mode" field.

func ChatID

ChatID applies equality check predicate on the "chat_id" field. It's identical to ChatIDEQ.

func ChatIDEQ

ChatIDEQ applies the EQ predicate on the "chat_id" field.

func ChatIDGT

ChatIDGT applies the GT predicate on the "chat_id" field.

func ChatIDGTE

ChatIDGTE applies the GTE predicate on the "chat_id" field.

func ChatIDIn

ChatIDIn applies the In predicate on the "chat_id" field.

func ChatIDLT

ChatIDLT applies the LT predicate on the "chat_id" field.

func ChatIDLTE

ChatIDLTE applies the LTE predicate on the "chat_id" field.

func ChatIDNEQ

ChatIDNEQ applies the NEQ predicate on the "chat_id" field.

func ChatIDNotIn

func ChatIDNotIn(vs ...int64) predicate.TelegramChatRecapsOptions

ChatIDNotIn applies the NotIn predicate on the "chat_id" field.

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

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

func CreatedAtIn

func CreatedAtIn(vs ...int64) predicate.TelegramChatRecapsOptions

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

func CreatedAtLT

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

func CreatedAtLTE

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

func CreatedAtNEQ

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

func CreatedAtNotIn

func CreatedAtNotIn(vs ...int64) predicate.TelegramChatRecapsOptions

CreatedAtNotIn applies the NotIn predicate on the "created_at" 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

IDNotIn applies the NotIn predicate on the ID field.

func ManualRecapRatePerSeconds added in v0.16.0

func ManualRecapRatePerSeconds(v int64) predicate.TelegramChatRecapsOptions

ManualRecapRatePerSeconds applies equality check predicate on the "manual_recap_rate_per_seconds" field. It's identical to ManualRecapRatePerSecondsEQ.

func ManualRecapRatePerSecondsEQ added in v0.16.0

func ManualRecapRatePerSecondsEQ(v int64) predicate.TelegramChatRecapsOptions

ManualRecapRatePerSecondsEQ applies the EQ predicate on the "manual_recap_rate_per_seconds" field.

func ManualRecapRatePerSecondsGT added in v0.16.0

func ManualRecapRatePerSecondsGT(v int64) predicate.TelegramChatRecapsOptions

ManualRecapRatePerSecondsGT applies the GT predicate on the "manual_recap_rate_per_seconds" field.

func ManualRecapRatePerSecondsGTE added in v0.16.0

func ManualRecapRatePerSecondsGTE(v int64) predicate.TelegramChatRecapsOptions

ManualRecapRatePerSecondsGTE applies the GTE predicate on the "manual_recap_rate_per_seconds" field.

func ManualRecapRatePerSecondsIn added in v0.16.0

func ManualRecapRatePerSecondsIn(vs ...int64) predicate.TelegramChatRecapsOptions

ManualRecapRatePerSecondsIn applies the In predicate on the "manual_recap_rate_per_seconds" field.

func ManualRecapRatePerSecondsLT added in v0.16.0

func ManualRecapRatePerSecondsLT(v int64) predicate.TelegramChatRecapsOptions

ManualRecapRatePerSecondsLT applies the LT predicate on the "manual_recap_rate_per_seconds" field.

func ManualRecapRatePerSecondsLTE added in v0.16.0

func ManualRecapRatePerSecondsLTE(v int64) predicate.TelegramChatRecapsOptions

ManualRecapRatePerSecondsLTE applies the LTE predicate on the "manual_recap_rate_per_seconds" field.

func ManualRecapRatePerSecondsNEQ added in v0.16.0

func ManualRecapRatePerSecondsNEQ(v int64) predicate.TelegramChatRecapsOptions

ManualRecapRatePerSecondsNEQ applies the NEQ predicate on the "manual_recap_rate_per_seconds" field.

func ManualRecapRatePerSecondsNotIn added in v0.16.0

func ManualRecapRatePerSecondsNotIn(vs ...int64) predicate.TelegramChatRecapsOptions

ManualRecapRatePerSecondsNotIn applies the NotIn predicate on the "manual_recap_rate_per_seconds" 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

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

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

func UpdatedAtIn

func UpdatedAtIn(vs ...int64) predicate.TelegramChatRecapsOptions

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

func UpdatedAtLT

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

func UpdatedAtLTE

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

func UpdatedAtNEQ

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

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...int64) predicate.TelegramChatRecapsOptions

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 TelegramChatRecapsOptions queries.

func ByAutoRecapRatesPerDay added in v0.23.0

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

ByAutoRecapRatesPerDay orders the results by the auto_recap_rates_per_day field.

func ByAutoRecapSendMode

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

ByAutoRecapSendMode orders the results by the auto_recap_send_mode field.

func ByChatID

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

ByChatID orders the results by the chat_id field.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByID

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

ByID orders the results by the id field.

func ByManualRecapRatePerSeconds added in v0.16.0

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

ByManualRecapRatePerSeconds orders the results by the manual_recap_rate_per_seconds 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