Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.ProxyTicketFollow) predicate.ProxyTicketFollow
- func Content(v string) predicate.ProxyTicketFollow
- func ContentContains(v string) predicate.ProxyTicketFollow
- func ContentContainsFold(v string) predicate.ProxyTicketFollow
- func ContentEQ(v string) predicate.ProxyTicketFollow
- func ContentEqualFold(v string) predicate.ProxyTicketFollow
- func ContentGT(v string) predicate.ProxyTicketFollow
- func ContentGTE(v string) predicate.ProxyTicketFollow
- func ContentHasPrefix(v string) predicate.ProxyTicketFollow
- func ContentHasSuffix(v string) predicate.ProxyTicketFollow
- func ContentIn(vs ...string) predicate.ProxyTicketFollow
- func ContentIsNil() predicate.ProxyTicketFollow
- func ContentLT(v string) predicate.ProxyTicketFollow
- func ContentLTE(v string) predicate.ProxyTicketFollow
- func ContentNEQ(v string) predicate.ProxyTicketFollow
- func ContentNotIn(vs ...string) predicate.ProxyTicketFollow
- func ContentNotNil() predicate.ProxyTicketFollow
- func CreatedAt(v time.Time) predicate.ProxyTicketFollow
- func CreatedAtEQ(v time.Time) predicate.ProxyTicketFollow
- func CreatedAtGT(v time.Time) predicate.ProxyTicketFollow
- func CreatedAtGTE(v time.Time) predicate.ProxyTicketFollow
- func CreatedAtIn(vs ...time.Time) predicate.ProxyTicketFollow
- func CreatedAtLT(v time.Time) predicate.ProxyTicketFollow
- func CreatedAtLTE(v time.Time) predicate.ProxyTicketFollow
- func CreatedAtNEQ(v time.Time) predicate.ProxyTicketFollow
- func CreatedAtNotIn(vs ...time.Time) predicate.ProxyTicketFollow
- func From(v string) predicate.ProxyTicketFollow
- func FromContains(v string) predicate.ProxyTicketFollow
- func FromContainsFold(v string) predicate.ProxyTicketFollow
- func FromEQ(v string) predicate.ProxyTicketFollow
- func FromEqualFold(v string) predicate.ProxyTicketFollow
- func FromGT(v string) predicate.ProxyTicketFollow
- func FromGTE(v string) predicate.ProxyTicketFollow
- func FromHasPrefix(v string) predicate.ProxyTicketFollow
- func FromHasSuffix(v string) predicate.ProxyTicketFollow
- func FromIn(vs ...string) predicate.ProxyTicketFollow
- func FromLT(v string) predicate.ProxyTicketFollow
- func FromLTE(v string) predicate.ProxyTicketFollow
- func FromNEQ(v string) predicate.ProxyTicketFollow
- func FromNotIn(vs ...string) predicate.ProxyTicketFollow
- func ID(id int64) predicate.ProxyTicketFollow
- func IDEQ(id int64) predicate.ProxyTicketFollow
- func IDGT(id int64) predicate.ProxyTicketFollow
- func IDGTE(id int64) predicate.ProxyTicketFollow
- func IDIn(ids ...int64) predicate.ProxyTicketFollow
- func IDLT(id int64) predicate.ProxyTicketFollow
- func IDLTE(id int64) predicate.ProxyTicketFollow
- func IDNEQ(id int64) predicate.ProxyTicketFollow
- func IDNotIn(ids ...int64) predicate.ProxyTicketFollow
- func Not(p predicate.ProxyTicketFollow) predicate.ProxyTicketFollow
- func Or(predicates ...predicate.ProxyTicketFollow) predicate.ProxyTicketFollow
- func TicketID(v int64) predicate.ProxyTicketFollow
- func TicketIDEQ(v int64) predicate.ProxyTicketFollow
- func TicketIDGT(v int64) predicate.ProxyTicketFollow
- func TicketIDGTE(v int64) predicate.ProxyTicketFollow
- func TicketIDIn(vs ...int64) predicate.ProxyTicketFollow
- func TicketIDLT(v int64) predicate.ProxyTicketFollow
- func TicketIDLTE(v int64) predicate.ProxyTicketFollow
- func TicketIDNEQ(v int64) predicate.ProxyTicketFollow
- func TicketIDNotIn(vs ...int64) predicate.ProxyTicketFollow
- func Type(v int8) predicate.ProxyTicketFollow
- func TypeEQ(v int8) predicate.ProxyTicketFollow
- func TypeGT(v int8) predicate.ProxyTicketFollow
- func TypeGTE(v int8) predicate.ProxyTicketFollow
- func TypeIn(vs ...int8) predicate.ProxyTicketFollow
- func TypeLT(v int8) predicate.ProxyTicketFollow
- func TypeLTE(v int8) predicate.ProxyTicketFollow
- func TypeNEQ(v int8) predicate.ProxyTicketFollow
- func TypeNotIn(vs ...int8) predicate.ProxyTicketFollow
- func ValidColumn(column string) bool
- type OrderOption
- func ByContent(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByFrom(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByTicketID(opts ...sql.OrderTermOption) OrderOption
- func ByType(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the proxyticketfollow type in the database. Label = "proxy_ticket_follow" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldTicketID holds the string denoting the ticket_id field in the database. FieldTicketID = "ticket_id" // FieldFrom holds the string denoting the from field in the database. FieldFrom = "from" // FieldType holds the string denoting the type field in the database. FieldType = "type" // FieldContent holds the string denoting the content field in the database. FieldContent = "content" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // Table holds the table name of the proxyticketfollow in the database. Table = "ticket_follow" )
Variables ¶
var ( // DefaultTicketID holds the default value on creation for the "ticket_id" field. DefaultTicketID int64 // DefaultFrom holds the default value on creation for the "from" field. DefaultFrom string // FromValidator is a validator for the "from" field. It is called by the builders before save. FromValidator func(string) error // DefaultType holds the default value on creation for the "type" field. DefaultType int8 // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time )
var Columns = []string{ FieldID, FieldTicketID, FieldFrom, FieldType, FieldContent, FieldCreatedAt, }
Columns holds all SQL columns for proxyticketfollow fields.
Functions ¶
func And ¶
func And(predicates ...predicate.ProxyTicketFollow) predicate.ProxyTicketFollow
And groups predicates with the AND operator between them.
func Content ¶
func Content(v string) predicate.ProxyTicketFollow
Content applies equality check predicate on the "content" field. It's identical to ContentEQ.
func ContentContains ¶
func ContentContains(v string) predicate.ProxyTicketFollow
ContentContains applies the Contains predicate on the "content" field.
func ContentContainsFold ¶
func ContentContainsFold(v string) predicate.ProxyTicketFollow
ContentContainsFold applies the ContainsFold predicate on the "content" field.
func ContentEQ ¶
func ContentEQ(v string) predicate.ProxyTicketFollow
ContentEQ applies the EQ predicate on the "content" field.
func ContentEqualFold ¶
func ContentEqualFold(v string) predicate.ProxyTicketFollow
ContentEqualFold applies the EqualFold predicate on the "content" field.
func ContentGT ¶
func ContentGT(v string) predicate.ProxyTicketFollow
ContentGT applies the GT predicate on the "content" field.
func ContentGTE ¶
func ContentGTE(v string) predicate.ProxyTicketFollow
ContentGTE applies the GTE predicate on the "content" field.
func ContentHasPrefix ¶
func ContentHasPrefix(v string) predicate.ProxyTicketFollow
ContentHasPrefix applies the HasPrefix predicate on the "content" field.
func ContentHasSuffix ¶
func ContentHasSuffix(v string) predicate.ProxyTicketFollow
ContentHasSuffix applies the HasSuffix predicate on the "content" field.
func ContentIn ¶
func ContentIn(vs ...string) predicate.ProxyTicketFollow
ContentIn applies the In predicate on the "content" field.
func ContentIsNil ¶
func ContentIsNil() predicate.ProxyTicketFollow
ContentIsNil applies the IsNil predicate on the "content" field.
func ContentLT ¶
func ContentLT(v string) predicate.ProxyTicketFollow
ContentLT applies the LT predicate on the "content" field.
func ContentLTE ¶
func ContentLTE(v string) predicate.ProxyTicketFollow
ContentLTE applies the LTE predicate on the "content" field.
func ContentNEQ ¶
func ContentNEQ(v string) predicate.ProxyTicketFollow
ContentNEQ applies the NEQ predicate on the "content" field.
func ContentNotIn ¶
func ContentNotIn(vs ...string) predicate.ProxyTicketFollow
ContentNotIn applies the NotIn predicate on the "content" field.
func ContentNotNil ¶
func ContentNotNil() predicate.ProxyTicketFollow
ContentNotNil applies the NotNil predicate on the "content" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.ProxyTicketFollow
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.ProxyTicketFollow
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.ProxyTicketFollow
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.ProxyTicketFollow
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.ProxyTicketFollow
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.ProxyTicketFollow
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.ProxyTicketFollow
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.ProxyTicketFollow
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.ProxyTicketFollow
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func From ¶
func From(v string) predicate.ProxyTicketFollow
From applies equality check predicate on the "from" field. It's identical to FromEQ.
func FromContains ¶
func FromContains(v string) predicate.ProxyTicketFollow
FromContains applies the Contains predicate on the "from" field.
func FromContainsFold ¶
func FromContainsFold(v string) predicate.ProxyTicketFollow
FromContainsFold applies the ContainsFold predicate on the "from" field.
func FromEQ ¶
func FromEQ(v string) predicate.ProxyTicketFollow
FromEQ applies the EQ predicate on the "from" field.
func FromEqualFold ¶
func FromEqualFold(v string) predicate.ProxyTicketFollow
FromEqualFold applies the EqualFold predicate on the "from" field.
func FromGT ¶
func FromGT(v string) predicate.ProxyTicketFollow
FromGT applies the GT predicate on the "from" field.
func FromGTE ¶
func FromGTE(v string) predicate.ProxyTicketFollow
FromGTE applies the GTE predicate on the "from" field.
func FromHasPrefix ¶
func FromHasPrefix(v string) predicate.ProxyTicketFollow
FromHasPrefix applies the HasPrefix predicate on the "from" field.
func FromHasSuffix ¶
func FromHasSuffix(v string) predicate.ProxyTicketFollow
FromHasSuffix applies the HasSuffix predicate on the "from" field.
func FromIn ¶
func FromIn(vs ...string) predicate.ProxyTicketFollow
FromIn applies the In predicate on the "from" field.
func FromLT ¶
func FromLT(v string) predicate.ProxyTicketFollow
FromLT applies the LT predicate on the "from" field.
func FromLTE ¶
func FromLTE(v string) predicate.ProxyTicketFollow
FromLTE applies the LTE predicate on the "from" field.
func FromNEQ ¶
func FromNEQ(v string) predicate.ProxyTicketFollow
FromNEQ applies the NEQ predicate on the "from" field.
func FromNotIn ¶
func FromNotIn(vs ...string) predicate.ProxyTicketFollow
FromNotIn applies the NotIn predicate on the "from" field.
func ID ¶
func ID(id int64) predicate.ProxyTicketFollow
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id int64) predicate.ProxyTicketFollow
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int64) predicate.ProxyTicketFollow
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int64) predicate.ProxyTicketFollow
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int64) predicate.ProxyTicketFollow
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int64) predicate.ProxyTicketFollow
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int64) predicate.ProxyTicketFollow
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int64) predicate.ProxyTicketFollow
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int64) predicate.ProxyTicketFollow
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.ProxyTicketFollow) predicate.ProxyTicketFollow
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.ProxyTicketFollow) predicate.ProxyTicketFollow
Or groups predicates with the OR operator between them.
func TicketID ¶
func TicketID(v int64) predicate.ProxyTicketFollow
TicketID applies equality check predicate on the "ticket_id" field. It's identical to TicketIDEQ.
func TicketIDEQ ¶
func TicketIDEQ(v int64) predicate.ProxyTicketFollow
TicketIDEQ applies the EQ predicate on the "ticket_id" field.
func TicketIDGT ¶
func TicketIDGT(v int64) predicate.ProxyTicketFollow
TicketIDGT applies the GT predicate on the "ticket_id" field.
func TicketIDGTE ¶
func TicketIDGTE(v int64) predicate.ProxyTicketFollow
TicketIDGTE applies the GTE predicate on the "ticket_id" field.
func TicketIDIn ¶
func TicketIDIn(vs ...int64) predicate.ProxyTicketFollow
TicketIDIn applies the In predicate on the "ticket_id" field.
func TicketIDLT ¶
func TicketIDLT(v int64) predicate.ProxyTicketFollow
TicketIDLT applies the LT predicate on the "ticket_id" field.
func TicketIDLTE ¶
func TicketIDLTE(v int64) predicate.ProxyTicketFollow
TicketIDLTE applies the LTE predicate on the "ticket_id" field.
func TicketIDNEQ ¶
func TicketIDNEQ(v int64) predicate.ProxyTicketFollow
TicketIDNEQ applies the NEQ predicate on the "ticket_id" field.
func TicketIDNotIn ¶
func TicketIDNotIn(vs ...int64) predicate.ProxyTicketFollow
TicketIDNotIn applies the NotIn predicate on the "ticket_id" field.
func Type ¶
func Type(v int8) predicate.ProxyTicketFollow
Type applies equality check predicate on the "type" field. It's identical to TypeEQ.
func TypeEQ ¶
func TypeEQ(v int8) predicate.ProxyTicketFollow
TypeEQ applies the EQ predicate on the "type" field.
func TypeGT ¶
func TypeGT(v int8) predicate.ProxyTicketFollow
TypeGT applies the GT predicate on the "type" field.
func TypeGTE ¶
func TypeGTE(v int8) predicate.ProxyTicketFollow
TypeGTE applies the GTE predicate on the "type" field.
func TypeIn ¶
func TypeIn(vs ...int8) predicate.ProxyTicketFollow
TypeIn applies the In predicate on the "type" field.
func TypeLT ¶
func TypeLT(v int8) predicate.ProxyTicketFollow
TypeLT applies the LT predicate on the "type" field.
func TypeLTE ¶
func TypeLTE(v int8) predicate.ProxyTicketFollow
TypeLTE applies the LTE predicate on the "type" field.
func TypeNEQ ¶
func TypeNEQ(v int8) predicate.ProxyTicketFollow
TypeNEQ applies the NEQ predicate on the "type" field.
func TypeNotIn ¶
func TypeNotIn(vs ...int8) predicate.ProxyTicketFollow
TypeNotIn applies the NotIn predicate on the "type" 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 ProxyTicketFollow queries.
func ByContent ¶
func ByContent(opts ...sql.OrderTermOption) OrderOption
ByContent orders the results by the content field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByFrom ¶
func ByFrom(opts ...sql.OrderTermOption) OrderOption
ByFrom orders the results by the from field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByTicketID ¶
func ByTicketID(opts ...sql.OrderTermOption) OrderOption
ByTicketID orders the results by the ticket_id field.
func ByType ¶
func ByType(opts ...sql.OrderTermOption) OrderOption
ByType orders the results by the type field.