package
3.36.0+incompatible
Repository: https://github.com/ritsec/ops-bot-iii.git
Documentation: pkg.go.dev
# Functions
And groups predicates with the AND operator between them.
ByChannelID orders the results by the channel_id field.
ByCount orders the results by the count field.
ByID orders the results by the id field.
ByUserField orders the results by user field.
ChannelID applies equality check predicate on the "channel_id" field.
ChannelIDContains applies the Contains predicate on the "channel_id" field.
ChannelIDContainsFold applies the ContainsFold predicate on the "channel_id" field.
ChannelIDEQ applies the EQ predicate on the "channel_id" field.
ChannelIDEqualFold applies the EqualFold predicate on the "channel_id" field.
ChannelIDGT applies the GT predicate on the "channel_id" field.
ChannelIDGTE applies the GTE predicate on the "channel_id" field.
ChannelIDHasPrefix applies the HasPrefix predicate on the "channel_id" field.
ChannelIDHasSuffix applies the HasSuffix predicate on the "channel_id" field.
ChannelIDIn applies the In predicate on the "channel_id" field.
ChannelIDLT applies the LT predicate on the "channel_id" field.
ChannelIDLTE applies the LTE predicate on the "channel_id" field.
ChannelIDNEQ applies the NEQ predicate on the "channel_id" field.
ChannelIDNotIn applies the NotIn predicate on the "channel_id" field.
Count applies equality check predicate on the "count" field.
CountEQ applies the EQ predicate on the "count" field.
CountGT applies the GT predicate on the "count" field.
CountGTE applies the GTE predicate on the "count" field.
CountIn applies the In predicate on the "count" field.
CountLT applies the LT predicate on the "count" field.
CountLTE applies the LTE predicate on the "count" field.
CountNEQ applies the NEQ predicate on the "count" field.
CountNotIn applies the NotIn predicate on the "count" field.
HasUser applies the HasEdge predicate on the "user" edge.
HasUserWith applies the HasEdge predicate on the "user" edge with a given conditions (other predicates).
ID filters vertices based on their ID field.
IDContainsFold applies the ContainsFold predicate on the ID field.
IDEQ applies the EQ predicate on the ID field.
IDEqualFold applies the EqualFold 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.
ValidColumn reports if the column name is valid (part of the table columns).
# Constants
EdgeUser holds the string denoting the user edge name in mutations.
FieldChannelID holds the string denoting the channel_id field in the database.
FieldCount holds the string denoting the count field in the database.
FieldID holds the string denoting the id field in the database.
Label holds the string label denoting the shitpost type in the database.
Table holds the table name of the shitpost in the database.
UserColumn is the table column denoting the user relation/edge.
UserInverseTable is the table name for the User entity.
UserTable is the table that holds the user relation/edge.
# Variables
ChannelIDValidator is a validator for the "channel_id" field.
Columns holds all SQL columns for shitpost fields.
ForeignKeys holds the SQL foreign-keys that are owned by the "shitposts" table and are not defined as standalone fields in the schema.
IDValidator is a validator for the "id" field.
# Type aliases
OrderOption defines the ordering options for the Shitpost queries.