telegramchannel

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the telegramchannel type in the database.
	Label = "telegram_channel"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldAccessHash holds the string denoting the access_hash field in the database.
	FieldAccessHash = "access_hash"
	// FieldTitle holds the string denoting the title field in the database.
	FieldTitle = "title"
	// FieldActive holds the string denoting the active field in the database.
	FieldActive = "active"
	// Table holds the table name of the telegramchannel in the database.
	Table = "telegram_channels"
)

Variables

Columns holds all SQL columns for telegramchannel fields.

Functions

func AccessHash

func AccessHash(v int64) predicate.TelegramChannel

AccessHash applies equality check predicate on the "access_hash" field. It's identical to AccessHashEQ.

func AccessHashEQ

func AccessHashEQ(v int64) predicate.TelegramChannel

AccessHashEQ applies the EQ predicate on the "access_hash" field.

func AccessHashGT

func AccessHashGT(v int64) predicate.TelegramChannel

AccessHashGT applies the GT predicate on the "access_hash" field.

func AccessHashGTE

func AccessHashGTE(v int64) predicate.TelegramChannel

AccessHashGTE applies the GTE predicate on the "access_hash" field.

func AccessHashIn

func AccessHashIn(vs ...int64) predicate.TelegramChannel

AccessHashIn applies the In predicate on the "access_hash" field.

func AccessHashLT

func AccessHashLT(v int64) predicate.TelegramChannel

AccessHashLT applies the LT predicate on the "access_hash" field.

func AccessHashLTE

func AccessHashLTE(v int64) predicate.TelegramChannel

AccessHashLTE applies the LTE predicate on the "access_hash" field.

func AccessHashNEQ

func AccessHashNEQ(v int64) predicate.TelegramChannel

AccessHashNEQ applies the NEQ predicate on the "access_hash" field.

func AccessHashNotIn

func AccessHashNotIn(vs ...int64) predicate.TelegramChannel

AccessHashNotIn applies the NotIn predicate on the "access_hash" field.

func Active

func Active(v bool) predicate.TelegramChannel

Active applies equality check predicate on the "active" field. It's identical to ActiveEQ.

func ActiveEQ

func ActiveEQ(v bool) predicate.TelegramChannel

ActiveEQ applies the EQ predicate on the "active" field.

func ActiveNEQ

func ActiveNEQ(v bool) predicate.TelegramChannel

ActiveNEQ applies the NEQ predicate on the "active" field.

func And

And groups predicates with the AND operator between them.

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

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

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 Title

Title applies equality check predicate on the "title" field. It's identical to TitleEQ.

func TitleContains

func TitleContains(v string) predicate.TelegramChannel

TitleContains applies the Contains predicate on the "title" field.

func TitleContainsFold

func TitleContainsFold(v string) predicate.TelegramChannel

TitleContainsFold applies the ContainsFold predicate on the "title" field.

func TitleEQ

func TitleEQ(v string) predicate.TelegramChannel

TitleEQ applies the EQ predicate on the "title" field.

func TitleEqualFold

func TitleEqualFold(v string) predicate.TelegramChannel

TitleEqualFold applies the EqualFold predicate on the "title" field.

func TitleGT

func TitleGT(v string) predicate.TelegramChannel

TitleGT applies the GT predicate on the "title" field.

func TitleGTE

func TitleGTE(v string) predicate.TelegramChannel

TitleGTE applies the GTE predicate on the "title" field.

func TitleHasPrefix

func TitleHasPrefix(v string) predicate.TelegramChannel

TitleHasPrefix applies the HasPrefix predicate on the "title" field.

func TitleHasSuffix

func TitleHasSuffix(v string) predicate.TelegramChannel

TitleHasSuffix applies the HasSuffix predicate on the "title" field.

func TitleIn

func TitleIn(vs ...string) predicate.TelegramChannel

TitleIn applies the In predicate on the "title" field.

func TitleLT

func TitleLT(v string) predicate.TelegramChannel

TitleLT applies the LT predicate on the "title" field.

func TitleLTE

func TitleLTE(v string) predicate.TelegramChannel

TitleLTE applies the LTE predicate on the "title" field.

func TitleNEQ

func TitleNEQ(v string) predicate.TelegramChannel

TitleNEQ applies the NEQ predicate on the "title" field.

func TitleNotIn

func TitleNotIn(vs ...string) predicate.TelegramChannel

TitleNotIn applies the NotIn predicate on the "title" 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 TelegramChannel queries.

func ByAccessHash

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

ByAccessHash orders the results by the access_hash field.

func ByActive

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

ByActive orders the results by the active field.

func ByID

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

ByID orders the results by the id field.

func ByTitle

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

ByTitle orders the results by the title field.

Jump to

Keyboard shortcuts

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