controlobjectivehistory

package
v0.7.3 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the controlobjectivehistory type in the database.
	Label = "control_objective_history"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldHistoryTime holds the string denoting the history_time field in the database.
	FieldHistoryTime = "history_time"
	// FieldRef holds the string denoting the ref field in the database.
	FieldRef = "ref"
	// FieldOperation holds the string denoting the operation field in the database.
	FieldOperation = "operation"
	// 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"
	// FieldCreatedBy holds the string denoting the created_by field in the database.
	FieldCreatedBy = "created_by"
	// FieldUpdatedBy holds the string denoting the updated_by field in the database.
	FieldUpdatedBy = "updated_by"
	// FieldDeletedAt holds the string denoting the deleted_at field in the database.
	FieldDeletedAt = "deleted_at"
	// FieldDeletedBy holds the string denoting the deleted_by field in the database.
	FieldDeletedBy = "deleted_by"
	// FieldDisplayID holds the string denoting the display_id field in the database.
	FieldDisplayID = "display_id"
	// FieldTags holds the string denoting the tags field in the database.
	FieldTags = "tags"
	// FieldOwnerID holds the string denoting the owner_id field in the database.
	FieldOwnerID = "owner_id"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldDesiredOutcome holds the string denoting the desired_outcome field in the database.
	FieldDesiredOutcome = "desired_outcome"
	// FieldStatus holds the string denoting the status field in the database.
	FieldStatus = "status"
	// FieldSource holds the string denoting the source field in the database.
	FieldSource = "source"
	// FieldControlObjectiveType holds the string denoting the control_objective_type field in the database.
	FieldControlObjectiveType = "control_objective_type"
	// FieldVersion holds the string denoting the version field in the database.
	FieldVersion = "version"
	// FieldCategory holds the string denoting the category field in the database.
	FieldCategory = "category"
	// FieldSubcategory holds the string denoting the subcategory field in the database.
	FieldSubcategory = "subcategory"
	// Table holds the table name of the controlobjectivehistory in the database.
	Table = "control_objective_history"
)
View Source
const DefaultSource enums.ControlSource = "USER_DEFINED"

Variables

View Source
var (
	Interceptors [1]ent.Interceptor
	// DefaultHistoryTime holds the default value on creation for the "history_time" field.
	DefaultHistoryTime func() time.Time
	// 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
	// DefaultTags holds the default value on creation for the "tags" field.
	DefaultTags []string
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() string
)

Note that the variables below are initialized by the runtime package on the initialization of the application. Therefore, it should be imported in the main as follows:

import _ "github.com/theopenlane/core/internal/ent/generated/runtime"

Columns holds all SQL columns for controlobjectivehistory fields.

Functions

func And

And groups predicates with the AND operator between them.

func Category added in v0.7.3

Category applies equality check predicate on the "category" field. It's identical to CategoryEQ.

func CategoryContains added in v0.7.3

func CategoryContains(v string) predicate.ControlObjectiveHistory

CategoryContains applies the Contains predicate on the "category" field.

func CategoryContainsFold added in v0.7.3

func CategoryContainsFold(v string) predicate.ControlObjectiveHistory

CategoryContainsFold applies the ContainsFold predicate on the "category" field.

func CategoryEQ added in v0.7.3

CategoryEQ applies the EQ predicate on the "category" field.

func CategoryEqualFold added in v0.7.3

func CategoryEqualFold(v string) predicate.ControlObjectiveHistory

CategoryEqualFold applies the EqualFold predicate on the "category" field.

func CategoryGT added in v0.7.3

CategoryGT applies the GT predicate on the "category" field.

func CategoryGTE added in v0.7.3

CategoryGTE applies the GTE predicate on the "category" field.

func CategoryHasPrefix added in v0.7.3

func CategoryHasPrefix(v string) predicate.ControlObjectiveHistory

CategoryHasPrefix applies the HasPrefix predicate on the "category" field.

func CategoryHasSuffix added in v0.7.3

func CategoryHasSuffix(v string) predicate.ControlObjectiveHistory

CategoryHasSuffix applies the HasSuffix predicate on the "category" field.

func CategoryIn added in v0.7.3

func CategoryIn(vs ...string) predicate.ControlObjectiveHistory

CategoryIn applies the In predicate on the "category" field.

func CategoryIsNil added in v0.7.3

func CategoryIsNil() predicate.ControlObjectiveHistory

CategoryIsNil applies the IsNil predicate on the "category" field.

func CategoryLT added in v0.7.3

CategoryLT applies the LT predicate on the "category" field.

func CategoryLTE added in v0.7.3

CategoryLTE applies the LTE predicate on the "category" field.

func CategoryNEQ added in v0.7.3

CategoryNEQ applies the NEQ predicate on the "category" field.

func CategoryNotIn added in v0.7.3

func CategoryNotIn(vs ...string) predicate.ControlObjectiveHistory

CategoryNotIn applies the NotIn predicate on the "category" field.

func CategoryNotNil added in v0.7.3

func CategoryNotNil() predicate.ControlObjectiveHistory

CategoryNotNil applies the NotNil predicate on the "category" field.

func ControlObjectiveType

func ControlObjectiveType(v string) predicate.ControlObjectiveHistory

ControlObjectiveType applies equality check predicate on the "control_objective_type" field. It's identical to ControlObjectiveTypeEQ.

func ControlObjectiveTypeContains

func ControlObjectiveTypeContains(v string) predicate.ControlObjectiveHistory

ControlObjectiveTypeContains applies the Contains predicate on the "control_objective_type" field.

func ControlObjectiveTypeContainsFold

func ControlObjectiveTypeContainsFold(v string) predicate.ControlObjectiveHistory

ControlObjectiveTypeContainsFold applies the ContainsFold predicate on the "control_objective_type" field.

func ControlObjectiveTypeEQ

func ControlObjectiveTypeEQ(v string) predicate.ControlObjectiveHistory

ControlObjectiveTypeEQ applies the EQ predicate on the "control_objective_type" field.

func ControlObjectiveTypeEqualFold

func ControlObjectiveTypeEqualFold(v string) predicate.ControlObjectiveHistory

ControlObjectiveTypeEqualFold applies the EqualFold predicate on the "control_objective_type" field.

func ControlObjectiveTypeGT

func ControlObjectiveTypeGT(v string) predicate.ControlObjectiveHistory

ControlObjectiveTypeGT applies the GT predicate on the "control_objective_type" field.

func ControlObjectiveTypeGTE

func ControlObjectiveTypeGTE(v string) predicate.ControlObjectiveHistory

ControlObjectiveTypeGTE applies the GTE predicate on the "control_objective_type" field.

func ControlObjectiveTypeHasPrefix

func ControlObjectiveTypeHasPrefix(v string) predicate.ControlObjectiveHistory

ControlObjectiveTypeHasPrefix applies the HasPrefix predicate on the "control_objective_type" field.

func ControlObjectiveTypeHasSuffix

func ControlObjectiveTypeHasSuffix(v string) predicate.ControlObjectiveHistory

ControlObjectiveTypeHasSuffix applies the HasSuffix predicate on the "control_objective_type" field.

func ControlObjectiveTypeIn

func ControlObjectiveTypeIn(vs ...string) predicate.ControlObjectiveHistory

ControlObjectiveTypeIn applies the In predicate on the "control_objective_type" field.

func ControlObjectiveTypeIsNil

func ControlObjectiveTypeIsNil() predicate.ControlObjectiveHistory

ControlObjectiveTypeIsNil applies the IsNil predicate on the "control_objective_type" field.

func ControlObjectiveTypeLT

func ControlObjectiveTypeLT(v string) predicate.ControlObjectiveHistory

ControlObjectiveTypeLT applies the LT predicate on the "control_objective_type" field.

func ControlObjectiveTypeLTE

func ControlObjectiveTypeLTE(v string) predicate.ControlObjectiveHistory

ControlObjectiveTypeLTE applies the LTE predicate on the "control_objective_type" field.

func ControlObjectiveTypeNEQ

func ControlObjectiveTypeNEQ(v string) predicate.ControlObjectiveHistory

ControlObjectiveTypeNEQ applies the NEQ predicate on the "control_objective_type" field.

func ControlObjectiveTypeNotIn

func ControlObjectiveTypeNotIn(vs ...string) predicate.ControlObjectiveHistory

ControlObjectiveTypeNotIn applies the NotIn predicate on the "control_objective_type" field.

func ControlObjectiveTypeNotNil

func ControlObjectiveTypeNotNil() predicate.ControlObjectiveHistory

ControlObjectiveTypeNotNil applies the NotNil predicate on the "control_objective_type" field.

func CreatedAt

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

func CreatedAtEQ

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

func CreatedAtGT

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

func CreatedAtGTE

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

func CreatedAtIn

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

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

func CreatedAtIsNil

func CreatedAtIsNil() predicate.ControlObjectiveHistory

CreatedAtIsNil applies the IsNil predicate on the "created_at" field.

func CreatedAtLT

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

func CreatedAtLTE

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

func CreatedAtNEQ

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

func CreatedAtNotIn

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

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

func CreatedAtNotNil

func CreatedAtNotNil() predicate.ControlObjectiveHistory

CreatedAtNotNil applies the NotNil predicate on the "created_at" field.

func CreatedBy

CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.

func CreatedByContains

func CreatedByContains(v string) predicate.ControlObjectiveHistory

CreatedByContains applies the Contains predicate on the "created_by" field.

func CreatedByContainsFold

func CreatedByContainsFold(v string) predicate.ControlObjectiveHistory

CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.

func CreatedByEQ

CreatedByEQ applies the EQ predicate on the "created_by" field.

func CreatedByEqualFold

func CreatedByEqualFold(v string) predicate.ControlObjectiveHistory

CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.

func CreatedByGT

CreatedByGT applies the GT predicate on the "created_by" field.

func CreatedByGTE

CreatedByGTE applies the GTE predicate on the "created_by" field.

func CreatedByHasPrefix

func CreatedByHasPrefix(v string) predicate.ControlObjectiveHistory

CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.

func CreatedByHasSuffix

func CreatedByHasSuffix(v string) predicate.ControlObjectiveHistory

CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.

func CreatedByIn

func CreatedByIn(vs ...string) predicate.ControlObjectiveHistory

CreatedByIn applies the In predicate on the "created_by" field.

func CreatedByIsNil

func CreatedByIsNil() predicate.ControlObjectiveHistory

CreatedByIsNil applies the IsNil predicate on the "created_by" field.

func CreatedByLT

CreatedByLT applies the LT predicate on the "created_by" field.

func CreatedByLTE

CreatedByLTE applies the LTE predicate on the "created_by" field.

func CreatedByNEQ

CreatedByNEQ applies the NEQ predicate on the "created_by" field.

func CreatedByNotIn

func CreatedByNotIn(vs ...string) predicate.ControlObjectiveHistory

CreatedByNotIn applies the NotIn predicate on the "created_by" field.

func CreatedByNotNil

func CreatedByNotNil() predicate.ControlObjectiveHistory

CreatedByNotNil applies the NotNil predicate on the "created_by" field.

func DeletedAt

DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.

func DeletedAtEQ

DeletedAtEQ applies the EQ predicate on the "deleted_at" field.

func DeletedAtGT

DeletedAtGT applies the GT predicate on the "deleted_at" field.

func DeletedAtGTE

DeletedAtGTE applies the GTE predicate on the "deleted_at" field.

func DeletedAtIn

func DeletedAtIn(vs ...time.Time) predicate.ControlObjectiveHistory

DeletedAtIn applies the In predicate on the "deleted_at" field.

func DeletedAtIsNil

func DeletedAtIsNil() predicate.ControlObjectiveHistory

DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.

func DeletedAtLT

DeletedAtLT applies the LT predicate on the "deleted_at" field.

func DeletedAtLTE

DeletedAtLTE applies the LTE predicate on the "deleted_at" field.

func DeletedAtNEQ

DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.

func DeletedAtNotIn

func DeletedAtNotIn(vs ...time.Time) predicate.ControlObjectiveHistory

DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.

func DeletedAtNotNil

func DeletedAtNotNil() predicate.ControlObjectiveHistory

DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.

func DeletedBy

DeletedBy applies equality check predicate on the "deleted_by" field. It's identical to DeletedByEQ.

func DeletedByContains

func DeletedByContains(v string) predicate.ControlObjectiveHistory

DeletedByContains applies the Contains predicate on the "deleted_by" field.

func DeletedByContainsFold

func DeletedByContainsFold(v string) predicate.ControlObjectiveHistory

DeletedByContainsFold applies the ContainsFold predicate on the "deleted_by" field.

func DeletedByEQ

DeletedByEQ applies the EQ predicate on the "deleted_by" field.

func DeletedByEqualFold

func DeletedByEqualFold(v string) predicate.ControlObjectiveHistory

DeletedByEqualFold applies the EqualFold predicate on the "deleted_by" field.

func DeletedByGT

DeletedByGT applies the GT predicate on the "deleted_by" field.

func DeletedByGTE

DeletedByGTE applies the GTE predicate on the "deleted_by" field.

func DeletedByHasPrefix

func DeletedByHasPrefix(v string) predicate.ControlObjectiveHistory

DeletedByHasPrefix applies the HasPrefix predicate on the "deleted_by" field.

func DeletedByHasSuffix

func DeletedByHasSuffix(v string) predicate.ControlObjectiveHistory

DeletedByHasSuffix applies the HasSuffix predicate on the "deleted_by" field.

func DeletedByIn

func DeletedByIn(vs ...string) predicate.ControlObjectiveHistory

DeletedByIn applies the In predicate on the "deleted_by" field.

func DeletedByIsNil

func DeletedByIsNil() predicate.ControlObjectiveHistory

DeletedByIsNil applies the IsNil predicate on the "deleted_by" field.

func DeletedByLT

DeletedByLT applies the LT predicate on the "deleted_by" field.

func DeletedByLTE

DeletedByLTE applies the LTE predicate on the "deleted_by" field.

func DeletedByNEQ

DeletedByNEQ applies the NEQ predicate on the "deleted_by" field.

func DeletedByNotIn

func DeletedByNotIn(vs ...string) predicate.ControlObjectiveHistory

DeletedByNotIn applies the NotIn predicate on the "deleted_by" field.

func DeletedByNotNil

func DeletedByNotNil() predicate.ControlObjectiveHistory

DeletedByNotNil applies the NotNil predicate on the "deleted_by" field.

func DesiredOutcome added in v0.7.3

func DesiredOutcome(v string) predicate.ControlObjectiveHistory

DesiredOutcome applies equality check predicate on the "desired_outcome" field. It's identical to DesiredOutcomeEQ.

func DesiredOutcomeContains added in v0.7.3

func DesiredOutcomeContains(v string) predicate.ControlObjectiveHistory

DesiredOutcomeContains applies the Contains predicate on the "desired_outcome" field.

func DesiredOutcomeContainsFold added in v0.7.3

func DesiredOutcomeContainsFold(v string) predicate.ControlObjectiveHistory

DesiredOutcomeContainsFold applies the ContainsFold predicate on the "desired_outcome" field.

func DesiredOutcomeEQ added in v0.7.3

func DesiredOutcomeEQ(v string) predicate.ControlObjectiveHistory

DesiredOutcomeEQ applies the EQ predicate on the "desired_outcome" field.

func DesiredOutcomeEqualFold added in v0.7.3

func DesiredOutcomeEqualFold(v string) predicate.ControlObjectiveHistory

DesiredOutcomeEqualFold applies the EqualFold predicate on the "desired_outcome" field.

func DesiredOutcomeGT added in v0.7.3

func DesiredOutcomeGT(v string) predicate.ControlObjectiveHistory

DesiredOutcomeGT applies the GT predicate on the "desired_outcome" field.

func DesiredOutcomeGTE added in v0.7.3

func DesiredOutcomeGTE(v string) predicate.ControlObjectiveHistory

DesiredOutcomeGTE applies the GTE predicate on the "desired_outcome" field.

func DesiredOutcomeHasPrefix added in v0.7.3

func DesiredOutcomeHasPrefix(v string) predicate.ControlObjectiveHistory

DesiredOutcomeHasPrefix applies the HasPrefix predicate on the "desired_outcome" field.

func DesiredOutcomeHasSuffix added in v0.7.3

func DesiredOutcomeHasSuffix(v string) predicate.ControlObjectiveHistory

DesiredOutcomeHasSuffix applies the HasSuffix predicate on the "desired_outcome" field.

func DesiredOutcomeIn added in v0.7.3

func DesiredOutcomeIn(vs ...string) predicate.ControlObjectiveHistory

DesiredOutcomeIn applies the In predicate on the "desired_outcome" field.

func DesiredOutcomeIsNil added in v0.7.3

func DesiredOutcomeIsNil() predicate.ControlObjectiveHistory

DesiredOutcomeIsNil applies the IsNil predicate on the "desired_outcome" field.

func DesiredOutcomeLT added in v0.7.3

func DesiredOutcomeLT(v string) predicate.ControlObjectiveHistory

DesiredOutcomeLT applies the LT predicate on the "desired_outcome" field.

func DesiredOutcomeLTE added in v0.7.3

func DesiredOutcomeLTE(v string) predicate.ControlObjectiveHistory

DesiredOutcomeLTE applies the LTE predicate on the "desired_outcome" field.

func DesiredOutcomeNEQ added in v0.7.3

func DesiredOutcomeNEQ(v string) predicate.ControlObjectiveHistory

DesiredOutcomeNEQ applies the NEQ predicate on the "desired_outcome" field.

func DesiredOutcomeNotIn added in v0.7.3

func DesiredOutcomeNotIn(vs ...string) predicate.ControlObjectiveHistory

DesiredOutcomeNotIn applies the NotIn predicate on the "desired_outcome" field.

func DesiredOutcomeNotNil added in v0.7.3

func DesiredOutcomeNotNil() predicate.ControlObjectiveHistory

DesiredOutcomeNotNil applies the NotNil predicate on the "desired_outcome" field.

func DisplayID added in v0.6.11

DisplayID applies equality check predicate on the "display_id" field. It's identical to DisplayIDEQ.

func DisplayIDContains added in v0.6.11

func DisplayIDContains(v string) predicate.ControlObjectiveHistory

DisplayIDContains applies the Contains predicate on the "display_id" field.

func DisplayIDContainsFold added in v0.6.11

func DisplayIDContainsFold(v string) predicate.ControlObjectiveHistory

DisplayIDContainsFold applies the ContainsFold predicate on the "display_id" field.

func DisplayIDEQ added in v0.6.11

DisplayIDEQ applies the EQ predicate on the "display_id" field.

func DisplayIDEqualFold added in v0.6.11

func DisplayIDEqualFold(v string) predicate.ControlObjectiveHistory

DisplayIDEqualFold applies the EqualFold predicate on the "display_id" field.

func DisplayIDGT added in v0.6.11

DisplayIDGT applies the GT predicate on the "display_id" field.

func DisplayIDGTE added in v0.6.11

DisplayIDGTE applies the GTE predicate on the "display_id" field.

func DisplayIDHasPrefix added in v0.6.11

func DisplayIDHasPrefix(v string) predicate.ControlObjectiveHistory

DisplayIDHasPrefix applies the HasPrefix predicate on the "display_id" field.

func DisplayIDHasSuffix added in v0.6.11

func DisplayIDHasSuffix(v string) predicate.ControlObjectiveHistory

DisplayIDHasSuffix applies the HasSuffix predicate on the "display_id" field.

func DisplayIDIn added in v0.6.11

func DisplayIDIn(vs ...string) predicate.ControlObjectiveHistory

DisplayIDIn applies the In predicate on the "display_id" field.

func DisplayIDLT added in v0.6.11

DisplayIDLT applies the LT predicate on the "display_id" field.

func DisplayIDLTE added in v0.6.11

DisplayIDLTE applies the LTE predicate on the "display_id" field.

func DisplayIDNEQ added in v0.6.11

DisplayIDNEQ applies the NEQ predicate on the "display_id" field.

func DisplayIDNotIn added in v0.6.11

func DisplayIDNotIn(vs ...string) predicate.ControlObjectiveHistory

DisplayIDNotIn applies the NotIn predicate on the "display_id" field.

func HistoryTime

HistoryTime applies equality check predicate on the "history_time" field. It's identical to HistoryTimeEQ.

func HistoryTimeEQ

func HistoryTimeEQ(v time.Time) predicate.ControlObjectiveHistory

HistoryTimeEQ applies the EQ predicate on the "history_time" field.

func HistoryTimeGT

func HistoryTimeGT(v time.Time) predicate.ControlObjectiveHistory

HistoryTimeGT applies the GT predicate on the "history_time" field.

func HistoryTimeGTE

func HistoryTimeGTE(v time.Time) predicate.ControlObjectiveHistory

HistoryTimeGTE applies the GTE predicate on the "history_time" field.

func HistoryTimeIn

func HistoryTimeIn(vs ...time.Time) predicate.ControlObjectiveHistory

HistoryTimeIn applies the In predicate on the "history_time" field.

func HistoryTimeLT

func HistoryTimeLT(v time.Time) predicate.ControlObjectiveHistory

HistoryTimeLT applies the LT predicate on the "history_time" field.

func HistoryTimeLTE

func HistoryTimeLTE(v time.Time) predicate.ControlObjectiveHistory

HistoryTimeLTE applies the LTE predicate on the "history_time" field.

func HistoryTimeNEQ

func HistoryTimeNEQ(v time.Time) predicate.ControlObjectiveHistory

HistoryTimeNEQ applies the NEQ predicate on the "history_time" field.

func HistoryTimeNotIn

func HistoryTimeNotIn(vs ...time.Time) predicate.ControlObjectiveHistory

HistoryTimeNotIn applies the NotIn predicate on the "history_time" field.

func ID

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.ControlObjectiveHistory

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold

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

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

IDNotIn applies the NotIn predicate on the ID field.

func Name

Name applies equality check predicate on the "name" field. It's identical to NameEQ.

func NameContains

NameContains applies the Contains predicate on the "name" field.

func NameContainsFold

func NameContainsFold(v string) predicate.ControlObjectiveHistory

NameContainsFold applies the ContainsFold predicate on the "name" field.

func NameEQ

NameEQ applies the EQ predicate on the "name" field.

func NameEqualFold

func NameEqualFold(v string) predicate.ControlObjectiveHistory

NameEqualFold applies the EqualFold predicate on the "name" field.

func NameGT

NameGT applies the GT predicate on the "name" field.

func NameGTE

NameGTE applies the GTE predicate on the "name" field.

func NameHasPrefix

func NameHasPrefix(v string) predicate.ControlObjectiveHistory

NameHasPrefix applies the HasPrefix predicate on the "name" field.

func NameHasSuffix

func NameHasSuffix(v string) predicate.ControlObjectiveHistory

NameHasSuffix applies the HasSuffix predicate on the "name" field.

func NameIn

NameIn applies the In predicate on the "name" field.

func NameLT

NameLT applies the LT predicate on the "name" field.

func NameLTE

NameLTE applies the LTE predicate on the "name" field.

func NameNEQ

NameNEQ applies the NEQ predicate on the "name" field.

func NameNotIn

func NameNotIn(vs ...string) predicate.ControlObjectiveHistory

NameNotIn applies the NotIn predicate on the "name" field.

func Not

Not applies the not operator on the given predicate.

func OperationEQ

OperationEQ applies the EQ predicate on the "operation" field.

func OperationIn

OperationIn applies the In predicate on the "operation" field.

func OperationNEQ

OperationNEQ applies the NEQ predicate on the "operation" field.

func OperationNotIn

func OperationNotIn(vs ...history.OpType) predicate.ControlObjectiveHistory

OperationNotIn applies the NotIn predicate on the "operation" field.

func OperationValidator

func OperationValidator(o history.OpType) error

OperationValidator is a validator for the "operation" field enum values. It is called by the builders before save.

func Or

Or groups predicates with the OR operator between them.

func OwnerID added in v0.4.4

OwnerID applies equality check predicate on the "owner_id" field. It's identical to OwnerIDEQ.

func OwnerIDContains added in v0.4.4

func OwnerIDContains(v string) predicate.ControlObjectiveHistory

OwnerIDContains applies the Contains predicate on the "owner_id" field.

func OwnerIDContainsFold added in v0.4.4

func OwnerIDContainsFold(v string) predicate.ControlObjectiveHistory

OwnerIDContainsFold applies the ContainsFold predicate on the "owner_id" field.

func OwnerIDEQ added in v0.4.4

OwnerIDEQ applies the EQ predicate on the "owner_id" field.

func OwnerIDEqualFold added in v0.4.4

func OwnerIDEqualFold(v string) predicate.ControlObjectiveHistory

OwnerIDEqualFold applies the EqualFold predicate on the "owner_id" field.

func OwnerIDGT added in v0.4.4

OwnerIDGT applies the GT predicate on the "owner_id" field.

func OwnerIDGTE added in v0.4.4

OwnerIDGTE applies the GTE predicate on the "owner_id" field.

func OwnerIDHasPrefix added in v0.4.4

func OwnerIDHasPrefix(v string) predicate.ControlObjectiveHistory

OwnerIDHasPrefix applies the HasPrefix predicate on the "owner_id" field.

func OwnerIDHasSuffix added in v0.4.4

func OwnerIDHasSuffix(v string) predicate.ControlObjectiveHistory

OwnerIDHasSuffix applies the HasSuffix predicate on the "owner_id" field.

func OwnerIDIn added in v0.4.4

func OwnerIDIn(vs ...string) predicate.ControlObjectiveHistory

OwnerIDIn applies the In predicate on the "owner_id" field.

func OwnerIDIsNil added in v0.7.1

func OwnerIDIsNil() predicate.ControlObjectiveHistory

OwnerIDIsNil applies the IsNil predicate on the "owner_id" field.

func OwnerIDLT added in v0.4.4

OwnerIDLT applies the LT predicate on the "owner_id" field.

func OwnerIDLTE added in v0.4.4

OwnerIDLTE applies the LTE predicate on the "owner_id" field.

func OwnerIDNEQ added in v0.4.4

OwnerIDNEQ applies the NEQ predicate on the "owner_id" field.

func OwnerIDNotIn added in v0.4.4

func OwnerIDNotIn(vs ...string) predicate.ControlObjectiveHistory

OwnerIDNotIn applies the NotIn predicate on the "owner_id" field.

func OwnerIDNotNil added in v0.7.1

func OwnerIDNotNil() predicate.ControlObjectiveHistory

OwnerIDNotNil applies the NotNil predicate on the "owner_id" field.

func Ref

Ref applies equality check predicate on the "ref" field. It's identical to RefEQ.

func RefContains

RefContains applies the Contains predicate on the "ref" field.

func RefContainsFold

func RefContainsFold(v string) predicate.ControlObjectiveHistory

RefContainsFold applies the ContainsFold predicate on the "ref" field.

func RefEQ

RefEQ applies the EQ predicate on the "ref" field.

func RefEqualFold

RefEqualFold applies the EqualFold predicate on the "ref" field.

func RefGT

RefGT applies the GT predicate on the "ref" field.

func RefGTE

RefGTE applies the GTE predicate on the "ref" field.

func RefHasPrefix

RefHasPrefix applies the HasPrefix predicate on the "ref" field.

func RefHasSuffix

RefHasSuffix applies the HasSuffix predicate on the "ref" field.

func RefIn

RefIn applies the In predicate on the "ref" field.

func RefIsNil

RefIsNil applies the IsNil predicate on the "ref" field.

func RefLT

RefLT applies the LT predicate on the "ref" field.

func RefLTE

RefLTE applies the LTE predicate on the "ref" field.

func RefNEQ

RefNEQ applies the NEQ predicate on the "ref" field.

func RefNotIn

RefNotIn applies the NotIn predicate on the "ref" field.

func RefNotNil

RefNotNil applies the NotNil predicate on the "ref" field.

func SourceEQ

SourceEQ applies the EQ predicate on the "source" field.

func SourceIn

SourceIn applies the In predicate on the "source" field.

func SourceIsNil

func SourceIsNil() predicate.ControlObjectiveHistory

SourceIsNil applies the IsNil predicate on the "source" field.

func SourceNEQ

SourceNEQ applies the NEQ predicate on the "source" field.

func SourceNotIn

SourceNotIn applies the NotIn predicate on the "source" field.

func SourceNotNil

func SourceNotNil() predicate.ControlObjectiveHistory

SourceNotNil applies the NotNil predicate on the "source" field.

func SourceValidator added in v0.7.3

func SourceValidator(s enums.ControlSource) error

SourceValidator is a validator for the "source" field enum values. It is called by the builders before save.

func Status

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

func StatusContains

func StatusContains(v string) predicate.ControlObjectiveHistory

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

func StatusContainsFold

func StatusContainsFold(v string) predicate.ControlObjectiveHistory

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.ControlObjectiveHistory

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

func StatusGT

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

func StatusGTE

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

func StatusHasPrefix

func StatusHasPrefix(v string) predicate.ControlObjectiveHistory

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

func StatusHasSuffix

func StatusHasSuffix(v string) predicate.ControlObjectiveHistory

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

func StatusIn

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

func StatusIsNil

func StatusIsNil() predicate.ControlObjectiveHistory

StatusIsNil applies the IsNil predicate on the "status" field.

func StatusLT

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

func StatusLTE

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

func StatusNEQ

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

func StatusNotIn

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

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

func StatusNotNil

func StatusNotNil() predicate.ControlObjectiveHistory

StatusNotNil applies the NotNil predicate on the "status" field.

func Subcategory added in v0.7.3

Subcategory applies equality check predicate on the "subcategory" field. It's identical to SubcategoryEQ.

func SubcategoryContains added in v0.7.3

func SubcategoryContains(v string) predicate.ControlObjectiveHistory

SubcategoryContains applies the Contains predicate on the "subcategory" field.

func SubcategoryContainsFold added in v0.7.3

func SubcategoryContainsFold(v string) predicate.ControlObjectiveHistory

SubcategoryContainsFold applies the ContainsFold predicate on the "subcategory" field.

func SubcategoryEQ added in v0.7.3

func SubcategoryEQ(v string) predicate.ControlObjectiveHistory

SubcategoryEQ applies the EQ predicate on the "subcategory" field.

func SubcategoryEqualFold added in v0.7.3

func SubcategoryEqualFold(v string) predicate.ControlObjectiveHistory

SubcategoryEqualFold applies the EqualFold predicate on the "subcategory" field.

func SubcategoryGT added in v0.7.3

func SubcategoryGT(v string) predicate.ControlObjectiveHistory

SubcategoryGT applies the GT predicate on the "subcategory" field.

func SubcategoryGTE added in v0.7.3

func SubcategoryGTE(v string) predicate.ControlObjectiveHistory

SubcategoryGTE applies the GTE predicate on the "subcategory" field.

func SubcategoryHasPrefix added in v0.7.3

func SubcategoryHasPrefix(v string) predicate.ControlObjectiveHistory

SubcategoryHasPrefix applies the HasPrefix predicate on the "subcategory" field.

func SubcategoryHasSuffix added in v0.7.3

func SubcategoryHasSuffix(v string) predicate.ControlObjectiveHistory

SubcategoryHasSuffix applies the HasSuffix predicate on the "subcategory" field.

func SubcategoryIn added in v0.7.3

func SubcategoryIn(vs ...string) predicate.ControlObjectiveHistory

SubcategoryIn applies the In predicate on the "subcategory" field.

func SubcategoryIsNil added in v0.7.3

func SubcategoryIsNil() predicate.ControlObjectiveHistory

SubcategoryIsNil applies the IsNil predicate on the "subcategory" field.

func SubcategoryLT added in v0.7.3

func SubcategoryLT(v string) predicate.ControlObjectiveHistory

SubcategoryLT applies the LT predicate on the "subcategory" field.

func SubcategoryLTE added in v0.7.3

func SubcategoryLTE(v string) predicate.ControlObjectiveHistory

SubcategoryLTE applies the LTE predicate on the "subcategory" field.

func SubcategoryNEQ added in v0.7.3

func SubcategoryNEQ(v string) predicate.ControlObjectiveHistory

SubcategoryNEQ applies the NEQ predicate on the "subcategory" field.

func SubcategoryNotIn added in v0.7.3

func SubcategoryNotIn(vs ...string) predicate.ControlObjectiveHistory

SubcategoryNotIn applies the NotIn predicate on the "subcategory" field.

func SubcategoryNotNil added in v0.7.3

func SubcategoryNotNil() predicate.ControlObjectiveHistory

SubcategoryNotNil applies the NotNil predicate on the "subcategory" field.

func TagsIsNil

TagsIsNil applies the IsNil predicate on the "tags" field.

func TagsNotNil

TagsNotNil applies the NotNil predicate on the "tags" field.

func UpdatedAt

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

func UpdatedAtEQ

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

func UpdatedAtGT

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

func UpdatedAtGTE

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

func UpdatedAtIn

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

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

func UpdatedAtIsNil

func UpdatedAtIsNil() predicate.ControlObjectiveHistory

UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.

func UpdatedAtLT

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

func UpdatedAtLTE

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

func UpdatedAtNEQ

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

func UpdatedAtNotIn

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

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

func UpdatedAtNotNil

func UpdatedAtNotNil() predicate.ControlObjectiveHistory

UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.

func UpdatedBy

UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.

func UpdatedByContains

func UpdatedByContains(v string) predicate.ControlObjectiveHistory

UpdatedByContains applies the Contains predicate on the "updated_by" field.

func UpdatedByContainsFold

func UpdatedByContainsFold(v string) predicate.ControlObjectiveHistory

UpdatedByContainsFold applies the ContainsFold predicate on the "updated_by" field.

func UpdatedByEQ

UpdatedByEQ applies the EQ predicate on the "updated_by" field.

func UpdatedByEqualFold

func UpdatedByEqualFold(v string) predicate.ControlObjectiveHistory

UpdatedByEqualFold applies the EqualFold predicate on the "updated_by" field.

func UpdatedByGT

UpdatedByGT applies the GT predicate on the "updated_by" field.

func UpdatedByGTE

UpdatedByGTE applies the GTE predicate on the "updated_by" field.

func UpdatedByHasPrefix

func UpdatedByHasPrefix(v string) predicate.ControlObjectiveHistory

UpdatedByHasPrefix applies the HasPrefix predicate on the "updated_by" field.

func UpdatedByHasSuffix

func UpdatedByHasSuffix(v string) predicate.ControlObjectiveHistory

UpdatedByHasSuffix applies the HasSuffix predicate on the "updated_by" field.

func UpdatedByIn

func UpdatedByIn(vs ...string) predicate.ControlObjectiveHistory

UpdatedByIn applies the In predicate on the "updated_by" field.

func UpdatedByIsNil

func UpdatedByIsNil() predicate.ControlObjectiveHistory

UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.

func UpdatedByLT

UpdatedByLT applies the LT predicate on the "updated_by" field.

func UpdatedByLTE

UpdatedByLTE applies the LTE predicate on the "updated_by" field.

func UpdatedByNEQ

UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.

func UpdatedByNotIn

func UpdatedByNotIn(vs ...string) predicate.ControlObjectiveHistory

UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.

func UpdatedByNotNil

func UpdatedByNotNil() predicate.ControlObjectiveHistory

UpdatedByNotNil applies the NotNil predicate on the "updated_by" field.

func ValidColumn

func ValidColumn(column string) bool

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

func Version

Version applies equality check predicate on the "version" field. It's identical to VersionEQ.

func VersionContains

func VersionContains(v string) predicate.ControlObjectiveHistory

VersionContains applies the Contains predicate on the "version" field.

func VersionContainsFold

func VersionContainsFold(v string) predicate.ControlObjectiveHistory

VersionContainsFold applies the ContainsFold predicate on the "version" field.

func VersionEQ

VersionEQ applies the EQ predicate on the "version" field.

func VersionEqualFold

func VersionEqualFold(v string) predicate.ControlObjectiveHistory

VersionEqualFold applies the EqualFold predicate on the "version" field.

func VersionGT

VersionGT applies the GT predicate on the "version" field.

func VersionGTE

VersionGTE applies the GTE predicate on the "version" field.

func VersionHasPrefix

func VersionHasPrefix(v string) predicate.ControlObjectiveHistory

VersionHasPrefix applies the HasPrefix predicate on the "version" field.

func VersionHasSuffix

func VersionHasSuffix(v string) predicate.ControlObjectiveHistory

VersionHasSuffix applies the HasSuffix predicate on the "version" field.

func VersionIn

func VersionIn(vs ...string) predicate.ControlObjectiveHistory

VersionIn applies the In predicate on the "version" field.

func VersionIsNil

func VersionIsNil() predicate.ControlObjectiveHistory

VersionIsNil applies the IsNil predicate on the "version" field.

func VersionLT

VersionLT applies the LT predicate on the "version" field.

func VersionLTE

VersionLTE applies the LTE predicate on the "version" field.

func VersionNEQ

VersionNEQ applies the NEQ predicate on the "version" field.

func VersionNotIn

func VersionNotIn(vs ...string) predicate.ControlObjectiveHistory

VersionNotIn applies the NotIn predicate on the "version" field.

func VersionNotNil

func VersionNotNil() predicate.ControlObjectiveHistory

VersionNotNil applies the NotNil predicate on the "version" field.

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the ControlObjectiveHistory queries.

func ByCategory added in v0.7.3

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

ByCategory orders the results by the category field.

func ByControlObjectiveType

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

ByControlObjectiveType orders the results by the control_objective_type field.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByCreatedBy

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

ByCreatedBy orders the results by the created_by field.

func ByDeletedAt

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

ByDeletedAt orders the results by the deleted_at field.

func ByDeletedBy

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

ByDeletedBy orders the results by the deleted_by field.

func ByDesiredOutcome added in v0.7.3

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

ByDesiredOutcome orders the results by the desired_outcome field.

func ByDisplayID added in v0.6.11

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

ByDisplayID orders the results by the display_id field.

func ByHistoryTime

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

ByHistoryTime orders the results by the history_time field.

func ByID

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

ByID orders the results by the id field.

func ByName

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

ByName orders the results by the name field.

func ByOperation

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

ByOperation orders the results by the operation field.

func ByOwnerID added in v0.4.4

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

ByOwnerID orders the results by the owner_id field.

func ByRef

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

ByRef orders the results by the ref field.

func BySource

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

BySource orders the results by the source field.

func ByStatus

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

ByStatus orders the results by the status field.

func BySubcategory added in v0.7.3

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

BySubcategory orders the results by the subcategory field.

func ByUpdatedAt

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

ByUpdatedAt orders the results by the updated_at field.

func ByUpdatedBy

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

ByUpdatedBy orders the results by the updated_by field.

func ByVersion

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

ByVersion orders the results by the version field.

Jump to

Keyboard shortcuts

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