Documentation
¶
Index ¶
- Constants
- Variables
- func AccessHash(v int64) predicate.TelegramChannel
- func AccessHashEQ(v int64) predicate.TelegramChannel
- func AccessHashGT(v int64) predicate.TelegramChannel
- func AccessHashGTE(v int64) predicate.TelegramChannel
- func AccessHashIn(vs ...int64) predicate.TelegramChannel
- func AccessHashLT(v int64) predicate.TelegramChannel
- func AccessHashLTE(v int64) predicate.TelegramChannel
- func AccessHashNEQ(v int64) predicate.TelegramChannel
- func AccessHashNotIn(vs ...int64) predicate.TelegramChannel
- func Active(v bool) predicate.TelegramChannel
- func ActiveEQ(v bool) predicate.TelegramChannel
- func ActiveNEQ(v bool) predicate.TelegramChannel
- func And(predicates ...predicate.TelegramChannel) predicate.TelegramChannel
- func ID(id int64) predicate.TelegramChannel
- func IDEQ(id int64) predicate.TelegramChannel
- func IDGT(id int64) predicate.TelegramChannel
- func IDGTE(id int64) predicate.TelegramChannel
- func IDIn(ids ...int64) predicate.TelegramChannel
- func IDLT(id int64) predicate.TelegramChannel
- func IDLTE(id int64) predicate.TelegramChannel
- func IDNEQ(id int64) predicate.TelegramChannel
- func IDNotIn(ids ...int64) predicate.TelegramChannel
- func Not(p predicate.TelegramChannel) predicate.TelegramChannel
- func Or(predicates ...predicate.TelegramChannel) predicate.TelegramChannel
- func Title(v string) predicate.TelegramChannel
- func TitleContains(v string) predicate.TelegramChannel
- func TitleContainsFold(v string) predicate.TelegramChannel
- func TitleEQ(v string) predicate.TelegramChannel
- func TitleEqualFold(v string) predicate.TelegramChannel
- func TitleGT(v string) predicate.TelegramChannel
- func TitleGTE(v string) predicate.TelegramChannel
- func TitleHasPrefix(v string) predicate.TelegramChannel
- func TitleHasSuffix(v string) predicate.TelegramChannel
- func TitleIn(vs ...string) predicate.TelegramChannel
- func TitleLT(v string) predicate.TelegramChannel
- func TitleLTE(v string) predicate.TelegramChannel
- func TitleNEQ(v string) predicate.TelegramChannel
- func TitleNotIn(vs ...string) predicate.TelegramChannel
- func ValidColumn(column string) bool
- type OrderOption
Constants ¶
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 ¶
var Columns = []string{ FieldID, FieldAccessHash, FieldTitle, FieldActive, }
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 ¶
func And(predicates ...predicate.TelegramChannel) predicate.TelegramChannel
And groups predicates with the AND operator between them.
func IDEQ ¶
func IDEQ(id int64) predicate.TelegramChannel
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int64) predicate.TelegramChannel
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int64) predicate.TelegramChannel
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 ¶
func IDLT(id int64) predicate.TelegramChannel
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int64) predicate.TelegramChannel
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int64) predicate.TelegramChannel
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 ¶
func Not(p predicate.TelegramChannel) predicate.TelegramChannel
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.TelegramChannel) predicate.TelegramChannel
Or groups predicates with the OR operator between them.
func Title ¶
func Title(v string) predicate.TelegramChannel
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 ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
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.