profileassignment

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the profileassignment type in the database.
	Label = "profile_assignment"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldProfileID holds the string denoting the profile_id field in the database.
	FieldProfileID = "profile_id"
	// FieldSecondary holds the string denoting the secondary field in the database.
	FieldSecondary = "secondary"
	// FieldRationale holds the string denoting the rationale field in the database.
	FieldRationale = "rationale"
	// FieldProposedBy holds the string denoting the proposed_by field in the database.
	FieldProposedBy = "proposed_by"
	// FieldStatus holds the string denoting the status field in the database.
	FieldStatus = "status"
	// FieldConfirmedBy holds the string denoting the confirmed_by field in the database.
	FieldConfirmedBy = "confirmed_by"
	// FieldConfirmedAt holds the string denoting the confirmed_at field in the database.
	FieldConfirmedAt = "confirmed_at"
	// FieldEvidenceIds holds the string denoting the evidence_ids field in the database.
	FieldEvidenceIds = "evidence_ids"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// FieldUpdatedAt holds the string denoting the updated_at field in the database.
	FieldUpdatedAt = "updated_at"
	// Table holds the table name of the profileassignment in the database.
	Table = "profile_assignments"
)

Variables

View Source
var (
	// ProfileIDValidator is a validator for the "profile_id" field. It is called by the builders before save.
	ProfileIDValidator func(string) error
	// RationaleValidator is a validator for the "rationale" field. It is called by the builders before save.
	RationaleValidator func(string) error
	// ProposedByValidator is a validator for the "proposed_by" field. It is called by the builders before save.
	ProposedByValidator func(string) error
	// StatusValidator is a validator for the "status" field. It is called by the builders before save.
	StatusValidator func(string) error
	// ConfirmedByValidator is a validator for the "confirmed_by" field. It is called by the builders before save.
	ConfirmedByValidator func(string) error
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
	// DefaultUpdatedAt holds the default value on creation for the "updated_at" field.
	DefaultUpdatedAt func() time.Time
	// UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field.
	UpdateDefaultUpdatedAt func() time.Time
	// IDValidator is a validator for the "id" field. It is called by the builders before save.
	IDValidator func(string) error
)

Columns holds all SQL columns for profileassignment fields.

Functions

func And

And groups predicates with the AND operator between them.

func ConfirmedAt

func ConfirmedAt(v time.Time) predicate.ProfileAssignment

ConfirmedAt applies equality check predicate on the "confirmed_at" field. It's identical to ConfirmedAtEQ.

func ConfirmedAtEQ

func ConfirmedAtEQ(v time.Time) predicate.ProfileAssignment

ConfirmedAtEQ applies the EQ predicate on the "confirmed_at" field.

func ConfirmedAtGT

func ConfirmedAtGT(v time.Time) predicate.ProfileAssignment

ConfirmedAtGT applies the GT predicate on the "confirmed_at" field.

func ConfirmedAtGTE

func ConfirmedAtGTE(v time.Time) predicate.ProfileAssignment

ConfirmedAtGTE applies the GTE predicate on the "confirmed_at" field.

func ConfirmedAtIn

func ConfirmedAtIn(vs ...time.Time) predicate.ProfileAssignment

ConfirmedAtIn applies the In predicate on the "confirmed_at" field.

func ConfirmedAtIsNil

func ConfirmedAtIsNil() predicate.ProfileAssignment

ConfirmedAtIsNil applies the IsNil predicate on the "confirmed_at" field.

func ConfirmedAtLT

func ConfirmedAtLT(v time.Time) predicate.ProfileAssignment

ConfirmedAtLT applies the LT predicate on the "confirmed_at" field.

func ConfirmedAtLTE

func ConfirmedAtLTE(v time.Time) predicate.ProfileAssignment

ConfirmedAtLTE applies the LTE predicate on the "confirmed_at" field.

func ConfirmedAtNEQ

func ConfirmedAtNEQ(v time.Time) predicate.ProfileAssignment

ConfirmedAtNEQ applies the NEQ predicate on the "confirmed_at" field.

func ConfirmedAtNotIn

func ConfirmedAtNotIn(vs ...time.Time) predicate.ProfileAssignment

ConfirmedAtNotIn applies the NotIn predicate on the "confirmed_at" field.

func ConfirmedAtNotNil

func ConfirmedAtNotNil() predicate.ProfileAssignment

ConfirmedAtNotNil applies the NotNil predicate on the "confirmed_at" field.

func ConfirmedBy

func ConfirmedBy(v string) predicate.ProfileAssignment

ConfirmedBy applies equality check predicate on the "confirmed_by" field. It's identical to ConfirmedByEQ.

func ConfirmedByContains

func ConfirmedByContains(v string) predicate.ProfileAssignment

ConfirmedByContains applies the Contains predicate on the "confirmed_by" field.

func ConfirmedByContainsFold

func ConfirmedByContainsFold(v string) predicate.ProfileAssignment

ConfirmedByContainsFold applies the ContainsFold predicate on the "confirmed_by" field.

func ConfirmedByEQ

func ConfirmedByEQ(v string) predicate.ProfileAssignment

ConfirmedByEQ applies the EQ predicate on the "confirmed_by" field.

func ConfirmedByEqualFold

func ConfirmedByEqualFold(v string) predicate.ProfileAssignment

ConfirmedByEqualFold applies the EqualFold predicate on the "confirmed_by" field.

func ConfirmedByGT

func ConfirmedByGT(v string) predicate.ProfileAssignment

ConfirmedByGT applies the GT predicate on the "confirmed_by" field.

func ConfirmedByGTE

func ConfirmedByGTE(v string) predicate.ProfileAssignment

ConfirmedByGTE applies the GTE predicate on the "confirmed_by" field.

func ConfirmedByHasPrefix

func ConfirmedByHasPrefix(v string) predicate.ProfileAssignment

ConfirmedByHasPrefix applies the HasPrefix predicate on the "confirmed_by" field.

func ConfirmedByHasSuffix

func ConfirmedByHasSuffix(v string) predicate.ProfileAssignment

ConfirmedByHasSuffix applies the HasSuffix predicate on the "confirmed_by" field.

func ConfirmedByIn

func ConfirmedByIn(vs ...string) predicate.ProfileAssignment

ConfirmedByIn applies the In predicate on the "confirmed_by" field.

func ConfirmedByIsNil

func ConfirmedByIsNil() predicate.ProfileAssignment

ConfirmedByIsNil applies the IsNil predicate on the "confirmed_by" field.

func ConfirmedByLT

func ConfirmedByLT(v string) predicate.ProfileAssignment

ConfirmedByLT applies the LT predicate on the "confirmed_by" field.

func ConfirmedByLTE

func ConfirmedByLTE(v string) predicate.ProfileAssignment

ConfirmedByLTE applies the LTE predicate on the "confirmed_by" field.

func ConfirmedByNEQ

func ConfirmedByNEQ(v string) predicate.ProfileAssignment

ConfirmedByNEQ applies the NEQ predicate on the "confirmed_by" field.

func ConfirmedByNotIn

func ConfirmedByNotIn(vs ...string) predicate.ProfileAssignment

ConfirmedByNotIn applies the NotIn predicate on the "confirmed_by" field.

func ConfirmedByNotNil

func ConfirmedByNotNil() predicate.ProfileAssignment

ConfirmedByNotNil applies the NotNil predicate on the "confirmed_by" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.ProfileAssignment

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.ProfileAssignment

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.ProfileAssignment

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.ProfileAssignment

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.ProfileAssignment

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.ProfileAssignment

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.ProfileAssignment

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.ProfileAssignment

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.ProfileAssignment

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func EvidenceIdsIsNil

func EvidenceIdsIsNil() predicate.ProfileAssignment

EvidenceIdsIsNil applies the IsNil predicate on the "evidence_ids" field.

func EvidenceIdsNotNil

func EvidenceIdsNotNil() predicate.ProfileAssignment

EvidenceIdsNotNil applies the NotNil predicate on the "evidence_ids" field.

func ID

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.ProfileAssignment

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold

func IDEqualFold(id string) predicate.ProfileAssignment

IDEqualFold applies the EqualFold predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...string) predicate.ProfileAssignment

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...string) predicate.ProfileAssignment

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func ProfileID

func ProfileID(v string) predicate.ProfileAssignment

ProfileID applies equality check predicate on the "profile_id" field. It's identical to ProfileIDEQ.

func ProfileIDContains

func ProfileIDContains(v string) predicate.ProfileAssignment

ProfileIDContains applies the Contains predicate on the "profile_id" field.

func ProfileIDContainsFold

func ProfileIDContainsFold(v string) predicate.ProfileAssignment

ProfileIDContainsFold applies the ContainsFold predicate on the "profile_id" field.

func ProfileIDEQ

func ProfileIDEQ(v string) predicate.ProfileAssignment

ProfileIDEQ applies the EQ predicate on the "profile_id" field.

func ProfileIDEqualFold

func ProfileIDEqualFold(v string) predicate.ProfileAssignment

ProfileIDEqualFold applies the EqualFold predicate on the "profile_id" field.

func ProfileIDGT

func ProfileIDGT(v string) predicate.ProfileAssignment

ProfileIDGT applies the GT predicate on the "profile_id" field.

func ProfileIDGTE

func ProfileIDGTE(v string) predicate.ProfileAssignment

ProfileIDGTE applies the GTE predicate on the "profile_id" field.

func ProfileIDHasPrefix

func ProfileIDHasPrefix(v string) predicate.ProfileAssignment

ProfileIDHasPrefix applies the HasPrefix predicate on the "profile_id" field.

func ProfileIDHasSuffix

func ProfileIDHasSuffix(v string) predicate.ProfileAssignment

ProfileIDHasSuffix applies the HasSuffix predicate on the "profile_id" field.

func ProfileIDIn

func ProfileIDIn(vs ...string) predicate.ProfileAssignment

ProfileIDIn applies the In predicate on the "profile_id" field.

func ProfileIDLT

func ProfileIDLT(v string) predicate.ProfileAssignment

ProfileIDLT applies the LT predicate on the "profile_id" field.

func ProfileIDLTE

func ProfileIDLTE(v string) predicate.ProfileAssignment

ProfileIDLTE applies the LTE predicate on the "profile_id" field.

func ProfileIDNEQ

func ProfileIDNEQ(v string) predicate.ProfileAssignment

ProfileIDNEQ applies the NEQ predicate on the "profile_id" field.

func ProfileIDNotIn

func ProfileIDNotIn(vs ...string) predicate.ProfileAssignment

ProfileIDNotIn applies the NotIn predicate on the "profile_id" field.

func ProposedBy

func ProposedBy(v string) predicate.ProfileAssignment

ProposedBy applies equality check predicate on the "proposed_by" field. It's identical to ProposedByEQ.

func ProposedByContains

func ProposedByContains(v string) predicate.ProfileAssignment

ProposedByContains applies the Contains predicate on the "proposed_by" field.

func ProposedByContainsFold

func ProposedByContainsFold(v string) predicate.ProfileAssignment

ProposedByContainsFold applies the ContainsFold predicate on the "proposed_by" field.

func ProposedByEQ

func ProposedByEQ(v string) predicate.ProfileAssignment

ProposedByEQ applies the EQ predicate on the "proposed_by" field.

func ProposedByEqualFold

func ProposedByEqualFold(v string) predicate.ProfileAssignment

ProposedByEqualFold applies the EqualFold predicate on the "proposed_by" field.

func ProposedByGT

func ProposedByGT(v string) predicate.ProfileAssignment

ProposedByGT applies the GT predicate on the "proposed_by" field.

func ProposedByGTE

func ProposedByGTE(v string) predicate.ProfileAssignment

ProposedByGTE applies the GTE predicate on the "proposed_by" field.

func ProposedByHasPrefix

func ProposedByHasPrefix(v string) predicate.ProfileAssignment

ProposedByHasPrefix applies the HasPrefix predicate on the "proposed_by" field.

func ProposedByHasSuffix

func ProposedByHasSuffix(v string) predicate.ProfileAssignment

ProposedByHasSuffix applies the HasSuffix predicate on the "proposed_by" field.

func ProposedByIn

func ProposedByIn(vs ...string) predicate.ProfileAssignment

ProposedByIn applies the In predicate on the "proposed_by" field.

func ProposedByLT

func ProposedByLT(v string) predicate.ProfileAssignment

ProposedByLT applies the LT predicate on the "proposed_by" field.

func ProposedByLTE

func ProposedByLTE(v string) predicate.ProfileAssignment

ProposedByLTE applies the LTE predicate on the "proposed_by" field.

func ProposedByNEQ

func ProposedByNEQ(v string) predicate.ProfileAssignment

ProposedByNEQ applies the NEQ predicate on the "proposed_by" field.

func ProposedByNotIn

func ProposedByNotIn(vs ...string) predicate.ProfileAssignment

ProposedByNotIn applies the NotIn predicate on the "proposed_by" field.

func Rationale

func Rationale(v string) predicate.ProfileAssignment

Rationale applies equality check predicate on the "rationale" field. It's identical to RationaleEQ.

func RationaleContains

func RationaleContains(v string) predicate.ProfileAssignment

RationaleContains applies the Contains predicate on the "rationale" field.

func RationaleContainsFold

func RationaleContainsFold(v string) predicate.ProfileAssignment

RationaleContainsFold applies the ContainsFold predicate on the "rationale" field.

func RationaleEQ

func RationaleEQ(v string) predicate.ProfileAssignment

RationaleEQ applies the EQ predicate on the "rationale" field.

func RationaleEqualFold

func RationaleEqualFold(v string) predicate.ProfileAssignment

RationaleEqualFold applies the EqualFold predicate on the "rationale" field.

func RationaleGT

func RationaleGT(v string) predicate.ProfileAssignment

RationaleGT applies the GT predicate on the "rationale" field.

func RationaleGTE

func RationaleGTE(v string) predicate.ProfileAssignment

RationaleGTE applies the GTE predicate on the "rationale" field.

func RationaleHasPrefix

func RationaleHasPrefix(v string) predicate.ProfileAssignment

RationaleHasPrefix applies the HasPrefix predicate on the "rationale" field.

func RationaleHasSuffix

func RationaleHasSuffix(v string) predicate.ProfileAssignment

RationaleHasSuffix applies the HasSuffix predicate on the "rationale" field.

func RationaleIn

func RationaleIn(vs ...string) predicate.ProfileAssignment

RationaleIn applies the In predicate on the "rationale" field.

func RationaleLT

func RationaleLT(v string) predicate.ProfileAssignment

RationaleLT applies the LT predicate on the "rationale" field.

func RationaleLTE

func RationaleLTE(v string) predicate.ProfileAssignment

RationaleLTE applies the LTE predicate on the "rationale" field.

func RationaleNEQ

func RationaleNEQ(v string) predicate.ProfileAssignment

RationaleNEQ applies the NEQ predicate on the "rationale" field.

func RationaleNotIn

func RationaleNotIn(vs ...string) predicate.ProfileAssignment

RationaleNotIn applies the NotIn predicate on the "rationale" field.

func SecondaryIsNil

func SecondaryIsNil() predicate.ProfileAssignment

SecondaryIsNil applies the IsNil predicate on the "secondary" field.

func SecondaryNotNil

func SecondaryNotNil() predicate.ProfileAssignment

SecondaryNotNil applies the NotNil predicate on the "secondary" field.

func Status

Status applies equality check predicate on the "status" field. It's identical to StatusEQ.

func StatusContains

func StatusContains(v string) predicate.ProfileAssignment

StatusContains applies the Contains predicate on the "status" field.

func StatusContainsFold

func StatusContainsFold(v string) predicate.ProfileAssignment

StatusContainsFold applies the ContainsFold predicate on the "status" field.

func StatusEQ

StatusEQ applies the EQ predicate on the "status" field.

func StatusEqualFold

func StatusEqualFold(v string) predicate.ProfileAssignment

StatusEqualFold applies the EqualFold predicate on the "status" field.

func StatusGT

StatusGT applies the GT predicate on the "status" field.

func StatusGTE

func StatusGTE(v string) predicate.ProfileAssignment

StatusGTE applies the GTE predicate on the "status" field.

func StatusHasPrefix

func StatusHasPrefix(v string) predicate.ProfileAssignment

StatusHasPrefix applies the HasPrefix predicate on the "status" field.

func StatusHasSuffix

func StatusHasSuffix(v string) predicate.ProfileAssignment

StatusHasSuffix applies the HasSuffix predicate on the "status" field.

func StatusIn

func StatusIn(vs ...string) predicate.ProfileAssignment

StatusIn applies the In predicate on the "status" field.

func StatusLT

StatusLT applies the LT predicate on the "status" field.

func StatusLTE

func StatusLTE(v string) predicate.ProfileAssignment

StatusLTE applies the LTE predicate on the "status" field.

func StatusNEQ

func StatusNEQ(v string) predicate.ProfileAssignment

StatusNEQ applies the NEQ predicate on the "status" field.

func StatusNotIn

func StatusNotIn(vs ...string) predicate.ProfileAssignment

StatusNotIn applies the NotIn predicate on the "status" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.ProfileAssignment

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.ProfileAssignment

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.ProfileAssignment

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.ProfileAssignment

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.ProfileAssignment

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.ProfileAssignment

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.ProfileAssignment

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.ProfileAssignment

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.ProfileAssignment

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func ValidColumn

func ValidColumn(column string) bool

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

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the ProfileAssignment queries.

func ByConfirmedAt

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

ByConfirmedAt orders the results by the confirmed_at field.

func ByConfirmedBy

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

ByConfirmedBy orders the results by the confirmed_by field.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByID

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

ByID orders the results by the id field.

func ByProfileID

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

ByProfileID orders the results by the profile_id field.

func ByProposedBy

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

ByProposedBy orders the results by the proposed_by field.

func ByRationale

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

ByRationale orders the results by the rationale field.

func ByStatus

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

ByStatus orders the results by the status field.

func ByUpdatedAt

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

ByUpdatedAt orders the results by the updated_at field.

Jump to

Keyboard shortcuts

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