profileissue

package
v0.0.0-...-65a4bde Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 27, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
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"
	// EdgeTasksreports holds the string denoting the tasksreports edge name in mutations.
	EdgeTasksreports = "tasksreports"
	// 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"
	// TasksreportsTable is the table that holds the tasksreports relation/edge.
	TasksreportsTable = "task_reports"
	// TasksreportsInverseTable is the table name for the TaskReport entity.
	// It exists in this package in order to avoid circular dependency with the "taskreport" package.
	TasksreportsInverseTable = "task_reports"
	// TasksreportsColumn is the table column denoting the tasksreports relation/edge.
	TasksreportsColumn = "profile_issue_tasksreports"
)

Variables

View Source
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
)

Columns holds all SQL columns for profileissue fields.

View Source
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 HasTasksreports

func HasTasksreports() predicate.ProfileIssue

HasTasksreports applies the HasEdge predicate on the "tasksreports" edge.

func HasTasksreportsWith

func HasTasksreportsWith(preds ...predicate.TaskReport) predicate.ProfileIssue

HasTasksreportsWith applies the HasEdge predicate on the "tasksreports" edge with a given conditions (other predicates).

func ID

func ID(id int) predicate.ProfileIssue

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.ProfileIssue

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.ProfileIssue

IDGT applies the GT predicate on the ID field.

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 IDLT

func IDLT(id int) predicate.ProfileIssue

IDLT applies the LT 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

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

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

func When

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

type OrderOption func(*sql.Selector)

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 ByTasksreports

func ByTasksreports(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByTasksreports orders the results by tasksreports terms.

func ByTasksreportsCount

func ByTasksreportsCount(opts ...sql.OrderTermOption) OrderOption

ByTasksreportsCount orders the results by tasksreports count.

func ByWhen

func ByWhen(opts ...sql.OrderTermOption) OrderOption

ByWhen orders the results by the when field.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL