package
0.0.0-20240513023348-5feaf8d2ad78
Repository: https://github.com/go-faster/bot.git
Documentation: pkg.go.dev
# Functions
And groups predicates with the AND operator between them.
ByChannels orders the results by channels terms.
ByChannelsCount orders the results by channels count.
ByDate orders the results by the date field.
ByID orders the results by the id field.
ByPts orders the results by the pts field.
ByQts orders the results by the qts field.
BySeq orders the results by the seq field.
Date applies equality check predicate on the "date" field.
DateEQ applies the EQ predicate on the "date" field.
DateGT applies the GT predicate on the "date" field.
DateGTE applies the GTE predicate on the "date" field.
DateIn applies the In predicate on the "date" field.
DateLT applies the LT predicate on the "date" field.
DateLTE applies the LTE predicate on the "date" field.
DateNEQ applies the NEQ predicate on the "date" field.
DateNotIn applies the NotIn predicate on the "date" field.
HasChannels applies the HasEdge predicate on the "channels" edge.
HasChannelsWith applies the HasEdge predicate on the "channels" edge with a given conditions (other predicates).
ID filters vertices based on their ID field.
IDEQ applies the EQ predicate on the ID field.
IDGT applies the GT predicate on the ID field.
IDGTE applies the GTE predicate on the ID field.
IDIn applies the In predicate on the ID field.
IDLT applies the LT predicate on the ID field.
IDLTE applies the LTE predicate on the ID field.
IDNEQ applies the NEQ predicate on the ID field.
IDNotIn applies the NotIn predicate on the ID field.
Not applies the not operator on the given predicate.
Or groups predicates with the OR operator between them.
Pts applies equality check predicate on the "pts" field.
PtsEQ applies the EQ predicate on the "pts" field.
PtsGT applies the GT predicate on the "pts" field.
PtsGTE applies the GTE predicate on the "pts" field.
PtsIn applies the In predicate on the "pts" field.
PtsLT applies the LT predicate on the "pts" field.
PtsLTE applies the LTE predicate on the "pts" field.
PtsNEQ applies the NEQ predicate on the "pts" field.
PtsNotIn applies the NotIn predicate on the "pts" field.
Qts applies equality check predicate on the "qts" field.
QtsEQ applies the EQ predicate on the "qts" field.
QtsGT applies the GT predicate on the "qts" field.
QtsGTE applies the GTE predicate on the "qts" field.
QtsIn applies the In predicate on the "qts" field.
QtsLT applies the LT predicate on the "qts" field.
QtsLTE applies the LTE predicate on the "qts" field.
QtsNEQ applies the NEQ predicate on the "qts" field.
QtsNotIn applies the NotIn predicate on the "qts" field.
Seq applies equality check predicate on the "seq" field.
SeqEQ applies the EQ predicate on the "seq" field.
SeqGT applies the GT predicate on the "seq" field.
SeqGTE applies the GTE predicate on the "seq" field.
SeqIn applies the In predicate on the "seq" field.
SeqLT applies the LT predicate on the "seq" field.
SeqLTE applies the LTE predicate on the "seq" field.
SeqNEQ applies the NEQ predicate on the "seq" field.
SeqNotIn applies the NotIn predicate on the "seq" field.
ValidColumn reports if the column name is valid (part of the table columns).
# Constants
ChannelsColumn is the table column denoting the channels relation/edge.
ChannelsInverseTable is the table name for the TelegramChannelState entity.
ChannelsTable is the table that holds the channels relation/edge.
EdgeChannels holds the string denoting the channels edge name in mutations.
FieldDate holds the string denoting the date field in the database.
FieldID holds the string denoting the id field in the database.
FieldPts holds the string denoting the pts field in the database.
FieldQts holds the string denoting the qts field in the database.
FieldSeq holds the string denoting the seq field in the database.
Label holds the string label denoting the telegramuserstate type in the database.
Table holds the table name of the telegramuserstate in the database.
# Variables
Columns holds all SQL columns for telegramuserstate fields.
DefaultDate holds the default value on creation for the "date" field.
DefaultPts holds the default value on creation for the "pts" field.
DefaultQts holds the default value on creation for the "qts" field.
DefaultSeq holds the default value on creation for the "seq" field.
# Type aliases
OrderOption defines the ordering options for the TelegramUserState queries.