telegramchatfeatureflags

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 telegramchatfeatureflags type in the database.
	Label = "telegram_chat_feature_flags"
	// 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"
	// FieldChatType holds the string denoting the chat_type field in the database.
	FieldChatType = "chat_type"
	// FieldChatTitle holds the string denoting the chat_title field in the database.
	FieldChatTitle = "chat_title"
	// FieldFeatureChatHistoriesRecap holds the string denoting the feature_chat_histories_recap field in the database.
	FieldFeatureChatHistoriesRecap = "feature_chat_histories_recap"
	// 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 telegramchatfeatureflags in the database.
	Table = "telegram_chat_feature_flags"
)

Variables

View Source
var (
	// DefaultChatTitle holds the default value on creation for the "chat_title" field.
	DefaultChatTitle string
	// 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 telegramchatfeatureflags fields.

Functions

func And

And groups predicates with the AND operator between them.

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

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

func ChatTitle

ChatTitle applies equality check predicate on the "chat_title" field. It's identical to ChatTitleEQ.

func ChatTitleContains

func ChatTitleContains(v string) predicate.TelegramChatFeatureFlags

ChatTitleContains applies the Contains predicate on the "chat_title" field.

func ChatTitleContainsFold

func ChatTitleContainsFold(v string) predicate.TelegramChatFeatureFlags

ChatTitleContainsFold applies the ContainsFold predicate on the "chat_title" field.

func ChatTitleEQ

ChatTitleEQ applies the EQ predicate on the "chat_title" field.

func ChatTitleEqualFold

func ChatTitleEqualFold(v string) predicate.TelegramChatFeatureFlags

ChatTitleEqualFold applies the EqualFold predicate on the "chat_title" field.

func ChatTitleGT

ChatTitleGT applies the GT predicate on the "chat_title" field.

func ChatTitleGTE

ChatTitleGTE applies the GTE predicate on the "chat_title" field.

func ChatTitleHasPrefix

func ChatTitleHasPrefix(v string) predicate.TelegramChatFeatureFlags

ChatTitleHasPrefix applies the HasPrefix predicate on the "chat_title" field.

func ChatTitleHasSuffix

func ChatTitleHasSuffix(v string) predicate.TelegramChatFeatureFlags

ChatTitleHasSuffix applies the HasSuffix predicate on the "chat_title" field.

func ChatTitleIn

func ChatTitleIn(vs ...string) predicate.TelegramChatFeatureFlags

ChatTitleIn applies the In predicate on the "chat_title" field.

func ChatTitleLT

ChatTitleLT applies the LT predicate on the "chat_title" field.

func ChatTitleLTE

ChatTitleLTE applies the LTE predicate on the "chat_title" field.

func ChatTitleNEQ

ChatTitleNEQ applies the NEQ predicate on the "chat_title" field.

func ChatTitleNotIn

func ChatTitleNotIn(vs ...string) predicate.TelegramChatFeatureFlags

ChatTitleNotIn applies the NotIn predicate on the "chat_title" field.

func ChatType

ChatType applies equality check predicate on the "chat_type" field. It's identical to ChatTypeEQ.

func ChatTypeContains

func ChatTypeContains(v string) predicate.TelegramChatFeatureFlags

ChatTypeContains applies the Contains predicate on the "chat_type" field.

func ChatTypeContainsFold

func ChatTypeContainsFold(v string) predicate.TelegramChatFeatureFlags

ChatTypeContainsFold applies the ContainsFold predicate on the "chat_type" field.

func ChatTypeEQ

ChatTypeEQ applies the EQ predicate on the "chat_type" field.

func ChatTypeEqualFold

func ChatTypeEqualFold(v string) predicate.TelegramChatFeatureFlags

ChatTypeEqualFold applies the EqualFold predicate on the "chat_type" field.

func ChatTypeGT

ChatTypeGT applies the GT predicate on the "chat_type" field.

func ChatTypeGTE

ChatTypeGTE applies the GTE predicate on the "chat_type" field.

func ChatTypeHasPrefix

func ChatTypeHasPrefix(v string) predicate.TelegramChatFeatureFlags

ChatTypeHasPrefix applies the HasPrefix predicate on the "chat_type" field.

func ChatTypeHasSuffix

func ChatTypeHasSuffix(v string) predicate.TelegramChatFeatureFlags

ChatTypeHasSuffix applies the HasSuffix predicate on the "chat_type" field.

func ChatTypeIn

func ChatTypeIn(vs ...string) predicate.TelegramChatFeatureFlags

ChatTypeIn applies the In predicate on the "chat_type" field.

func ChatTypeLT

ChatTypeLT applies the LT predicate on the "chat_type" field.

func ChatTypeLTE

ChatTypeLTE applies the LTE predicate on the "chat_type" field.

func ChatTypeNEQ

ChatTypeNEQ applies the NEQ predicate on the "chat_type" field.

func ChatTypeNotIn

func ChatTypeNotIn(vs ...string) predicate.TelegramChatFeatureFlags

ChatTypeNotIn applies the NotIn predicate on the "chat_type" 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.TelegramChatFeatureFlags

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

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

func FeatureChatHistoriesRecap

func FeatureChatHistoriesRecap(v bool) predicate.TelegramChatFeatureFlags

FeatureChatHistoriesRecap applies equality check predicate on the "feature_chat_histories_recap" field. It's identical to FeatureChatHistoriesRecapEQ.

func FeatureChatHistoriesRecapEQ

func FeatureChatHistoriesRecapEQ(v bool) predicate.TelegramChatFeatureFlags

FeatureChatHistoriesRecapEQ applies the EQ predicate on the "feature_chat_histories_recap" field.

func FeatureChatHistoriesRecapNEQ

func FeatureChatHistoriesRecapNEQ(v bool) predicate.TelegramChatFeatureFlags

FeatureChatHistoriesRecapNEQ applies the NEQ predicate on the "feature_chat_histories_recap" 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 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.TelegramChatFeatureFlags

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

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

func ByChatID

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

ByChatID orders the results by the chat_id field.

func ByChatTitle

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

ByChatTitle orders the results by the chat_title field.

func ByChatType

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

ByChatType orders the results by the chat_type field.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByFeatureChatHistoriesRecap

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

ByFeatureChatHistoriesRecap orders the results by the feature_chat_histories_recap field.

func ByID

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

ByID orders the results by the id 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