Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.ProfileIssue) predicate.ProfileIssue
- func Error(v string) predicate.ProfileIssue
- func ErrorContains(v string) predicate.ProfileIssue
- func ErrorContainsFold(v string) predicate.ProfileIssue
- func ErrorEQ(v string) predicate.ProfileIssue
- func ErrorEqualFold(v string) predicate.ProfileIssue
- func ErrorGT(v string) predicate.ProfileIssue
- func ErrorGTE(v string) predicate.ProfileIssue
- func ErrorHasPrefix(v string) predicate.ProfileIssue
- func ErrorHasSuffix(v string) predicate.ProfileIssue
- func ErrorIn(vs ...string) predicate.ProfileIssue
- func ErrorIsNil() predicate.ProfileIssue
- func ErrorLT(v string) predicate.ProfileIssue
- func ErrorLTE(v string) predicate.ProfileIssue
- func ErrorNEQ(v string) predicate.ProfileIssue
- func ErrorNotIn(vs ...string) predicate.ProfileIssue
- func ErrorNotNil() predicate.ProfileIssue
- func HasAgents() predicate.ProfileIssue
- func HasAgentsWith(preds ...predicate.Agent) predicate.ProfileIssue
- func HasProfile() predicate.ProfileIssue
- func HasProfileWith(preds ...predicate.Profile) predicate.ProfileIssue
- func ID(id int) predicate.ProfileIssue
- func IDEQ(id int) predicate.ProfileIssue
- func IDGT(id int) predicate.ProfileIssue
- func IDGTE(id int) predicate.ProfileIssue
- func IDIn(ids ...int) predicate.ProfileIssue
- func IDLT(id int) predicate.ProfileIssue
- func IDLTE(id int) predicate.ProfileIssue
- func IDNEQ(id int) predicate.ProfileIssue
- func IDNotIn(ids ...int) predicate.ProfileIssue
- func Not(p predicate.ProfileIssue) predicate.ProfileIssue
- func Or(predicates ...predicate.ProfileIssue) predicate.ProfileIssue
- func ValidColumn(column string) bool
- func When(v time.Time) predicate.ProfileIssue
- func WhenEQ(v time.Time) predicate.ProfileIssue
- func WhenGT(v time.Time) predicate.ProfileIssue
- func WhenGTE(v time.Time) predicate.ProfileIssue
- func WhenIn(vs ...time.Time) predicate.ProfileIssue
- func WhenIsNil() predicate.ProfileIssue
- func WhenLT(v time.Time) predicate.ProfileIssue
- func WhenLTE(v time.Time) predicate.ProfileIssue
- func WhenNEQ(v time.Time) predicate.ProfileIssue
- func WhenNotIn(vs ...time.Time) predicate.ProfileIssue
- func WhenNotNil() predicate.ProfileIssue
- type OrderOption
- func ByAgentsField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByError(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByProfileField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByWhen(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the profileissue type in the database. Label = "profile_issue" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldError holds the string denoting the error field in the database. FieldError = "error" // FieldWhen holds the string denoting the when field in the database. FieldWhen = "when" // EdgeProfile holds the string denoting the profile edge name in mutations. EdgeProfile = "profile" // EdgeAgents holds the string denoting the agents edge name in mutations. EdgeAgents = "agents" // AgentFieldID holds the string denoting the ID field of the Agent. AgentFieldID = "oid" // Table holds the table name of the profileissue in the database. Table = "profile_issues" // ProfileTable is the table that holds the profile relation/edge. ProfileTable = "profile_issues" // ProfileInverseTable is the table name for the Profile entity. // It exists in this package in order to avoid circular dependency with the "profile" package. ProfileInverseTable = "profiles" // ProfileColumn is the table column denoting the profile relation/edge. ProfileColumn = "profile_issues" // AgentsTable is the table that holds the agents relation/edge. AgentsTable = "profile_issues" // AgentsInverseTable is the table name for the Agent entity. // It exists in this package in order to avoid circular dependency with the "agent" package. AgentsInverseTable = "agents" // AgentsColumn is the table column denoting the agents relation/edge. AgentsColumn = "profile_issue_agents" )
Variables ¶
var ( // DefaultWhen holds the default value on creation for the "when" field. DefaultWhen func() time.Time // UpdateDefaultWhen holds the default value on update for the "when" field. UpdateDefaultWhen func() time.Time )
var Columns = []string{ FieldID, FieldError, FieldWhen, }
Columns holds all SQL columns for profileissue fields.
var ForeignKeys = []string{
"profile_issues",
"profile_issue_agents",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "profile_issues" table and are not defined as standalone fields in the schema.
Functions ¶
func And ¶
func And(predicates ...predicate.ProfileIssue) predicate.ProfileIssue
And groups predicates with the AND operator between them.
func Error ¶
func Error(v string) predicate.ProfileIssue
Error applies equality check predicate on the "error" field. It's identical to ErrorEQ.
func ErrorContains ¶
func ErrorContains(v string) predicate.ProfileIssue
ErrorContains applies the Contains predicate on the "error" field.
func ErrorContainsFold ¶
func ErrorContainsFold(v string) predicate.ProfileIssue
ErrorContainsFold applies the ContainsFold predicate on the "error" field.
func ErrorEQ ¶
func ErrorEQ(v string) predicate.ProfileIssue
ErrorEQ applies the EQ predicate on the "error" field.
func ErrorEqualFold ¶
func ErrorEqualFold(v string) predicate.ProfileIssue
ErrorEqualFold applies the EqualFold predicate on the "error" field.
func ErrorGT ¶
func ErrorGT(v string) predicate.ProfileIssue
ErrorGT applies the GT predicate on the "error" field.
func ErrorGTE ¶
func ErrorGTE(v string) predicate.ProfileIssue
ErrorGTE applies the GTE predicate on the "error" field.
func ErrorHasPrefix ¶
func ErrorHasPrefix(v string) predicate.ProfileIssue
ErrorHasPrefix applies the HasPrefix predicate on the "error" field.
func ErrorHasSuffix ¶
func ErrorHasSuffix(v string) predicate.ProfileIssue
ErrorHasSuffix applies the HasSuffix predicate on the "error" field.
func ErrorIn ¶
func ErrorIn(vs ...string) predicate.ProfileIssue
ErrorIn applies the In predicate on the "error" field.
func ErrorIsNil ¶
func ErrorIsNil() predicate.ProfileIssue
ErrorIsNil applies the IsNil predicate on the "error" field.
func ErrorLT ¶
func ErrorLT(v string) predicate.ProfileIssue
ErrorLT applies the LT predicate on the "error" field.
func ErrorLTE ¶
func ErrorLTE(v string) predicate.ProfileIssue
ErrorLTE applies the LTE predicate on the "error" field.
func ErrorNEQ ¶
func ErrorNEQ(v string) predicate.ProfileIssue
ErrorNEQ applies the NEQ predicate on the "error" field.
func ErrorNotIn ¶
func ErrorNotIn(vs ...string) predicate.ProfileIssue
ErrorNotIn applies the NotIn predicate on the "error" field.
func ErrorNotNil ¶
func ErrorNotNil() predicate.ProfileIssue
ErrorNotNil applies the NotNil predicate on the "error" field.
func HasAgents ¶
func HasAgents() predicate.ProfileIssue
HasAgents applies the HasEdge predicate on the "agents" edge.
func HasAgentsWith ¶
func HasAgentsWith(preds ...predicate.Agent) predicate.ProfileIssue
HasAgentsWith applies the HasEdge predicate on the "agents" edge with a given conditions (other predicates).
func HasProfile ¶
func HasProfile() predicate.ProfileIssue
HasProfile applies the HasEdge predicate on the "profile" edge.
func HasProfileWith ¶
func HasProfileWith(preds ...predicate.Profile) predicate.ProfileIssue
HasProfileWith applies the HasEdge predicate on the "profile" edge with a given conditions (other predicates).
func IDGTE ¶
func IDGTE(id int) predicate.ProfileIssue
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.ProfileIssue
IDIn applies the In predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.ProfileIssue
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.ProfileIssue
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.ProfileIssue
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.ProfileIssue) predicate.ProfileIssue
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.ProfileIssue) predicate.ProfileIssue
Or groups predicates with the OR operator between them.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func When ¶
func When(v time.Time) predicate.ProfileIssue
When applies equality check predicate on the "when" field. It's identical to WhenEQ.
func WhenEQ ¶
func WhenEQ(v time.Time) predicate.ProfileIssue
WhenEQ applies the EQ predicate on the "when" field.
func WhenGT ¶
func WhenGT(v time.Time) predicate.ProfileIssue
WhenGT applies the GT predicate on the "when" field.
func WhenGTE ¶
func WhenGTE(v time.Time) predicate.ProfileIssue
WhenGTE applies the GTE predicate on the "when" field.
func WhenIn ¶
func WhenIn(vs ...time.Time) predicate.ProfileIssue
WhenIn applies the In predicate on the "when" field.
func WhenIsNil ¶
func WhenIsNil() predicate.ProfileIssue
WhenIsNil applies the IsNil predicate on the "when" field.
func WhenLT ¶
func WhenLT(v time.Time) predicate.ProfileIssue
WhenLT applies the LT predicate on the "when" field.
func WhenLTE ¶
func WhenLTE(v time.Time) predicate.ProfileIssue
WhenLTE applies the LTE predicate on the "when" field.
func WhenNEQ ¶
func WhenNEQ(v time.Time) predicate.ProfileIssue
WhenNEQ applies the NEQ predicate on the "when" field.
func WhenNotIn ¶
func WhenNotIn(vs ...time.Time) predicate.ProfileIssue
WhenNotIn applies the NotIn predicate on the "when" field.
func WhenNotNil ¶
func WhenNotNil() predicate.ProfileIssue
WhenNotNil applies the NotNil predicate on the "when" field.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the ProfileIssue queries.
func ByAgentsField ¶
func ByAgentsField(field string, opts ...sql.OrderTermOption) OrderOption
ByAgentsField orders the results by agents field.
func ByError ¶
func ByError(opts ...sql.OrderTermOption) OrderOption
ByError orders the results by the error field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByProfileField ¶
func ByProfileField(field string, opts ...sql.OrderTermOption) OrderOption
ByProfileField orders the results by profile field.
func ByWhen ¶
func ByWhen(opts ...sql.OrderTermOption) OrderOption
ByWhen orders the results by the when field.